Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/describedata/DefaultKeyValueDescribeData.java @ 473:a6a33ef35809
Added support to step back to previous states. Add state names to xform nodes in describe document and append old targets to list of reachable targets.
gnv-artifacts/trunk@539 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 13 Jan 2010 23:10:56 +0000 |
parents | e964a3d8f7bc |
children | 9a828e5a2390 |
comparison
equal
deleted
inserted
replaced
472:d6a100d5f74a | 473:a6a33ef35809 |
---|---|
16 | 16 |
17 private String key; | 17 private String key; |
18 | 18 |
19 private String value = null; | 19 private String value = null; |
20 | 20 |
21 private String state; | |
22 | |
21 private boolean selected = false; | 23 private boolean selected = false; |
22 | 24 |
23 public DefaultKeyValueDescribeData(String key, String value) { | 25 public DefaultKeyValueDescribeData(String key, String value) { |
26 this(key, value, null); | |
27 } | |
28 | |
29 public DefaultKeyValueDescribeData(String key, String value, String state) { | |
24 super(); | 30 super(); |
25 this.key = key; | 31 this.key = key; |
26 this.value = value; | 32 this.value = value; |
33 this.state = state; | |
27 } | 34 } |
28 | 35 |
29 /** | 36 /** |
30 * @see de.intevation.gnv.state.describedata.KeyValueDescibeData#getKey() | 37 * @see de.intevation.gnv.state.describedata.KeyValueDescibeData#getKey() |
31 */ | 38 */ |
52 */ | 59 */ |
53 public void setSelected(boolean selected) { | 60 public void setSelected(boolean selected) { |
54 this.selected = selected; | 61 this.selected = selected; |
55 } | 62 } |
56 | 63 |
64 | |
65 public String getState() { | |
66 return this.state; | |
67 } | |
68 | |
57 } | 69 } |