changeset 3945:26084ee6d352

Change methods names until the url is really be fetched from the db flys-backend/trunk@5551 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Fri, 21 Sep 2012 10:47:32 +0000
parents 5fea100c5334
children 948c7289fc42
files flys-backend/ChangeLog flys-backend/src/main/java/de/intevation/flys/model/Gauge.java flys-backend/src/main/java/de/intevation/flys/model/River.java
diffstat 3 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/ChangeLog	Fri Sep 21 09:50:33 2012 +0000
+++ b/flys-backend/ChangeLog	Fri Sep 21 10:47:32 2012 +0000
@@ -1,3 +1,10 @@
+2012-09-21	Björn Ricks <bjoern.ricks@intevation.de>
+
+	* src/main/java/de/intevation/flys/model/River.java,
+	  src/main/java/de/intevation/flys/model/Gauge.java:
+	  Rename getInfoURL methods to fetchInfoURL until the values are fetched
+	  from the db to statisfy hibernate.
+
 2012-09-21	Björn Ricks <bjoern.ricks@intevation.de>
 
 	* src/main/java/de/intevation/flys/model/River.java,
--- a/flys-backend/src/main/java/de/intevation/flys/model/Gauge.java	Fri Sep 21 09:50:33 2012 +0000
+++ b/flys-backend/src/main/java/de/intevation/flys/model/Gauge.java	Fri Sep 21 10:47:32 2012 +0000
@@ -329,7 +329,7 @@
     /**
      * Returns a HTTP URL for additional information about this gauge
      */
-    public String getInfoURL() {
+    public String fetchInfoURL() {
         //FIXME fetch url from the database
         return "https://flys-intern.intevation.de/Flys-3.0/";
     }
--- a/flys-backend/src/main/java/de/intevation/flys/model/River.java	Fri Sep 21 09:50:33 2012 +0000
+++ b/flys-backend/src/main/java/de/intevation/flys/model/River.java	Fri Sep 21 10:47:32 2012 +0000
@@ -320,7 +320,7 @@
     /**
      * Returns a HTTP URL for additional information about this river
      */
-    public String getInfoURL() {
+    public String fetchInfoURL() {
         //FIXME fetch url from the database
         return "https://flys-intern.intevation.de/Flys-3.0/";
     }

http://dive4elements.wald.intevation.org