bjoern@3789: package de.intevation.flys.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: }