diff gnv-artifacts/src/main/java/de/intevation/gnv/transition/DefaultInputValue.java @ 91:bd284d8306db

Added Support for Patameters in OutputModes gnv-artifacts/trunk@135 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 25 Sep 2009 14:37:10 +0000
parents 9b41f3688610
children 7fb9441dd8af
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/transition/DefaultInputValue.java	Thu Sep 24 15:27:33 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/transition/DefaultInputValue.java	Fri Sep 25 14:37:10 2009 +0000
@@ -16,8 +16,14 @@
     private String type = null;
     private boolean multiselect = false;
     private int usedInQueries = 1;
+    private String defaultValue = "N/N";
     
     
+    public DefaultInputValue(String name, String type, String defaultValue, boolean multiselect){
+      this(name, type, multiselect, 1);
+      this.defaultValue = defaultValue;
+      
+    }
     /**
      * Constructor
      */
@@ -61,4 +67,8 @@
         return this.usedInQueries;
     }
 
+    public String getDefaultValue() {
+       return this.defaultValue;
+    }
+
 }

http://dive4elements.wald.intevation.org