Mercurial > dive4elements > river
diff gwt-client/src/main/java/org/dive4elements/river/client/shared/model/MeasurementStation.java @ 5838:5aa05a7a34b7
Rename modules to more fitting names.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 15:23:37 +0200 |
parents | flys-client/src/main/java/org/dive4elements/river/client/shared/model/MeasurementStation.java@821a02bbfb4e |
children | 172338b1407f |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/MeasurementStation.java Thu Apr 25 15:23:37 2013 +0200 @@ -0,0 +1,73 @@ +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(); + + boolean isKmUp(); + + /** + * 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(); + + /** + * 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(); +}