view gnv-artifacts/src/main/java/de/intevation/gnv/transition/DefaultInputData.java @ 255:5403452c06fc

Added proper values for calculating the Statistics of VerticalProfiles and HorizontalProfiles issue86 gnv-artifacts/trunk@330 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Thu, 12 Nov 2009 14:47:20 +0000
parents 7fb9441dd8af
children
line wrap: on
line source
/**
 *
 */
package de.intevation.gnv.transition;

/**
 * @author Tim Englich <tim.englich@intevation.de>
 * 
 */
public class DefaultInputData implements InputData {

    /**
     *
     */
    private static final long serialVersionUID = 4308041648698108066L;
    private String name = null;
    private String value = null;

    /**
     * Constructor
     */
    public DefaultInputData(String name, String value) {
        this.name = name;
        this.value = value;
    }

    /**
     * @see de.intevation.gnv.transition.InputData#getName()
     */
    public String getName() {
        return this.name;
    }

    /**
     * @see de.intevation.gnv.transition.InputData#getValue()
     */
    public String getValue() {
        return this.value;
    }

    /**
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return this.name + "==> " + this.value;
    }

    /**
     * @see de.intevation.gnv.transition.InputData#concartValue(java.lang.String)
     */
    public void concartValue(String value) {
        this.value = this.value + " , " + value;
    }

}

http://dive4elements.wald.intevation.org