view gnv-artifacts/src/main/java/de/intevation/gnv/transition/describedata/DefaultKeyValueDescribeData.java @ 81:9b41f3688610

Added Support for TimeSeriesMesh gnv-artifacts/trunk@106 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 21 Sep 2009 11:50:47 +0000
parents e33c61735a4e
children 5eb62df21f9a
line wrap: on
line source
/**
 *
 */
package de.intevation.gnv.transition.describedata;
/**
 * @author Tim Englich <tim.englich@intevation.de>
 *
 */
public class DefaultKeyValueDescribeData implements KeyValueDescibeData {

    /**
     *
     */
    private static final long serialVersionUID = -924469415242703108L;

    private int key;
    
    private String value = null;
    
    private boolean selected = false;
    
    public DefaultKeyValueDescribeData(int key, String value) {
        super();
        this.key = key;
        this.value = value;
    }

    /**
     * @see de.intevation.gnv.transition.describedata.KeyValueDescibeData#getKey()
     */
    public int getKey() {
       return this.key;
    }

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

    /**
     * @see de.intevation.gnv.transition.describedata.KeyValueDescibeData#isSelected()
     */
    public boolean isSelected() {
        return this.selected;
    }

    /**
     * @see de.intevation.gnv.transition.describedata.KeyValueDescibeData#setSelected(boolean)
     */
    public void setSelected(boolean selected) {
        this.selected = selected;
    }

}

http://dive4elements.wald.intevation.org