Mercurial > dive4elements > river
diff flys-backend/src/main/java/de/intevation/flys/model/Gauge.java @ 3944:5fea100c5334
Add a new method to River and Gauge classes to return a http url for additional
info about the gauge or river.
flys-backend/trunk@5548 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Bjoern Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 21 Sep 2012 09:50:33 +0000 |
parents | e72c7fe202dd |
children | 26084ee6d352 |
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/model/Gauge.java Wed Sep 19 10:05:36 2012 +0000 +++ b/flys-backend/src/main/java/de/intevation/flys/model/Gauge.java Fri Sep 21 09:50:33 2012 +0000 @@ -326,5 +326,13 @@ return new MinMaxWQ(minw, maxw, minq, maxq); } + /** + * Returns a HTTP URL for additional information about this gauge + */ + public String getInfoURL() { + //FIXME fetch url from the database + return "https://flys-intern.intevation.de/Flys-3.0/"; + } + } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :