view flys-client/src/main/java/de/intevation/flys/client/shared/model/DistanceInfoObjectImpl.java @ 3847:f3b821735e39

Calculate the info url via i18n Don't fetch the info url from the artifact service and use i18n to calculate the url by using the official gauge and river number. flys-client/trunk@5582 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Mon, 24 Sep 2012 08:39:22 +0000
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