comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/describedata/DefaultMinMaxDescribeData.java @ 61:5f47881f7c97

Implementation of the MIN- / MAX-Value Representation gnv-artifacts/trunk@44 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 09 Sep 2009 09:29:39 +0000
parents
children 0e38f512f7e4
comparison
equal deleted inserted replaced
60:eed1baaeb481 61:5f47881f7c97
1 /**
2 *
3 */
4 package de.intevation.gnv.transition.describedata;
5 /**
6 * @author Tim Englich <tim.englich@intevation.de>
7 *
8 */
9 public class DefaultMinMaxDescribeData implements MinMaxDescribeData {
10
11 private Object minValue = null;
12
13 private Object maxValue = null;
14 /**
15 * Constructor
16 */
17 public DefaultMinMaxDescribeData( Object minValue, Object maxValue) {
18 super();
19 this.minValue = minValue;
20 this.maxValue = maxValue;
21 }
22
23 /**
24 * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#getMaxValue()
25 */
26 public Object getMaxValue() {
27 return this.maxValue;
28 }
29
30 /**
31 * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#getMinValue()
32 */
33 public Object getMinValue() {
34 return this.minValue;
35 }
36
37 /**
38 * @see java.lang.Object#toString()
39 */
40 @Override
41 public String toString() {
42 return "MIN: "+this.minValue.toString()+" ; MAX: "+this.maxValue.toString();
43 }
44
45
46 }

http://dive4elements.wald.intevation.org