comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/describedata/DefaultMinMaxDescribeData.java @ 79:e33c61735a4e

Implementation of the Static UI done gnv-artifacts/trunk@101 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Thu, 17 Sep 2009 13:38:12 +0000
parents 0e38f512f7e4
children 7fb9441dd8af
comparison
equal deleted inserted replaced
78:969faa37a11b 79:e33c61735a4e
14 private static final long serialVersionUID = -2917176219029052295L; 14 private static final long serialVersionUID = -2917176219029052295L;
15 15
16 private Object minValue = null; 16 private Object minValue = null;
17 17
18 private Object maxValue = null; 18 private Object maxValue = null;
19
20 private String minName = null;
21
22 private String maxName = null;
19 /** 23 /**
20 * Constructor 24 * Constructor
21 */ 25 */
22 public DefaultMinMaxDescribeData( Object minValue, Object maxValue) { 26 public DefaultMinMaxDescribeData(String minName, String maxName, Object minValue, Object maxValue) {
23 super(); 27 super();
28 this.minName = minName;
29 this.maxName = maxName;
24 this.minValue = minValue; 30 this.minValue = minValue;
25 this.maxValue = maxValue; 31 this.maxValue = maxValue;
26 } 32 }
27 33
28 /** 34 /**
44 */ 50 */
45 @Override 51 @Override
46 public String toString() { 52 public String toString() {
47 return "MIN: "+this.minValue.toString()+" ; MAX: "+this.maxValue.toString(); 53 return "MIN: "+this.minValue.toString()+" ; MAX: "+this.maxValue.toString();
48 } 54 }
55
56 /**
57 * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#getName()
58 */
59 public String getMinName() {
60 return this.minName;
61 }
62
63 /**
64 * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#getMaxName()
65 */
66 public String getMaxName() {
67 return this.maxName;
68 }
69
70 /**
71 * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#setMaxValue(java.lang.Object)
72 */
73 public void setMaxValue(Object maxValue) {
74 this.maxValue = maxValue;
75 }
76
77 /**
78 * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#setMinValue(java.lang.Object)
79 */
80 public void setMinValue(Object minValue) {
81 this.minValue = minValue;
82 }
49 83
50 84
51 } 85 }

http://dive4elements.wald.intevation.org