Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/AttributedTheme.java @ 1435:f6fbfdc813f0
Allow client to access artifacts data via CollectionItems and Themes.
flys-client/trunk@3396 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 13 Dec 2011 09:51:47 +0000 |
parents | 290d5687f202 |
children |
comparison
equal
deleted
inserted
replaced
1434:9115b2a28be1 | 1435:f6fbfdc813f0 |
---|---|
10 */ | 10 */ |
11 public class AttributedTheme implements Theme { | 11 public class AttributedTheme implements Theme { |
12 | 12 |
13 protected Map<String, String> attributes; | 13 protected Map<String, String> attributes; |
14 | 14 |
15 /** CollectionItem associated with this facet/themes artifact. */ | |
16 protected CollectionItem collectionItem; | |
15 | 17 |
16 public AttributedTheme() { | 18 public AttributedTheme() { |
17 this.attributes = new HashMap<String, String>(); | 19 this.attributes = new HashMap<String, String>(); |
18 } | 20 } |
19 | 21 |
175 return false; | 177 return false; |
176 } | 178 } |
177 | 179 |
178 return true; | 180 return true; |
179 } | 181 } |
182 | |
183 | |
184 /** Get the CollectionItem representing the facets artifact. */ | |
185 @Override | |
186 public CollectionItem getCollectionItem() { | |
187 return collectionItem; | |
188 } | |
189 | |
190 | |
191 /** Set the CollectionItem representing the facets artifact. */ | |
192 @Override | |
193 public void setCollectionItem(CollectionItem ci) { | |
194 this.collectionItem = ci; | |
195 } | |
180 } | 196 } |
181 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 197 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |