Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/shared/model/Theme.java @ 5838:5aa05a7a34b7
Rename modules to more fitting names.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 15:23:37 +0200 |
parents | flys-client/src/main/java/org/dive4elements/river/client/shared/model/Theme.java@821a02bbfb4e |
children | 172338b1407f |
comparison
equal
deleted
inserted
replaced
5837:d9901a08d0a6 | 5838:5aa05a7a34b7 |
---|---|
1 package org.dive4elements.river.client.shared.model; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 | |
6 /** | |
7 * A 'Theme' is something displayed in a Chart. It can be activated or | |
8 * deactivated to show/hide in the resultant visual representation in the | |
9 * chart. | |
10 * | |
11 * A Theme maps more or less directly to a Facet of an Artifact in a | |
12 * Collection (certain attributes are added at Collection-Level). | |
13 * | |
14 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
15 */ | |
16 public interface Theme extends Serializable { | |
17 | |
18 int getPosition(); | |
19 | |
20 void setPosition(int pos); | |
21 | |
22 int getIndex(); | |
23 | |
24 int getActive(); | |
25 | |
26 void setActive(int active); | |
27 | |
28 int getVisible(); | |
29 | |
30 void setVisible(int visible); | |
31 | |
32 String getArtifact(); | |
33 | |
34 String getFacet(); | |
35 | |
36 String getDescription(); | |
37 | |
38 void setDescription(String description); | |
39 | |
40 boolean equals(Object o); | |
41 | |
42 /** Get the CollectionItem representing the facets artifact. */ | |
43 CollectionItem getCollectionItem(); | |
44 | |
45 /** Set the CollectionItem representing the facets artifact. */ | |
46 void setCollectionItem(CollectionItem ci); | |
47 } | |
48 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |