comparison gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/services/requestobjects/DefaultLayer.java @ 826:32d01e1ce2df

Added more JavaDocs gnv-artifacts/trunk@920 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 13 Apr 2010 12:32:24 +0000
parents 22c18083225e
children 05bf8534a35a
comparison
equal deleted inserted replaced
825:b43e7205e83c 826:32d01e1ce2df
1 package de.intevation.gnv.artifacts.services.requestobjects; 1 package de.intevation.gnv.artifacts.services.requestobjects;
2 2
3 /** 3 /**
4 * The default implementation of <code>Layer</code>. 4 * The default Implementation of <code>Layer</code>.
5 * 5 *
6 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> 6 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a>
7 * 7 *
8 */ 8 */
9 public class DefaultLayer implements Layer { 9 public class DefaultLayer implements Layer {
10 10
11 11 /**
12 * The id of the Layer
13 */
12 private String id = null; 14 private String id = null;
13 15
16 /**
17 * The name of the Layer
18 */
14 private String name = null; 19 private String name = null;
15 20
21 /**
22 * Flag which defines if the Layer is a GroupLayer
23 */
16 private boolean groupLayer = false; 24 private boolean groupLayer = false;
17 25
26 /**
27 * The ID of the Parentlayer or null if the Layer is a Rootlayer
28 */
18 private String parentId = null; 29 private String parentId = null;
19 30
20 /** 31 /**
21 * Constructor 32 * Constructor
22 * @param id The id of this layer. 33 * @param id The id of this layer.
30 this.name = name; 41 this.name = name;
31 this.groupLayer = groupLayer; 42 this.groupLayer = groupLayer;
32 this.parentId = parentId; 43 this.parentId = parentId;
33 } 44 }
34 45
35
36 /**
37 * @return the id.
38 */
39 public String getID() { 46 public String getID() {
40 return this.id; 47 return this.id;
41 } 48 }
42 49
43 /**
44 * @return the name.
45 */
46 public String getName() { 50 public String getName() {
47 return this.name; 51 return this.name;
48 } 52 }
49 53
50 /**
51 * @return true, if this is a group layer.
52 */
53 public boolean isGroupLayer() { 54 public boolean isGroupLayer() {
54 return this.groupLayer; 55 return this.groupLayer;
55 } 56 }
56 57
57 /**
58 * @return the parent id.
59 */
60 public String parentID() { 58 public String parentID() {
61 return this.parentId; 59 return this.parentId;
62 } 60 }
63 61
64 /** 62 /**

http://dive4elements.wald.intevation.org