diff gwt-client/src/main/java/org/dive4elements/river/client/server/RiverInfoServiceImpl.java @ 8417:71144e25a6c9

Add comment to measurement stations info.
author Tom Gottfried <tom@intevation.de>
date Thu, 16 Oct 2014 13:39:22 +0200
parents 17db08570637
children 5e38e2924c07
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/server/RiverInfoServiceImpl.java	Thu Oct 16 11:15:09 2014 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/server/RiverInfoServiceImpl.java	Thu Oct 16 13:39:22 2014 +0200
@@ -240,6 +240,8 @@
                         ArtifactNamespaceContext.NAMESPACE_URI, "starttime");
                 String mstoptime = stationele.getAttributeNS(
                         ArtifactNamespaceContext.NAMESPACE_URI, "stoptime");
+                String mcomment = stationele.getAttributeNS(
+                        ArtifactNamespaceContext.NAMESPACE_URI, "comment");
 
                 String gaugename = null;
 
@@ -263,7 +265,8 @@
                         moperator,
                         parseDate(mstarttime),
                         parseDate(mstoptime),
-                        gaugename
+                        gaugename,
+                        mcomment
                         );
 
                 mstations.add(station);

http://dive4elements.wald.intevation.org