view gnv-artifacts/src/main/java/de/intevation/gnv/state/describedata/DefaultKeyValueDescribeData.java @ 769:9ae63d39bdd0

Removed empty comment lines and turned javadoc author tag into a 'mailto' form in package de.intevation.gnv.layer. gnv-artifacts/trunk@825 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 24 Mar 2010 15:14:54 +0000
parents a6a33ef35809
children 9a828e5a2390
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 String state;

    private boolean selected = false;

    public DefaultKeyValueDescribeData(String key, String value) {
        this(key, value, null);
    }

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

    /**
     * @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;
    }


    public String getState() {
        return this.state;
    }

}

http://dive4elements.wald.intevation.org