view flys-client/src/main/java/de/intevation/flys/client/shared/model/DistanceInfoObjectImpl.java @ 4241:49cb65d5932d

Improved the historical discharge calculation. The calculation now creates new HistoricalWQKms (new subclass of WQKms). Those WQKms are used to create new facets from (new) type 'HistoricalDischargeCurveFacet'. The chart generator is improved to support those facets.
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 24 Oct 2012 14:34:35 +0200
parents d9fc58e30a53
children
line wrap: on
line source
package de.intevation.flys.client.shared.model;


/**
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
public class DistanceInfoObjectImpl implements DistanceInfoObject {

    protected String description;

    protected Double from;

    protected Double to;

    protected String riverside;

    protected Double bottom;

    protected Double top;


    public DistanceInfoObjectImpl() {
    }


    public DistanceInfoObjectImpl(
        String description,
        Double from,
        Double to,
        String riverside,
        Double bottom,
        Double top
    ) {
        this.description = description;
        this.from        = from;
        this.to          = to;
        this.riverside   = riverside;
        this.bottom      = bottom;
        this.top         = top;
    }

    public String getDescription() {
        return description;
    }


    public Double getFrom() {
        return from;
    }


    public Double getTo() {
        return to;
    }


    public String getRiverside() {
        return riverside;
    }

    public Double getBottom() {
        return bottom;
    }

    public Double getTop() {
        return top;
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org