[Dive4elements-commits] [PATCH 2 of 2] Add FeatureInfoResponse class
Wald Commits
scm-commit at wald.intevation.org
Wed Apr 24 17:35:17 CEST 2013
# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1366817701 -7200
# Node ID 1722b0c47f5b45e9613c2d11186a63ce11d01aeb
# Parent a4ff4167be1ec9db3edd25b5b2e4e24eba68243f
Add FeatureInfoResponse class
diff -r a4ff4167be1e -r 1722b0c47f5b flys-client/src/main/java/de/intevation/flys/client/shared/model/FeatureInfoResponse.java
--- /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 at 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 :
More information about the Dive4elements-commits
mailing list