Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/DataCageNode.java @ 892:63b258bf365c
Bugfix: Use name instead of description for loading new facets via Datacage.
flys-client/trunk@2735 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 14 Sep 2011 10:00:55 +0000 |
parents | 57ea5af8a967 |
children |
comparison
equal
deleted
inserted
replaced
891:f6c14ffdfd07 | 892:63b258bf365c |
---|---|
6 import java.io.Serializable; | 6 import java.io.Serializable; |
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 String description; | |
11 protected List<DataCageNode> children; | 12 protected List<DataCageNode> children; |
12 protected AttrList attrs; | 13 protected AttrList attrs; |
13 | 14 |
14 public DataCageNode() { | 15 public DataCageNode() { |
15 } | 16 } |
17 public DataCageNode(String name) { | 18 public DataCageNode(String name) { |
18 this(name, null); | 19 this(name, null); |
19 } | 20 } |
20 | 21 |
21 public DataCageNode(String name, AttrList attrs) { | 22 public DataCageNode(String name, AttrList attrs) { |
22 this.name = name; | 23 this(name, name, attrs); |
23 this.attrs = attrs; | 24 } |
25 | |
26 public DataCageNode(String name, String description, AttrList attrs) { | |
27 this.name = name; | |
28 this.description = description; | |
29 this.attrs = attrs; | |
24 } | 30 } |
25 | 31 |
26 public String getName() { | 32 public String getName() { |
27 return name; | 33 return name; |
34 } | |
35 | |
36 public String getDescription() { | |
37 return description; | |
28 } | 38 } |
29 | 39 |
30 public void setName(String name) { | 40 public void setName(String name) { |
31 this.name = name; | 41 this.name = name; |
32 } | 42 } |