Mercurial > dive4elements > river
diff flys-client/src/main/java/org/dive4elements/river/client/shared/model/Theme.java @ 5834:f507086aa94b
Repaired internal references.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 12:31:32 +0200 |
parents | flys-client/src/main/java/de/intevation/flys/client/shared/model/Theme.java@98c7a46ec5ae |
children | 821a02bbfb4e |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flys-client/src/main/java/org/dive4elements/river/client/shared/model/Theme.java Thu Apr 25 12:31:32 2013 +0200 @@ -0,0 +1,48 @@ +package de.intevation.flys.client.shared.model; + +import java.io.Serializable; + + +/** + * A 'Theme' is something displayed in a Chart. It can be activated or + * deactivated to show/hide in the resultant visual representation in the + * chart. + * + * A Theme maps more or less directly to a Facet of an Artifact in a + * Collection (certain attributes are added at Collection-Level). + * + * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> + */ +public interface Theme extends Serializable { + + int getPosition(); + + void setPosition(int pos); + + int getIndex(); + + int getActive(); + + void setActive(int active); + + int getVisible(); + + void setVisible(int visible); + + String getArtifact(); + + String getFacet(); + + String getDescription(); + + void setDescription(String description); + + boolean equals(Object o); + + /** Get the CollectionItem representing the facets artifact. */ + CollectionItem getCollectionItem(); + + /** Set the CollectionItem representing the facets artifact. */ + void setCollectionItem(CollectionItem ci); +} +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :