Mercurial > dive4elements > gnv-client
view gnv-artifacts/src/main/java/de/intevation/gnv/transition/describedata/DefaultMinMaxDescribeData.java @ 190:baaa1618fa27
Changed the displayed-Values as defined in issue47
gnv-artifacts/trunk@238 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Mon, 19 Oct 2009 09:18:40 +0000 |
parents | 7fb9441dd8af |
children | 4e8f0fd8ed79 |
line wrap: on
line source
/** * */ package de.intevation.gnv.transition.describedata; /** * @author Tim Englich <tim.englich@intevation.de> * */ public class DefaultMinMaxDescribeData implements MinMaxDescribeData { /** * */ private static final long serialVersionUID = -2917176219029052295L; private Object minValue = null; private Object maxValue = null; private String minName = null; private String maxName = null; /** * Constructor */ public DefaultMinMaxDescribeData(String minName, String maxName, Object minValue, Object maxValue) { super(); this.minName = minName; this.maxName = maxName; this.minValue = minValue; this.maxValue = maxValue; } /** * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#getMaxValue() */ public Object getMaxValue() { return this.maxValue; } /** * @see de.intevation.gnv.transition.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.transition.describedata.MinMaxDescribeData#getName() */ public String getMinName() { return this.minName; } /** * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#getMaxName() */ public String getMaxName() { return this.maxName; } /** * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#setMaxValue(java.lang.Object) */ public void setMaxValue(Object maxValue) { this.maxValue = maxValue; } /** * @see de.intevation.gnv.transition.describedata.MinMaxDescribeData#setMinValue(java.lang.Object) */ public void setMinValue(Object minValue) { this.minValue = minValue; } }