[Dive4elements-commits] [PATCH 2 of 2] FacetTypes: Add sedimentload IS macro

Wald Commits scm-commit at wald.intevation.org
Thu Apr 11 10:47:51 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1365670541 -7200
# Node ID c5854dc8d6a1fdfca551708d76b9574f728ed728
# Parent  5231e6b849ce4df2497e7af40efdf40db7a4b0d5
FacetTypes: Add sedimentload IS macro.

diff -r 5231e6b849ce -r c5854dc8d6a1 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java
--- 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");
         }


More information about the Dive4elements-commits mailing list