view gnv-artifacts/src/main/java/de/intevation/gnv/state/describedata/DefaultKeyValueDescribeData.java @ 337:a887074460b6

Last Step of the Refactoring Work on the Transition Model. Splitted Businesslogic between States and Transitions. Splitted the ConfigurationElements of State and Transition in several XML-Fragments. gnv-artifacts/trunk@403 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 08 Dec 2009 13:38:21 +0000
parents e964a3d8f7bc
children a6a33ef35809
line wrap: on
line source
/**
 *
 */
package de.intevation.gnv.state.describedata;

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

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

    private String key;

    private String value = null;

    private boolean selected = false;

    public DefaultKeyValueDescribeData(String key, String value) {
        super();
        this.key = key;
        this.value = value;
    }

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

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

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

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

}

http://dive4elements.wald.intevation.org