Mercurial > dive4elements > gnv-client
view gnv-artifacts/src/main/java/de/intevation/gnv/state/describedata/DefaultMinMaxDescribeData.java @ 805:bb7afd783321
Removed trailing whitespace. Added more javadoc.
gnv-artifacts/trunk@887 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 08 Apr 2010 11:31:44 +0000 |
parents | c4156275c1e1 |
children | d05b17a4f3d0 |
line wrap: on
line source
package de.intevation.gnv.state.describedata; /** * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> * */ public class DefaultMinMaxDescribeData implements MinMaxDescribeData { /** * */ private static final long serialVersionUID = -2917176219029052295L; private Object minValue = null; private Object maxValue = null; private String name = null; private String state = null; private final static String minName = "minvalue"; private final static String maxName = "maxvalue"; /** * Constructor */ public DefaultMinMaxDescribeData( String name, Object minValue, Object maxValue, String state ) { super(); this.name = name; this.minValue = minValue; this.maxValue = maxValue; this.state = state; } /** * @see de.intevation.gnv.state.describedata.MinMaxDescribeData#getMaxValue() */ public Object getMaxValue() { return this.maxValue; } /** * @see de.intevation.gnv.state.describedata.MinMaxDescribeData#getMinValue() */ public Object getMinValue() { return this.minValue; } /** * @see java.lang.Object#toString() */ @Override public String toString() { return "MIN: " + this.minValue.toString() + " ; MAX: " + this.maxValue.toString(); } /** * @see de.intevation.gnv.state.describedata.MinMaxDescribeData#getName() */ public String getMinName() { return minName; } /** * @see de.intevation.gnv.state.describedata.MinMaxDescribeData#getMaxName() */ public String getMaxName() { return maxName; } /** * @see de.intevation.gnv.state.describedata.MinMaxDescribeData#setMaxValue(java.lang.Object) */ public void setMaxValue(Object maxValue) { this.maxValue = maxValue; } /** * @see de.intevation.gnv.state.describedata.MinMaxDescribeData#setMinValue(java.lang.Object) */ public void setMinValue(Object minValue) { this.minValue = minValue; } public String getName() { return this.name; } public String getState() { return this.state; } }