Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java @ 2104:bb0dede9294f
Implementation towards areas at other than first axis (flys/issue441).
flys-artifacts/trunk@3661 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 12 Jan 2012 12:29:56 +0000 |
parents | 9d92c894941b |
children | 3cbdf1b77ea5 |
comparison
equal
deleted
inserted
replaced
2103:b9f7ec9bda18 | 2104:bb0dede9294f |
---|---|
14 } | 14 } |
15 public static boolean AREA(String type) { | 15 public static boolean AREA(String type) { |
16 return type.equals(AREA) | 16 return type.equals(AREA) |
17 || type.equals(CROSS_SECTION_AREA) | 17 || type.equals(CROSS_SECTION_AREA) |
18 || type.equals(LONGITUDINAL_SECTION_AREA); | 18 || type.equals(LONGITUDINAL_SECTION_AREA); |
19 } | |
20 public static boolean W(String type) { | |
21 return type.equals(LONGITUDINAL_W) | |
22 || type.equals(DISCHARGE_LONGITUDINAL_W) | |
23 || type.equals(DURATION_W) | |
24 || type.equals(STATIC_WKMS) | |
25 || type.equals(STATIC_WQKMS_W); | |
26 } | |
27 public static boolean Q(String type) { | |
28 return type.equals(LONGITUDINAL_Q) | |
29 || type.equals(DISCHARGE_LONGITUDINAL_Q) | |
30 || type.equals(DURATION_Q) | |
31 || type.equals(STATIC_WQKMS_Q); | |
19 } | 32 } |
20 }; | 33 }; |
21 | 34 |
22 String AREA = "area"; | 35 String AREA = "area"; |
23 String CROSS_SECTION_AREA = "cross_section.area"; | 36 String CROSS_SECTION_AREA = "cross_section.area"; |