changeset 4207:4500fc892254

Made FacetTypes.IS static.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 22 Oct 2012 07:50:55 +0200
parents 6b0683f5c530
children 8fbe7012c4b9
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java	Mon Oct 22 07:34:45 2012 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java	Mon Oct 22 07:50:55 2012 +0200
@@ -3,7 +3,9 @@
 /** 'Types' of facets. */
 public interface FacetTypes {
 
-    public class IS {
+    /** Static helper class to determine if a Facet name is of a generalized
+     * 'type'. */
+    public static class IS {
         public static boolean WQ_KM(String type) {
            return type.equals(DISCHARGE_LONGITUDINAL_W)
                || type.equals(LONGITUDINAL_W);

http://dive4elements.wald.intevation.org