view flys-client/src/main/java/de/intevation/flys/client/shared/model/MeasurementStation.java @ 4249:7a889098bcc6

Extend the client RiverInfo model to support MeasurementStations Add method to receive the MeasurementStations from a RiverInfo. Also add methods to set the GaugeInfo and MeasurementStation to the DefaultRiverInfo.
author Björn Ricks <bjoern.ricks@intevation.de>
date Wed, 24 Oct 2012 17:00:37 +0200
parents fc742c039f30
children d5d68c5bf085
line wrap: on
line source
package de.intevation.flys.client.shared.model;

import java.io.Serializable;

/**
 * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a>
 */
public interface MeasurementStation extends Serializable {

    /**
     * Returns the name of the measurement station
     */
    String getName();

    /**
     * Returns the start KM of the measurement station or null if not available
     */
    Double getKmStart();

    /**
     * Returns the end KM of the measurement station or null if not available
     */
    Double getKmEnd();

    /**
     * Returns the station km of the measurement station or null if not
     * available
     */
    Double getStation();

    /**
     * Returns the river to which this measurement station belongs
     */
    String getRiverName();

    /**
     * Returns the side of the river which this measurement station belongs
     */
    String getRiverSide();

    /**
     * Returns the type of the measurement station
     */
    String getMeasurementType();
}

http://dive4elements.wald.intevation.org