teichmann@5844: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5844: * Software engineering by Intevation GmbH teichmann@5844: * teichmann@5844: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5844: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5844: * documentation coming with Dive4Elements River for details. teichmann@5844: */ teichmann@5844: teichmann@5829: package org.dive4elements.river.model; bjoern@3789: bjoern@3789: import java.io.Serializable; bjoern@3789: import java.math.BigDecimal; bjoern@3789: bjoern@3789: /** bjoern@3789: * Represents minmimum and maximum values for W and Q bjoern@3789: */ bjoern@3789: public class MinMaxWQ implements Serializable { bjoern@3789: bjoern@3789: private BigDecimal minw; bjoern@3789: private BigDecimal maxw; bjoern@3789: private BigDecimal minq; bjoern@3789: private BigDecimal maxq; bjoern@3789: bjoern@3789: /** bjoern@3789: * Default constuctor to indecate that no min and max w and q values bjoern@3789: * are available bjoern@3789: */ bjoern@3789: public MinMaxWQ() { bjoern@3789: } bjoern@3789: bjoern@3789: /** bjoern@3789: * Constructor for a new MinMaxWQ value bjoern@3789: * bjoern@3789: * @param minw Mimimim W bjoern@3789: * @param maxw Maximum W bjoern@3789: * @param minq Mimimim Q bjoern@3789: * @param maxq Maximum Q bjoern@3789: */ bjoern@3789: public MinMaxWQ( bjoern@3789: BigDecimal minw, bjoern@3789: BigDecimal maxw, bjoern@3789: BigDecimal minq, bjoern@3789: BigDecimal maxq) bjoern@3789: { bjoern@3789: this.minw = minw; bjoern@3789: this.maxw = maxw; bjoern@3789: this.minq = minq; bjoern@3789: this.maxq = maxq; bjoern@3789: } bjoern@3789: bjoern@3789: public BigDecimal getMinW() { bjoern@3789: return this.minw; bjoern@3789: } bjoern@3789: bjoern@3789: public BigDecimal getMaxW() { bjoern@3789: return this.maxw; bjoern@3789: } bjoern@3789: bjoern@3789: public BigDecimal getMinQ() { bjoern@3789: return this.minq; bjoern@3789: } bjoern@3789: bjoern@3789: public BigDecimal getMaxQ() { bjoern@3789: return this.maxq; bjoern@3789: } bjoern@3789: }