Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/shared/model/MeasurementStation.java @ 4248:fc742c039f30
Add model for MeasurementStation client side
Add a client mode representing the MeasurementStation
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Wed, 24 Oct 2012 16:57:53 +0200 |
parents | |
children | d5d68c5bf085 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/MeasurementStation.java Wed Oct 24 16:57:53 2012 +0200 @@ -0,0 +1,45 @@ +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(); +}