diff flys-client/src/main/java/de/intevation/flys/client/shared/model/PropertySetting.java @ 1507:c21d14e48040

Improved validation and property handling. flys-client/trunk@3645 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 11 Jan 2012 10:21:22 +0000
parents 3304608baf35
children 62332fa199bf
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/PropertySetting.java	Mon Jan 09 18:06:01 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/PropertySetting.java	Wed Jan 11 10:21:22 2012 +0000
@@ -55,7 +55,7 @@
         return this.name;
     }
 
-    public String getValue() {
+    public Object getValue() {
         return this.value;
     }
 
@@ -70,7 +70,7 @@
 
     public Object clone() {
         PropertySetting clone = new PropertySetting(this.getName(),
-                                                    this.getValue());
+                                                    this.getValue().toString());
         for(String s: this.getAttributeList()) {
             clone.setAttribute(s, this.getAttribute(s));
         }

http://dive4elements.wald.intevation.org