diff flys-client/src/main/java/de/intevation/flys/client/shared/model/Capabilities.java @ 1409:ec6e4dad1279

Read and display all FLYS relevant information of Capabilities documents. flys-client/trunk@3296 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 21 Nov 2011 18:15:44 +0000
parents 5b5a20e4c4e5
children 63be3137abac
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/Capabilities.java	Mon Nov 21 12:00:48 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/Capabilities.java	Mon Nov 21 18:15:44 2011 +0000
@@ -7,9 +7,13 @@
 
 public class Capabilities implements Serializable {
 
+    protected String title;
+    protected String onlineResource;
     protected String fees;
     protected String accessConstraints;
 
+    protected ContactInformation contactInformation;
+
     protected List<String> layers;
 
 
@@ -24,13 +28,34 @@
      * @param layers
      */
     public Capabilities(
-        String       fees,
-        String       accessConstraints,
-        List<String> layers
+        String             title,
+        String             onlineResource,
+        ContactInformation contactInformation,
+        String             fees,
+        String             accessConstraints,
+        List<String>       layers
     ) {
-        this.fees              = fees;
-        this.accessConstraints = accessConstraints;
-        this.layers            = layers;
+        this.title              = title;
+        this.onlineResource     = onlineResource;
+        this.contactInformation = contactInformation;
+        this.fees               = fees;
+        this.accessConstraints  = accessConstraints;
+        this.layers             = layers;
+    }
+
+
+    public String getTitle() {
+        return title;
+    }
+
+
+    public String getOnlineResource() {
+        return onlineResource;
+    }
+
+
+    public ContactInformation getContactInformation() {
+        return contactInformation;
     }
 
 

http://dive4elements.wald.intevation.org