teichmann@5861: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
teichmann@5861: * Software engineering by Intevation GmbH
teichmann@5861: *
teichmann@5993: * This file is Free Software under the GNU AGPL (>=v3)
teichmann@5861: * and comes with ABSOLUTELY NO WARRANTY! Check out the
teichmann@5993: * documentation coming with Dive4Elements River for details.
teichmann@5861: */
teichmann@5861:
teichmann@5835: package org.dive4elements.river.client.shared.model;
aheinecke@5819:
aheinecke@5819: import java.util.List;
aheinecke@5819:
aheinecke@5819: import java.io.Serializable;
aheinecke@5819:
aheinecke@5819:
aheinecke@5819: /**
aheinecke@5819: * @author Andre Heinecke
aheinecke@5819: */
aheinecke@5819: public class FeatureInfoResponse implements Serializable {
aheinecke@5819:
aheinecke@5819: // Wrapper class to transport the response of a feature info call
aheinecke@5819:
aheinecke@5819: protected String featureInfoHTML;
aheinecke@5819:
aheinecke@5819: protected List features;
aheinecke@5819:
aheinecke@5819: public FeatureInfoResponse() {
aheinecke@5819: }
aheinecke@5819:
aheinecke@5819: public FeatureInfoResponse(List features, String featureInfoHTML) {
aheinecke@5819: this.featureInfoHTML = featureInfoHTML;
aheinecke@5819: this.features = features;
aheinecke@5819: }
aheinecke@5819:
aheinecke@5819: public List getFeatures() {
aheinecke@5819: return features;
aheinecke@5819: }
aheinecke@5819:
aheinecke@5819: public String getFeatureInfoHTML() {
aheinecke@5819: return featureInfoHTML;
aheinecke@5819: }
aheinecke@5819: }
aheinecke@5819: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :