Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/describedata/DefaultMinMaxDescribeData.java @ 171:7fb9441dd8af
Format Code to max 80 Chars per Row and Cleanup
gnv-artifacts/trunk@208 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 09 Oct 2009 07:54:48 +0000 |
parents | e33c61735a4e |
children | 4e8f0fd8ed79 |
comparison
equal
deleted
inserted
replaced
170:7be22e76c270 | 171:7fb9441dd8af |
---|---|
1 /** | 1 /** |
2 * | 2 * |
3 */ | 3 */ |
4 package de.intevation.gnv.transition.describedata; | 4 package de.intevation.gnv.transition.describedata; |
5 | |
5 /** | 6 /** |
6 * @author Tim Englich <tim.englich@intevation.de> | 7 * @author Tim Englich <tim.englich@intevation.de> |
7 * | 8 * |
8 */ | 9 */ |
9 public class DefaultMinMaxDescribeData implements MinMaxDescribeData { | 10 public class DefaultMinMaxDescribeData implements MinMaxDescribeData { |
10 | 11 |
11 /** | 12 /** |
12 * | 13 * |
13 */ | 14 */ |
14 private static final long serialVersionUID = -2917176219029052295L; | 15 private static final long serialVersionUID = -2917176219029052295L; |
15 | 16 |
16 private Object minValue = null; | 17 private Object minValue = null; |
17 | 18 |
18 private Object maxValue = null; | 19 private Object maxValue = null; |
19 | 20 |
20 private String minName = null; | 21 private String minName = null; |
21 | 22 |
22 private String maxName = null; | 23 private String maxName = null; |
24 | |
23 /** | 25 /** |
24 * Constructor | 26 * Constructor |
25 */ | 27 */ |
26 public DefaultMinMaxDescribeData(String minName, String maxName, Object minValue, Object maxValue) { | 28 public DefaultMinMaxDescribeData(String minName, String maxName, |
29 Object minValue, Object maxValue) { | |
27 super(); | 30 super(); |
28 this.minName = minName; | 31 this.minName = minName; |
29 this.maxName = maxName; | 32 this.maxName = maxName; |
30 this.minValue = minValue; | 33 this.minValue = minValue; |
31 this.maxValue = maxValue; | 34 this.maxValue = maxValue; |
48 /** | 51 /** |
49 * @see java.lang.Object#toString() | 52 * @see java.lang.Object#toString() |
50 */ | 53 */ |
51 @Override | 54 @Override |
52 public String toString() { | 55 public String toString() { |
53 return "MIN: "+this.minValue.toString()+" ; MAX: "+this.maxValue.toString(); | 56 return "MIN: " + this.minValue.toString() + " ; MAX: " |
57 + this.maxValue.toString(); | |
54 } | 58 } |
55 | 59 |
56 /** | 60 /** |
57 * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#getName() | 61 * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#getName() |
58 */ | 62 */ |
78 * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#setMinValue(java.lang.Object) | 82 * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#setMinValue(java.lang.Object) |
79 */ | 83 */ |
80 public void setMinValue(Object minValue) { | 84 public void setMinValue(Object minValue) { |
81 this.minValue = minValue; | 85 this.minValue = minValue; |
82 } | 86 } |
83 | |
84 | 87 |
85 } | 88 } |