Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/services/requestobjects/DefaultLayer.java @ 597:cf38b983d1f3
Added the Implementation of the MetaDataService which will deliver FIS and Parameters that match to Mapservices, Region and Layers that were sent to the Service.
gnv-artifacts/trunk@653 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Mon, 01 Feb 2010 14:52:05 +0000 |
parents | |
children | 9a828e5a2390 |
comparison
equal
deleted
inserted
replaced
596:75ef37387e84 | 597:cf38b983d1f3 |
---|---|
1 /** | |
2 * | |
3 */ | |
4 package de.intevation.gnv.artifacts.services.requestobjects; | |
5 /** | |
6 * @author Tim Englich <tim.englich@intevation.de> | |
7 * | |
8 */ | |
9 public class DefaultLayer implements Layer { | |
10 | |
11 | |
12 private String id = null; | |
13 | |
14 private String name = null; | |
15 | |
16 private boolean groupLayer = false; | |
17 | |
18 private String parentId = null; | |
19 /** | |
20 * Constructor | |
21 */ | |
22 public DefaultLayer(String id,String name, | |
23 boolean groupLayer,String parentId) { | |
24 this.id = id; | |
25 this.name = name; | |
26 this.groupLayer = groupLayer; | |
27 this.parentId = parentId; | |
28 } | |
29 | |
30 | |
31 | |
32 /** | |
33 * @see de.intevation.gnv.artifactdatabase.objects.map.Layer#getID() | |
34 */ | |
35 public String getID() { | |
36 return this.id; | |
37 } | |
38 | |
39 /** | |
40 * @see de.intevation.gnv.artifactdatabase.objects.map.Layer#getName() | |
41 */ | |
42 public String getName() { | |
43 return this.name; | |
44 } | |
45 | |
46 /** | |
47 * @see de.intevation.gnv.artifactdatabase.objects.map.Layer#isGroupLayer() | |
48 */ | |
49 public boolean isGroupLayer() { | |
50 return this.groupLayer; | |
51 } | |
52 | |
53 /** | |
54 * @see de.intevation.gnv.artifactdatabase.objects.map.Layer#parentID() | |
55 */ | |
56 public String parentID() { | |
57 return this.parentId; | |
58 } | |
59 | |
60 @Override | |
61 public String toString() { | |
62 return "ID: "+ this.id + " Name: "+this.name+ | |
63 " IsGroupLayer: "+this.groupLayer+ | |
64 " ParentID: "+this.parentId; | |
65 } | |
66 | |
67 } |