changeset 5819:1722b0c47f5b 3.0.1

Add FeatureInfoResponse class
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 24 Apr 2013 17:35:01 +0200
parents a4ff4167be1e
children ebd09bbf01a4
files flys-client/src/main/java/de/intevation/flys/client/shared/model/FeatureInfoResponse.java
diffstat 1 files changed, 35 insertions(+), 0 deletions(-) [+]
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/FeatureInfoResponse.java	Wed Apr 24 17:35:01 2013 +0200
@@ -0,0 +1,35 @@
+package de.intevation.flys.client.shared.model;
+
+import java.util.List;
+
+import java.io.Serializable;
+
+
+/**
+ * @author <a href="mailto:aheinecke@intevation.de">Andre Heinecke</a>
+ */
+public class FeatureInfoResponse implements Serializable {
+
+    // Wrapper class to transport the response of a feature info call
+
+    protected String featureInfoHTML;
+
+    protected List<FeatureInfo> features;
+
+    public FeatureInfoResponse() {
+    }
+
+    public FeatureInfoResponse(List<FeatureInfo> features, String featureInfoHTML) {
+        this.featureInfoHTML = featureInfoHTML;
+        this.features = features;
+    }
+
+    public List<FeatureInfo> getFeatures() {
+        return features;
+    }
+
+    public String getFeatureInfoHTML() {
+        return featureInfoHTML;
+    }
+}
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org