view flys-client/src/main/java/de/intevation/flys/client/shared/model/RiverInfo.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 70976b711b7e
children 7a889098bcc6
line wrap: on
line source
package de.intevation.flys.client.shared.model;

import java.io.Serializable;
import java.util.List;

/**
 * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a>
 */

public interface RiverInfo extends Serializable {

    boolean isKmUp();

    /**
     * Start KM of the river
     */
    Double getKmStart();

    /**
     * End KM of the river
     */
    Double getKmEnd();

    /**
     * Returns the name of the river
     */
    String getName();

    /**
     * Returns the name of the WST unit
     */
    String getWstUnit();

    /**
     * Return all gauge info of the river
     */
    List<GaugeInfo> getGauges();

    /**
     * Returns the min q value of the river
     */
    Double getMinQ();

    /**
     * Returns the max q value of the river
     */
    Double getMaxQ();

    /**
     * Returns the official number of the river
     */
    Long getOfficialNumber();
}


http://dive4elements.wald.intevation.org