changeset 5643:1389bb92cc82

FacetTypes: New IS macro for sediment load, prep for issue1077.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 10 Apr 2013 09:30:55 +0200
parents b5bf8a2da8d8
children bae2b1568f3d
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java	Wed Apr 10 09:30:09 2013 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java	Wed Apr 10 09:30:55 2013 +0200
@@ -103,6 +103,9 @@
 
             return false;
         }
+        public static boolean SEDIMENT_LOAD_NO_FLOAT(String type) {
+            return type.startsWith("sedimentload") && !type.contains("susp");
+        }
     };
 
     /** Available diagram/chart-types.  This enum is evaluated at certain

http://dive4elements.wald.intevation.org