Mercurial > dive4elements > river
view flys-backend/src/main/java/de/intevation/flys/model/MinMaxWQ.java @ 3790:6546c0bbc6f9
Backend: 'Pegelinfo' needs min/max Q, too.
flys-backend/trunk@5417 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 10 Sep 2012 09:50:43 +0000 |
parents | 9f92c42b7a81 |
children |
line wrap: on
line source
package de.intevation.flys.model; import java.io.Serializable; import java.math.BigDecimal; /** * Represents minmimum and maximum values for W and Q */ public class MinMaxWQ implements Serializable { private BigDecimal minw; private BigDecimal maxw; private BigDecimal minq; private BigDecimal maxq; /** * Default constuctor to indecate that no min and max w and q values * are available */ public MinMaxWQ() { } /** * Constructor for a new MinMaxWQ value * * @param minw Mimimim W * @param maxw Maximum W * @param minq Mimimim Q * @param maxq Maximum Q */ public MinMaxWQ( BigDecimal minw, BigDecimal maxw, BigDecimal minq, BigDecimal maxq) { this.minw = minw; this.maxw = maxw; this.minq = minq; this.maxq = maxq; } public BigDecimal getMinW() { return this.minw; } public BigDecimal getMaxW() { return this.maxw; } public BigDecimal getMinQ() { return this.minq; } public BigDecimal getMaxQ() { return this.maxq; } }