teichmann@5861: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5861: * Software engineering by Intevation GmbH teichmann@5861: * teichmann@5861: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5861: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5861: * documentation coming with Dive4Elements River for details. teichmann@5861: */ teichmann@5861: teichmann@5835: package org.dive4elements.river.client.shared.model; ingo@524: ingo@524: import java.io.Serializable; ingo@524: ingo@524: ingo@524: /** felix@1517: * A 'Theme' is something displayed in a Chart. It can be activated or felix@1517: * deactivated to show/hide in the resultant visual representation in the felix@1517: * chart. felix@1517: * felix@1517: * A Theme maps more or less directly to a Facet of an Artifact in a felix@1517: * Collection (certain attributes are added at Collection-Level). felix@1517: * ingo@524: * @author Ingo Weinzierl ingo@524: */ ingo@524: public interface Theme extends Serializable { ingo@524: ingo@524: int getPosition(); ingo@524: ingo@528: void setPosition(int pos); ingo@528: ingo@576: int getIndex(); ingo@576: ingo@804: int getActive(); ingo@524: ingo@804: void setActive(int active); ingo@529: ingo@1340: int getVisible(); ingo@1340: ingo@1340: void setVisible(int visible); ingo@1340: ingo@524: String getArtifact(); ingo@524: ingo@524: String getFacet(); ingo@528: ingo@575: String getDescription(); ingo@575: ingo@1331: void setDescription(String description); ingo@1331: ingo@528: boolean equals(Object o); felix@1435: felix@1435: /** Get the CollectionItem representing the facets artifact. */ felix@1435: CollectionItem getCollectionItem(); felix@1435: felix@1435: /** Set the CollectionItem representing the facets artifact. */ felix@1435: void setCollectionItem(CollectionItem ci); ingo@524: } ingo@524: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :