comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/AttributedTheme.java @ 1331:aa2313e0f18d

#366 Modifications on theme description in theme panels are now persisted to artifact server. flys-client/trunk@2976 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 17 Oct 2011 09:18:22 +0000
parents 374712890b94
children 290d5687f202
comparison
equal deleted inserted replaced
1330:ece7d9484574 1331:aa2313e0f18d
118 return getAttr("description"); 118 return getAttr("description");
119 } 119 }
120 120
121 121
122 @Override 122 @Override
123 public void setDescription(String description) {
124 if (description != null && description.length() > 0) {
125 addAttr("description", description);
126 }
127 }
128
129
130 @Override
123 public boolean equals(Object o) { 131 public boolean equals(Object o) {
124 if (!(o instanceof AttributedTheme)) { 132 if (!(o instanceof AttributedTheme)) {
125 return false; 133 return false;
126 } 134 }
127 135

http://dive4elements.wald.intevation.org