view gnv-artifacts/src/main/java/de/intevation/gnv/transition/describedata/DefaultMinMaxDescribeData.java @ 69:f24c825144bc

TestCase Refactored to the new Folder-Based Configuration. Also added further steps to the Testcase. gnv-artifacts/trunk@56 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Thu, 10 Sep 2009 07:57:30 +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