Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/describedata/DefaultMinMaxDescribeData.java @ 250:4e8f0fd8ed79
BugFix: Storage of "feeded" MinMaxValues will now work. issue79
gnv-artifacts/trunk@319 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Wed, 11 Nov 2009 09:52:16 +0000 |
parents | 7fb9441dd8af |
children |
comparison
equal
deleted
inserted
replaced
249:cad7c220adbc | 250:4e8f0fd8ed79 |
---|---|
15 private static final long serialVersionUID = -2917176219029052295L; | 15 private static final long serialVersionUID = -2917176219029052295L; |
16 | 16 |
17 private Object minValue = null; | 17 private Object minValue = null; |
18 | 18 |
19 private Object maxValue = null; | 19 private Object maxValue = null; |
20 | |
21 private String name = null; | |
20 | 22 |
21 private String minName = null; | 23 private final static String minName = "minvalue"; |
22 | 24 |
23 private String maxName = null; | 25 private final static String maxName = "maxvalue"; |
24 | 26 |
25 /** | 27 /** |
26 * Constructor | 28 * Constructor |
27 */ | 29 */ |
28 public DefaultMinMaxDescribeData(String minName, String maxName, | 30 public DefaultMinMaxDescribeData(String name, Object minValue, Object maxValue) { |
29 Object minValue, Object maxValue) { | |
30 super(); | 31 super(); |
31 this.minName = minName; | 32 this.name = name; |
32 this.maxName = maxName; | |
33 this.minValue = minValue; | 33 this.minValue = minValue; |
34 this.maxValue = maxValue; | 34 this.maxValue = maxValue; |
35 } | 35 } |
36 | 36 |
37 /** | 37 /** |
59 | 59 |
60 /** | 60 /** |
61 * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#getName() | 61 * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#getName() |
62 */ | 62 */ |
63 public String getMinName() { | 63 public String getMinName() { |
64 return this.minName; | 64 return minName; |
65 } | 65 } |
66 | 66 |
67 /** | 67 /** |
68 * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#getMaxName() | 68 * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#getMaxName() |
69 */ | 69 */ |
70 public String getMaxName() { | 70 public String getMaxName() { |
71 return this.maxName; | 71 return maxName; |
72 } | 72 } |
73 | 73 |
74 /** | 74 /** |
75 * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#setMaxValue(java.lang.Object) | 75 * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#setMaxValue(java.lang.Object) |
76 */ | 76 */ |
83 */ | 83 */ |
84 public void setMinValue(Object minValue) { | 84 public void setMinValue(Object minValue) { |
85 this.minValue = minValue; | 85 this.minValue = minValue; |
86 } | 86 } |
87 | 87 |
88 public String getName() { | |
89 return this.name; | |
90 } | |
91 | |
88 } | 92 } |