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; raimund@245: felix@7560: import java.util.Date; raimund@245: raimund@245: /** raimund@245: * @author Raimund Renkert raimund@245: */ raimund@245: public class WQInfoObjectImpl implements WQInfoObject { raimund@245: raimund@245: protected String name; raimund@245: raimund@245: protected String type; raimund@245: raimund@245: protected Double value; raimund@245: felix@7560: Date startTime; felix@7554: felix@7560: Date stopTime; felix@7554: teichmann@6371: protected boolean isOfficial; teichmann@6371: raimund@245: raimund@245: public WQInfoObjectImpl() { raimund@245: } raimund@245: raimund@245: raimund@245: public WQInfoObjectImpl( raimund@245: String name, raimund@245: String type, teichmann@6371: Double value, felix@7554: boolean isOfficial, felix@7560: Date startTime, felix@7560: Date stopTime teichmann@6371: ) { raimund@245: this.name = name; raimund@245: this.type = type; raimund@245: this.value = value; teichmann@6371: this.isOfficial = isOfficial; felix@7554: this.startTime = startTime; felix@7554: this.stopTime = stopTime; raimund@245: } raimund@245: raimund@245: teichmann@6371: @Override felix@7560: public Date getStopTime() { felix@7554: return stopTime; felix@7554: } felix@7554: felix@7554: @Override felix@7560: public Date getStartTime() { felix@7554: return startTime; felix@7554: } felix@7554: felix@7554: @Override raimund@245: public String getName() { raimund@245: return name; raimund@245: } raimund@245: raimund@245: teichmann@6371: @Override raimund@245: public String getType() { raimund@245: return type; raimund@245: } raimund@245: raimund@245: teichmann@6371: @Override raimund@245: public Double getValue() { raimund@245: return value; raimund@245: } teichmann@6371: teichmann@6371: @Override teichmann@6371: public boolean isOfficial() { teichmann@6371: return isOfficial; teichmann@6371: } raimund@245: } raimund@245: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :