Mercurial > dive4elements > river
diff flys-backend/src/main/java/de/intevation/flys/model/River.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 | f210432f4383 |
children | 26084ee6d352 |
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/model/River.java Wed Sep 19 10:05:36 2012 +0000 +++ b/flys-backend/src/main/java/de/intevation/flys/model/River.java Fri Sep 21 09:50:33 2012 +0000 @@ -316,5 +316,13 @@ return result; } + + /** + * Returns a HTTP URL for additional information about this river + */ + 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 :