view gnv-artifacts/src/main/java/de/intevation/gnv/state/describedata/DefaultSingleValueDescribeData.java @ 805:bb7afd783321

Removed trailing whitespace. Added more javadoc. gnv-artifacts/trunk@887 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 08 Apr 2010 11:31:44 +0000
parents c4156275c1e1
children d05b17a4f3d0
line wrap: on
line source
package de.intevation.gnv.state.describedata;

/**
 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a>
 *
 */
public class DefaultSingleValueDescribeData implements SingleValueDescribeData {

    /**
     *
     */
    private static final long serialVersionUID = 3580176842483316917L;

    private String name = null;

    private String value = null;

    private String state = null;

    public DefaultSingleValueDescribeData(String name, String value) {
        this(name, value, null);
    }

    /**
     * Constructor
     *
     * @param name
     * @param value
     */
    public DefaultSingleValueDescribeData(
        String name,
        String value,
        String state
    ) {
        super();
        this.name = name;
        this.value = value;
        this.state = state;
    }

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

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

    public void setValue(String value) {
        this.value = value;
    }

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

http://dive4elements.wald.intevation.org