comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/describedata/DefaultMinMaxDescribeData.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
18 18
19 private Object maxValue = null; 19 private Object maxValue = null;
20 20
21 private String name = null; 21 private String name = null;
22 22
23 private String state = null;
24
23 private final static String minName = "minvalue"; 25 private final static String minName = "minvalue";
24 26
25 private final static String maxName = "maxvalue"; 27 private final static String maxName = "maxvalue";
26 28
27 /** 29 /**
28 * Constructor 30 * Constructor
29 */ 31 */
30 public DefaultMinMaxDescribeData(String name, Object minValue, Object maxValue) { 32 public DefaultMinMaxDescribeData(
33 String name,
34 Object minValue,
35 Object maxValue,
36 String state
37 ) {
31 super(); 38 super();
32 this.name = name; 39 this.name = name;
33 this.minValue = minValue; 40 this.minValue = minValue;
34 this.maxValue = maxValue; 41 this.maxValue = maxValue;
42 this.state = state;
35 } 43 }
36 44
37 /** 45 /**
38 * @see de.intevation.gnv.state.describedata.MinMaxDescribeData#getMaxValue() 46 * @see de.intevation.gnv.state.describedata.MinMaxDescribeData#getMaxValue()
39 */ 47 */
87 95
88 public String getName() { 96 public String getName() {
89 return this.name; 97 return this.name;
90 } 98 }
91 99
100 public String getState() {
101 return this.state;
102 }
103
92 } 104 }

http://dive4elements.wald.intevation.org