changeset 959:0846c9c4abdd

Add more Javadocs gnv/trunk@1103 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 18 May 2010 10:00:27 +0000
parents d5d4dbda17cc
children c3d628c2c4c3
files gnv/ChangeLog gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultLayer.java gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java
diffstat 3 files changed, 42 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gnv/ChangeLog	Tue May 18 09:51:41 2010 +0000
+++ b/gnv/ChangeLog	Tue May 18 10:00:27 2010 +0000
@@ -1,3 +1,9 @@
+2010-05-18  Tim Englich  <tim.englich@intevation.de>
+
+	* src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java: 
+	* src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultLayer.java: 
+	  Added more Javadocs.
+
 2010-05-18  Tim Englich  <tim.englich@intevation.de>
 
 	* src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultOutputParameter.java, 
@@ -8,7 +14,7 @@
 	  src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultArtifactStatisticsSet.java, 
 	  src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactFactory.java, 
 	  src/main/java/de/intevation/gnv/artifactdatabase/objects/Artifact.java: 
-	 Added more Javadoc.
+	  Added more Javadocs.
 	
 2010-05-18  Tim Englich  <tim.englich@intevation.de>
 
--- a/gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultLayer.java	Tue May 18 09:51:41 2010 +0000
+++ b/gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultLayer.java	Tue May 18 10:00:27 2010 +0000
@@ -8,16 +8,34 @@
 public class DefaultLayer implements Layer {
 
 
+    /**
+     * The id of this layer.
+     */
     private String id = null;
 
+    /**
+     * The name of this layer.
+     */
     private String name = null;
 
+    /**
+     * Flag which defines if this layer is an grouplayer.
+     */
     private boolean groupLayer = false;
 
+    /**
+     * The id of the parent layer or null if this layer is an rootlayer.
+     */
     private String parentId = null;
 
     /**
      * Constructor
+     * 
+     * @param id the id of this layer
+     * @param name the name of this layer
+     * @param groupLayer flag which defines if this layer is an grouplayer
+     * @param parentId the id of the parent layer or null if this layer is an 
+     *                 rootlayer
      */
     public DefaultLayer(String id,String name,
                         boolean groupLayer,String parentId) {
--- a/gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java	Tue May 18 09:51:41 2010 +0000
+++ b/gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java	Tue May 18 10:00:27 2010 +0000
@@ -9,16 +9,33 @@
  */
 public class DefaultMapService implements MapService {
 
+    /**
+     * The id of this mapservice.
+     */
     private String id = null;
 
+    /**
+     * The layer which are provided by this mapservice.
+     */
     private Collection<Layer> layer = null;
 
+    /**
+     * The type of this mapservice.
+     */
     private String type = null;
 
+    /**
+     * The URl of this mapservice.
+     */
     private String url = null;
 
     /**
      * Constructor
+     * 
+     * @param id  the id of this mapservice
+     * @param layer the layer which are provided by this mapservice
+     * @param type the type of this mapservice
+     * @param url the URl of this mapservice
      */
     public DefaultMapService(String id, Collection<Layer> layer,
                              String type, String url) {

http://dive4elements.wald.intevation.org