comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/describedata/DefaultSingleValueDescribeData.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 name = null; 17 private String name = null;
18 18
19 private String value = null; 19 private String value = null;
20 20
21 private String state = null;
22
23 public DefaultSingleValueDescribeData(String name, String value) {
24 this(name, value, null);
25 }
26
21 /** 27 /**
22 * Constructor 28 * Constructor
23 * 29 *
24 * @param name 30 * @param name
25 * @param value 31 * @param value
26 */ 32 */
27 public DefaultSingleValueDescribeData(String name, String value) { 33 public DefaultSingleValueDescribeData(
34 String name,
35 String value,
36 String state
37 ) {
28 super(); 38 super();
29 this.name = name; 39 this.name = name;
30 this.value = value; 40 this.value = value;
41 this.state = state;
31 } 42 }
32 43
33 /** 44 /**
34 * @see de.intevation.gnv.state.describedata.SingleValueDescribeData#getName() 45 * @see de.intevation.gnv.state.describedata.SingleValueDescribeData#getName()
35 */ 46 */
46 57
47 public void setValue(String value) { 58 public void setValue(String value) {
48 this.value = value; 59 this.value = value;
49 } 60 }
50 61
62 public String getState() {
63 return this.state;
64 }
51 } 65 }

http://dive4elements.wald.intevation.org