Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java @ 3838:70976b711b7e
Extend RiverInfo and GaugeInfo to store also the info http url
flys-client/trunk@5553 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Bjoern Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 21 Sep 2012 10:52:42 +0000 |
parents | dc505433173f |
children | 8e169e4e1b57 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java Fri Sep 21 08:57:18 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java Fri Sep 21 10:52:42 2012 +0000 @@ -17,6 +17,7 @@ private boolean kmup; private Double station; private String wstunit; + private String infourl; public DefaultGaugeInfo() { } @@ -33,7 +34,8 @@ Double maxq, Double minw, Double maxw, - String wstunit) + String wstunit, + String infourl) { this.name = name; this.station = station; @@ -46,6 +48,7 @@ this.minw = minw; this.maxw = maxw; this.wstunit = wstunit; + this.infourl = infourl; } /** * Returns the name of the gauge @@ -127,4 +130,11 @@ public String getWstUnit() { return this.wstunit; } + + /** + * Returns the URL where to find additional information about this gauge + */ + public String getInfoURL() { + return this.infourl; + } }