changeset 5654:c5854dc8d6a1

FacetTypes: Add sedimentload IS macro.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 11 Apr 2013 10:55:41 +0200
parents 5231e6b849ce
children 53a2ceeae9a3
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	Thu Apr 11 10:52:56 2013 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java	Thu Apr 11 10:55:41 2013 +0200
@@ -103,6 +103,9 @@
 
             return false;
         }
+        public static boolean SEDIMENT_LOAD(String type) {
+            return type.startsWith("sedimentload");
+        }
         public static boolean SEDIMENT_LOAD_NO_FLOAT(String type) {
             return type.startsWith("sedimentload") && !type.contains("susp");
         }

http://dive4elements.wald.intevation.org