comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/DataCageNode.java @ 813:57ea5af8a967

Meta data service converter: transfer attributes to client, too. flys-client/trunk@2469 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 08 Aug 2011 15:54:59 +0000
parents f33af25b7490
children 63b258bf365c
comparison
equal deleted inserted replaced
812:70b728a9f4e8 813:57ea5af8a967
7 7
8 public class DataCageNode implements Serializable 8 public class DataCageNode implements Serializable
9 { 9 {
10 protected String name; 10 protected String name;
11 protected List<DataCageNode> children; 11 protected List<DataCageNode> children;
12 protected AttrList attrs;
12 13
13 public DataCageNode() { 14 public DataCageNode() {
14 } 15 }
15 16
16 public DataCageNode(String name) { 17 public DataCageNode(String name) {
17 this.name = name; 18 this(name, null);
19 }
20
21 public DataCageNode(String name, AttrList attrs) {
22 this.name = name;
23 this.attrs = attrs;
18 } 24 }
19 25
20 public String getName() { 26 public String getName() {
21 return name; 27 return name;
22 } 28 }
33 } 39 }
34 40
35 public List<DataCageNode> getChildren() { 41 public List<DataCageNode> getChildren() {
36 return children; 42 return children;
37 } 43 }
44
45 public AttrList getAttributes() {
46 return attrs;
47 }
38 } 48 }
39 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 49 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org