diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java @ 455:7137ef65c17c

Reintroduced titles for the "W for unausgeglichene Abfluesse". flys-artifacts/trunk@1952 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 19 May 2011 09:54:57 +0000
parents 73bc64c4a7b0
children fadf797bf123
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java	Thu May 19 09:45:29 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java	Thu May 19 09:54:57 2011 +0000
@@ -673,6 +673,11 @@
         }
     }
 
+    public boolean isQ() {
+        StateData mode = getData("wq_mode");
+        return mode != null && mode.getValue().equals("Q");
+    }
+
 
     /**
      * Returns the Q values based on a specified kilometer range.

http://dive4elements.wald.intevation.org