diff gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultInputParameter.java @ 12:4ebe57b170d3

Integration of moving through the Artifact-States and rendering the UI. gnv/trunk@91 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 16 Sep 2009 07:44:26 +0000
parents
children ad381cc47217
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultInputParameter.java	Wed Sep 16 07:44:26 2009 +0000
@@ -0,0 +1,41 @@
+/**
+ *
+ */
+package de.intevation.gnv.artifactdatabase.objects;
+/**
+ * @author Tim Englich <tim.englich@intevation.de>
+ *
+ */
+public class DefaultInputParameter implements InputParameter {
+
+    
+    private String name = null;
+    
+    private String[] values = null;
+    
+    /**
+     * Constructor
+     * @param name
+     * @param values
+     */
+    public DefaultInputParameter(String name, String[] values) {
+        super();
+        this.name = name;
+        this.values = values;
+    }
+
+    /**
+     * @see de.intevation.gnv.artifactdatabase.objects.InputParameter#getName()
+     */
+    public String getName() {
+        return this.name;
+    }
+
+    /**
+     * @see de.intevation.gnv.artifactdatabase.objects.InputParameter#getValues()
+     */
+    public String[] getValues() {
+        return this.values;
+    }
+
+}

http://dive4elements.wald.intevation.org