comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.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 5364b86a0880
comparison
equal deleted inserted replaced
1791:e0e5a5b51a40 1792:49ad801076e4
1 package de.intevation.flys.artifacts.model;
2
3 import de.intevation.flys.artifacts.states.DefaultState.ComputeType;
4
5
6 public class WMSDBLayerFacet extends WMSLayerFacet {
7
8 protected String data;
9 protected String filter;
10
11
12 public WMSDBLayerFacet() {
13 super();
14 }
15
16
17 public WMSDBLayerFacet(int index, String name, String description) {
18 this(index, name, description, ComputeType.FEED, null, null);
19 }
20
21
22 public WMSDBLayerFacet(
23 int index,
24 String name,
25 String description,
26 ComputeType type,
27 String stateId,
28 String hash
29
30 ) {
31 super(index, name, description, type, stateId, hash);
32 }
33
34
35 public WMSDBLayerFacet(
36 int index,
37 String name,
38 String description,
39 ComputeType type,
40 String stateId,
41 String hash,
42 String url
43 ) {
44 super(index, name, description, type, stateId, hash, url);
45 }
46
47
48 public void setFilter(String filter) {
49 this.filter = filter;
50 }
51
52 public String getFilter() {
53 return filter;
54 }
55
56 public void setData(String data) {
57 this.data = data;
58 }
59
60 public String getData() {
61 return data;
62 }
63 }
64 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org