Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/shared/model/Style.java @ 1292:bdc270ea6195
Edited item attributes are saved and send to the server on accept.
flys-client/trunk@2898 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 05 Oct 2011 16:29:14 +0000 |
parents | f4deeafa60b3 |
children | d9cb362b8b34 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/Style.java Wed Oct 05 09:26:13 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/Style.java Wed Oct 05 16:29:14 2011 +0000 @@ -14,6 +14,9 @@ public class Style implements Serializable { protected String name; + + protected String facet; + protected List<StyleSetting> settings; public Style() { @@ -28,10 +31,18 @@ this.name = name; } + public void setFacet(String facet) { + this.facet = facet; + } + public String getName() { return this.name; } + public String getFacet() { + return this.facet; + } + public StyleSetting getSetting(String name) { for (int i = 0; i < settings.size (); i++) { if (settings.get(i).getName().equals(name)) {