diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java	Wed May 25 13:42:04 2011 +0000
@@ -0,0 +1,49 @@
+package de.intevation.flys.client.shared.model;
+
+
+/**
+ * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
+ */
+public class DefaultTheme implements Theme {
+
+    protected int position;
+
+    protected boolean active;
+
+    protected String artifact;
+
+    protected String facet;
+
+
+    public DefaultTheme() {
+    }
+
+
+    public DefaultTheme(int pos, boolean active, String art, String facet) {
+        this.position = pos;
+        this.active   = active;
+        this.artifact = artifact;
+        this.facet    = facet;
+    }
+
+
+    public int getPosition() {
+        return position;
+    }
+
+
+    public boolean isActive() {
+        return active;
+    }
+
+
+    public String getArtifact() {
+        return artifact;
+    }
+
+
+    public String getFacet() {
+        return facet;
+    }
+}
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org