diff gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/services/requestobjects/DefaultMapService.java @ 597:cf38b983d1f3

Added the Implementation of the MetaDataService which will deliver FIS and Parameters that match to Mapservices, Region and Layers that were sent to the Service. gnv-artifacts/trunk@653 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 01 Feb 2010 14:52:05 +0000
parents
children 9a828e5a2390
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/services/requestobjects/DefaultMapService.java	Mon Feb 01 14:52:05 2010 +0000
@@ -0,0 +1,63 @@
+/**
+ *
+ */
+package de.intevation.gnv.artifacts.services.requestobjects;
+
+import java.util.Collection;
+
+/**
+ * @author Tim Englich <tim.englich@intevation.de>
+ *
+ */
+public class DefaultMapService implements MapService {
+
+    private String id = null;
+    
+
+
+    private Collection<Layer> layer = null;
+    
+    private String type = null;
+    
+    private String url = null;
+    /**
+     * Constructor
+     */
+    public DefaultMapService(String id, Collection<Layer> layer, 
+                             String type, String url) {
+        super();
+        this.id = id;
+        this.layer = layer;
+        this.type = type;
+        this.url = url;
+    }
+
+    /**
+     * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getID()
+     */
+    public String getID() {
+        return this.id;
+    }
+
+    /**
+     * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getLayer()
+     */
+    public Collection<Layer> getLayer() {
+        return this.layer;
+    }
+
+    /**
+     * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getType()
+     */
+    public String getType() {
+        return this.type;
+    }
+
+    /**
+     * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getURL()
+     */
+    public String getURL() {
+        return this.url;
+    }
+
+}

http://dive4elements.wald.intevation.org