view gnv-artifacts/src/main/java/de/intevation/gnv/transition/describedata/DefaultMinMaxDescribeData.java @ 70:0035862b0295

Refactoringwork done because of changes in the artifact-module gnv-artifacts/trunk@60 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Thu, 10 Sep 2009 09:40:49 +0000
parents 5f47881f7c97
children 0e38f512f7e4
line wrap: on
line source
/**
 *
 */
package de.intevation.gnv.transition.describedata;
/**
 * @author Tim Englich <tim.englich@intevation.de>
 *
 */
public class DefaultMinMaxDescribeData implements MinMaxDescribeData {

    private Object minValue = null;
    
    private Object maxValue = null;
    /**
     * Constructor
     */
    public DefaultMinMaxDescribeData( Object minValue, Object maxValue) {
        super();
        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();
    }
    

}

http://dive4elements.wald.intevation.org