changeset 7109:9e2c7e0ffc63 generator-refactoring

Also handle subtypes of Discharge longitundial Q facets. This fixes processing of the "Umh├╝llende" facets.
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 24 Sep 2013 11:29:18 +0200
parents 54fa03dad18c
children 5b20cf9926b7
files artifacts/src/main/java/org/dive4elements/river/exports/process/QOutProcessor.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/QOutProcessor.java	Tue Sep 24 11:28:29 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/QOutProcessor.java	Tue Sep 24 11:29:18 2013 +0200
@@ -96,7 +96,7 @@
 
         if (facetType.equals(FacetTypes.STATIC_WQKMS_Q)
             || facetType.equals(FacetTypes.LONGITUDINAL_Q)
-            || facetType.equals(FacetTypes.DISCHARGE_LONGITUDINAL_Q)) {
+            || facetType.startsWith(FacetTypes.DISCHARGE_LONGITUDINAL_Q)) {
             return true;
         }
         return false;

http://dive4elements.wald.intevation.org