changeset 6390:94f7e1a4736b

New facet type in FacetTypes.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 21 Jun 2013 15:31:07 +0200
parents 7b67b952b517
children ec537afacac2
files artifacts/src/main/java/org/dive4elements/river/artifacts/model/FacetTypes.java
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/FacetTypes.java	Fri Jun 21 15:30:26 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/FacetTypes.java	Fri Jun 21 15:31:07 2013 +0200
@@ -112,7 +112,10 @@
             return false;
         }
         public static boolean SEDIMENT_LOAD(String type) {
-            return type.startsWith("sedimentload");
+            return type.startsWith("sedimentload") && !type.contains("unknown");
+        }
+        public static boolean SEDIMENT_LOAD_UNKNOWN(String type) {
+            return type.equals("sedimentload.unknown");
         }
         public static boolean SEDIMENT_LOAD_NO_FLOAT(String type) {
             return type.startsWith("sedimentload") && !type.contains("susp");
@@ -310,6 +313,7 @@
     String SEDIMENT_LOAD_SUSP_SEDIMENT = "sedimentload.susp_sediment";
     String SEDIMENT_LOAD_TOTAL         = "sedimentload.total";
     String SEDIMENT_LOAD_TOTAL_LOAD    = "sedimentload.total_load";
+    String SEDIMENT_LOAD_UNKOWN        = "sedimentload.unknown";
 
     String SQ_OVERVIEW       = "sq_overview";
 

http://dive4elements.wald.intevation.org