teichmann@5861: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5861: * Software engineering by Intevation GmbH teichmann@5861: * teichmann@5861: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5861: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5861: * documentation coming with Dive4Elements River for details. teichmann@5861: */ teichmann@5861: teichmann@5835: package org.dive4elements.river.client.shared.model; raimund@1600: raimund@1600: raimund@1600: /** raimund@1600: * @author Raimund Renkert raimund@1600: */ raimund@1600: public class DischargeInfoObjectImpl implements DischargeInfoObject { raimund@1600: raimund@1600: protected String description; raimund@1600: raimund@1600: protected Integer startYear; raimund@1600: raimund@1600: protected Integer endYear; raimund@1600: raimund@1600: raimund@1600: public DischargeInfoObjectImpl() { raimund@1600: } raimund@1600: raimund@1600: raimund@1600: public DischargeInfoObjectImpl( raimund@1600: String description, raimund@1600: Integer startYear, raimund@1600: Integer endYear raimund@1600: ) { raimund@1600: this.description = description; raimund@1600: this.startYear = startYear; raimund@1600: this.endYear = endYear; raimund@1600: } raimund@1600: raimund@1600: public String getDescription() { raimund@1600: return description; raimund@1600: } raimund@1600: raimund@1600: raimund@1600: public Integer getStartYear() { raimund@1600: return startYear; raimund@1600: } raimund@1600: raimund@1600: raimund@1600: public Integer getEndYear() { raimund@1600: return endYear; raimund@1600: } raimund@1600: } raimund@1600: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :