Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/shared/model/RiverInfo.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 | f3b821735e39 |
children |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/RiverInfo.java Wed Oct 24 16:57:53 2012 +0200 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/RiverInfo.java Wed Oct 24 17:00:37 2012 +0200 @@ -50,6 +50,12 @@ * Returns the official number of the river */ Long getOfficialNumber(); + + /** + * Returns the MeasurementStations on this river or null if they aren't + * available. + */ + List<MeasurementStation> getMeasurementStations(); }