Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/StringProperty.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 | bb5edff31866 |
comparison
equal
deleted
inserted
replaced
1506:339f8aa641b5 | 1507:c21d14e48040 |
---|---|
28 this.value = value; | 28 this.value = value; |
29 this.attributes = new HashMap<String, String>(); | 29 this.attributes = new HashMap<String, String>(); |
30 } | 30 } |
31 | 31 |
32 | 32 |
33 @Override | |
34 public String getValue() { | |
35 return this.value; | |
36 } | |
37 | |
38 | |
33 public Object clone() { | 39 public Object clone() { |
34 StringProperty clone = new StringProperty(this.getName(), | 40 StringProperty clone = new StringProperty(this.getName(), |
35 this.getValue()); | 41 this.getValue()); |
36 for(String s: this.getAttributeList()) { | 42 for(String s: this.getAttributeList()) { |
37 clone.setAttribute(s, this.getAttribute(s)); | 43 clone.setAttribute(s, this.getAttribute(s)); |