comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java @ 4207:4500fc892254

Made FacetTypes.IS static.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 22 Oct 2012 07:50:55 +0200
parents 58864f4f6e3b
children 8fbe7012c4b9
comparison
equal deleted inserted replaced
4206:6b0683f5c530 4207:4500fc892254
1 package de.intevation.flys.artifacts.model; 1 package de.intevation.flys.artifacts.model;
2 2
3 /** 'Types' of facets. */ 3 /** 'Types' of facets. */
4 public interface FacetTypes { 4 public interface FacetTypes {
5 5
6 public class IS { 6 /** Static helper class to determine if a Facet name is of a generalized
7 * 'type'. */
8 public static class IS {
7 public static boolean WQ_KM(String type) { 9 public static boolean WQ_KM(String type) {
8 return type.equals(DISCHARGE_LONGITUDINAL_W) 10 return type.equals(DISCHARGE_LONGITUDINAL_W)
9 || type.equals(LONGITUDINAL_W); 11 || type.equals(LONGITUDINAL_W);
10 } 12 }
11 public static boolean W_KM(String type) { 13 public static boolean W_KM(String type) {

http://dive4elements.wald.intevation.org