Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java @ 524:ba238f917b94
The theme list information stored in the attribute of a collection is read and added in form of Themes and ThemeLists to the Collection.
flys-client/trunk@2003 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 25 May 2011 13:42:04 +0000 |
parents | |
children | fc994da131f9 |
comparison
equal
deleted
inserted
replaced
523:0785a8ba5e6d | 524:ba238f917b94 |
---|---|
1 package de.intevation.flys.client.shared.model; | |
2 | |
3 | |
4 /** | |
5 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
6 */ | |
7 public class DefaultTheme implements Theme { | |
8 | |
9 protected int position; | |
10 | |
11 protected boolean active; | |
12 | |
13 protected String artifact; | |
14 | |
15 protected String facet; | |
16 | |
17 | |
18 public DefaultTheme() { | |
19 } | |
20 | |
21 | |
22 public DefaultTheme(int pos, boolean active, String art, String facet) { | |
23 this.position = pos; | |
24 this.active = active; | |
25 this.artifact = artifact; | |
26 this.facet = facet; | |
27 } | |
28 | |
29 | |
30 public int getPosition() { | |
31 return position; | |
32 } | |
33 | |
34 | |
35 public boolean isActive() { | |
36 return active; | |
37 } | |
38 | |
39 | |
40 public String getArtifact() { | |
41 return artifact; | |
42 } | |
43 | |
44 | |
45 public String getFacet() { | |
46 return facet; | |
47 } | |
48 } | |
49 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |