view flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java @ 3716:4e33aa341e51

Removed trailing whitespace and superfluous imports. flys-client/trunk@5478 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sat, 15 Sep 2012 18:28:24 +0000
parents 79ad33f41977
children e82acd5c86f7 7a34af684ed4
line wrap: on
line source
package de.intevation.flys.client.shared.model;

/**
 * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a>
 */
public class DefaultGaugeInfo implements GaugeInfo {

    private String name;
    private Double start;
    private Double end;
    private Double aeo;
    private Double datum;
    private Double minq;
    private Double maxq;
    private Double minw;
    private Double maxw;
    private boolean kmup;

    public DefaultGaugeInfo() {
    }

    public DefaultGaugeInfo(
            String name,
            boolean kmup,
            Double start,
            Double end,
            Double datum,
            Double aeo,
            Double minq,
            Double maxq,
            Double minw,
            Double maxw)
    {
        this.name  = name;
        this.start = start;
        this.end   = end;
        this.datum = datum;
        this.aeo   = aeo;
        this.minq  = minq;
        this.maxq  = maxq;
        this.minw  = minw;
        this.maxw  = maxw;
    }
    /**
     * Returns the name of the gauge
     */
    public String getName() {
        return this.name;
    }

    /**
     * Returns the start KM of the gauge or null if not available
     */
    public Double getKmStart() {
        return this.start;
    }

    /**
     * Returns the end KM of the gauge or null if not available
     */
    public Double getKmEnd() {
        return this.end;
    }

    /**
     * Returns the mimimum Q value at this gauge or null if not available
     */
    public Double getMinQ() {
        return this.minq;
    }

    /**
     * Returns the maximum Q value at this gauge or null if not available
     */
    public Double getMaxQ() {
        return this.maxq;
    }

    /**
     * Returns the mimimum W value at this gauge or null if not available
     */
    public Double getMinW() {
        return this.minw;
    }

    /**
     * Returns the maximim W value at this gauge or null if not available
     */
    public Double getMaxW() {
        return this.maxw;
    }

    /**
     * Returns the datum value or null if not available
     */
    public Double getDatum() {
        return this.datum;
    }

    /**
     * Returns the aeo value or null if not available
     */
    public Double getAeo() {
        return this.aeo;
    }

    public boolean isKmUp() {
        return this.kmup;
    }
}

http://dive4elements.wald.intevation.org