diff gnv-artifacts/src/main/java/de/intevation/gnv/state/describedata/DefaultSingleValueDescribeData.java @ 657:af3f56758f59

merged gnv-artifacts/0.5
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:13:53 +0200
parents a6a33ef35809
children 9a828e5a2390
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/describedata/DefaultSingleValueDescribeData.java	Fri Sep 28 12:13:53 2012 +0200
@@ -0,0 +1,65 @@
+/**
+ *
+ */
+package de.intevation.gnv.state.describedata;
+
+/**
+ * @author Tim Englich <tim.englich@intevation.de>
+ * 
+ */
+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