diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/DBLayerInfo.java @ 1792:49ad801076e4

Enabled the MapGenerator to create WMS layers with database datastore - riveraxis is the first layer that is no longer fetched from static WMS service but from user specific one. flys-artifacts/trunk@3115 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 28 Oct 2011 13:48:02 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/DBLayerInfo.java	Fri Oct 28 13:48:02 2011 +0000
@@ -0,0 +1,38 @@
+package de.intevation.flys.artifacts.model;
+
+
+public class DBLayerInfo extends LayerInfo {
+
+    protected String filter;
+
+
+    public DBLayerInfo(
+        String name,
+        String type,
+        String filter,
+        String data,
+        String title)
+    {
+        this(name, type, filter, data, title, null, null);
+    }
+
+
+    public DBLayerInfo(
+        String name,
+        String type,
+        String filter,
+        String data,
+        String title,
+        String group,
+        String groupTitle
+    ) {
+        super(name, type, null, data, group, groupTitle, title);
+        this.filter = filter;
+    }
+
+
+    public String getFilter() {
+        return filter;
+    }
+}
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org