view gwt-client/src/main/java/org/dive4elements/river/client/shared/model/MeasurementStation.java @ 8412:17db08570637

SCHEMA CHANGE: removed superfluous columns station and river_id from measurement_stations and adapted other components accordingly.
author Tom Gottfried <tom@intevation.de>
date Wed, 15 Oct 2014 19:20:26 +0200
parents ea9eef426962
children 71144e25a6c9
line wrap: on
line source
/* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
 * Software engineering by Intevation GmbH
 *
 * This file is Free Software under the GNU AGPL (>=v3)
 * and comes with ABSOLUTELY NO WARRANTY! Check out the
 * documentation coming with Dive4Elements River for details.
 */

package org.dive4elements.river.client.shared.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @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 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();

    /**
     * Returns the ID of the measurement station
     */
    Integer getID();

    /**
     * Returns the operator of the measurement station
     */
    String getOperator();

    /**
     * Returns the start time of the observation at this measurement station
     */
    Date getStartTime();

    /**
     * Returns the end time of the observation at this measurement station
     */
    Date getStopTime();

    /**
     * Returns the name of the gauge in reference to this measurement station
     */
    String getGaugeName();
}

http://dive4elements.wald.intevation.org