annotate flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java @ 1918:5afdf7ed0937

Added new STATIC_WKMS_INTERPOL Facet Type. flys-artifacts/trunk@3278 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 17 Nov 2011 09:13:26 +0000
parents ae8da3c61f9b
children fde3db5e68e8
rev   line source
692
22e4bffbe240 Generated facets for each output aspect.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
1 package de.intevation.flys.artifacts.model;
22e4bffbe240 Generated facets for each output aspect.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
2
22e4bffbe240 Generated facets for each output aspect.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
3 public interface FacetTypes {
22e4bffbe240 Generated facets for each output aspect.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
4
1866
dd7d6614747e Helper for FacetTypes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
5 public class IS {
dd7d6614747e Helper for FacetTypes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
6 public static boolean WQ_KM(String type) {
dd7d6614747e Helper for FacetTypes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
7 return type.equals(DISCHARGE_LONGITUDINAL_W)
dd7d6614747e Helper for FacetTypes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
8 || type.equals(LONGITUDINAL_W);
dd7d6614747e Helper for FacetTypes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
9 }
dd7d6614747e Helper for FacetTypes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
10 public static boolean W_KM(String type) {
dd7d6614747e Helper for FacetTypes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
11 return type.equals(STATIC_WKMS)
dd7d6614747e Helper for FacetTypes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
12 || type.equals(HEIGHTMARKS_POINTS)
dd7d6614747e Helper for FacetTypes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
13 || WQ_KM(type);
dd7d6614747e Helper for FacetTypes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
14 }
dd7d6614747e Helper for FacetTypes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
15 };
dd7d6614747e Helper for FacetTypes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
16
942
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 935
diff changeset
17 String FLOODMAP_WSPLGEN = "floodmap.wsplgen";
1134
bcf70a452646 Read barrier layers from filesystem while mapfile creation and build a facet for this layer in the artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1122
diff changeset
18 String FLOODMAP_BARRIERS = "floodmap.barriers";
942
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 935
diff changeset
19 String FLOODMAP_RIVERAXIS = "floodmap.riveraxis";
796c54058dc4 Added artifacts/states for WMS background an river axis and a configuration for the output-defaults.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 935
diff changeset
20 String FLOODMAP_WMSBACKGROUND = "floodmap.wmsbackground";
1805
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1723
diff changeset
21 String FLOODMAP_KMS = "floodmap.kms";
1836
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1825
diff changeset
22 String FLOODMAP_QPS = "floodmap.qps";
1855
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1836
diff changeset
23 String FLOODMAP_HWS = "floodmap.hws";
1856
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
24 String FLOODMAP_CATCHMENT = "floodmap.catchment";
1857
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
25 String FLOODMAP_FLOODPLAIN = "floodmap.floodplain";
1870
ec458853f560 Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1866
diff changeset
26 String FLOODMAP_LINES = "floodmap.lines";
1871
257f7b54a943 Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1870
diff changeset
27 String FLOODMAP_BUILDINGS = "floodmap.buildings";
1873
841af55d5e53 Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1871
diff changeset
28 String FLOODMAP_FIXPOINTS = "floodmap.fixpoints";
935
353ddfa231a7 Introduced a new output 'floodmap' for the FloodMapState.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 731
diff changeset
29
692
22e4bffbe240 Generated facets for each output aspect.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
30 String DISCHARGE_LONGITUDINAL_W = "discharge_longitudinal_section.w";
22e4bffbe240 Generated facets for each output aspect.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
31 String DISCHARGE_LONGITUDINAL_Q = "discharge_longitudinal_section.q";
22e4bffbe240 Generated facets for each output aspect.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
32 String DISCHARGE_LONGITUDINAL_C = "discharge_longitudinal_section.c";
22e4bffbe240 Generated facets for each output aspect.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
33
693
af393c5eb2c8 Write computed facets into artifacts describe document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 692
diff changeset
34 String LONGITUDINAL_W = "longitudinal_section.w";
af393c5eb2c8 Write computed facets into artifacts describe document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 692
diff changeset
35 String LONGITUDINAL_Q = "longitudinal_section.q";
1028
10bafb4f46cc Made (kind of dummy-) Annotations in LongitudinalSection diagrams visible.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 942
diff changeset
36 String LONGITUDINAL_ANNOTATION = "longitudinal_section.annotations";
692
22e4bffbe240 Generated facets for each output aspect.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
37
1151
08048bd090e6 Added very stubby WDifferences State/OutGenerator for WINFOArtifact.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1134
diff changeset
38 String W_DIFFERENCES = "w_differences";
08048bd090e6 Added very stubby WDifferences State/OutGenerator for WINFOArtifact.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1134
diff changeset
39
692
22e4bffbe240 Generated facets for each output aspect.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
40 String COMPUTED_DISCHARGE_Q = "computed_discharge_curve.q";
1085
07878836ee0d Plot "real" (respecting parameters) W and Q MainValues, yet in wrong scale.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1076
diff changeset
41 String COMPUTED_DISCHARGE_MAINVALUES_Q = "computed_discharge_curve.mainvalues.q";
07878836ee0d Plot "real" (respecting parameters) W and Q MainValues, yet in wrong scale.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1076
diff changeset
42 String COMPUTED_DISCHARGE_MAINVALUES_W = "computed_discharge_curve.mainvalues.w";
692
22e4bffbe240 Generated facets for each output aspect.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
43
1808
36de4e32631c Define newish facet types (mainvalues for discharge curves).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1805
diff changeset
44 String MAINVALUES_Q = "mainvalues.q";
36de4e32631c Define newish facet types (mainvalues for discharge curves).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1805
diff changeset
45 String MAINVALUES_W = "mainvalues.w";
36de4e32631c Define newish facet types (mainvalues for discharge curves).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1805
diff changeset
46
1111
b96ce07ba56c Added dummy sceleton for Cross Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1085
diff changeset
47 String CROSS_SECTION = "cross_section";
1122
111794adf285 Get real (but yet not parameterized) data to display in CrossSection.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1111
diff changeset
48 String CROSS_SECTION_WATER_LINE = "cross_section_water_line";
1111
b96ce07ba56c Added dummy sceleton for Cross Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1085
diff changeset
49
722
4800230fba8a Improved situtation on rendering "Abflusskurve am Pegel". Not fully working, yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 721
diff changeset
50 String DISCHARGE_CURVE = "discharge_curve.curve";
721
7298d58a1f5a Generate facets for "Abflusskurven am Pegel". Not working by now. :-/
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 710
diff changeset
51
696
708b270dfd30 OutGenerators use now facets to fetch necessary data.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 693
diff changeset
52 String DURATION_W = "duration_curve.w";
708b270dfd30 OutGenerators use now facets to fetch necessary data.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 693
diff changeset
53 String DURATION_Q = "duration_curve.q";
701
dad1a2c88f9f Base WST/CSV exports on facets. TODO: generate the facets.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 696
diff changeset
54
1891
99ca3b686dd1 Added new FacetType 'STATIC_WQ'.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1873
diff changeset
55 String STATIC_WQ = "other.wq";
1912
ae8da3c61f9b Added new STATIC_WQ_ANNOTATIONS Facet Type.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1891
diff changeset
56 String STATIC_WQ_ANNOTATIONS = "other.wq.annotations";
1866
dd7d6614747e Helper for FacetTypes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
57 String STATIC_WKMS = "other.wkms";
1825
02cd002205a3 Added 'static' wqkms data access.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1815
diff changeset
58 String STATIC_WQKMS = "other.wqkms";
1918
5afdf7ed0937 Added new STATIC_WKMS_INTERPOL Facet Type.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1912
diff changeset
59 String STATIC_WKMS_INTERPOL = "other.wkms.interpol";
1723
690037105542 Added new Artifact and Facet to access 'static' data via WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1151
diff changeset
60
1815
a97764363ba2 Apply point theme to heightmark data imported via datacage to longitudinal section diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1808
diff changeset
61 String HEIGHTMARKS_POINTS = "heightmarks_points";
a97764363ba2 Apply point theme to heightmark data imported via datacage to longitudinal section diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1808
diff changeset
62
701
dad1a2c88f9f Base WST/CSV exports on facets. TODO: generate the facets.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 696
diff changeset
63 String CSV = "csv";
dad1a2c88f9f Base WST/CSV exports on facets. TODO: generate the facets.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 696
diff changeset
64 String WST = "wst";
731
5ddb1b568f38 Added generation and configuration of AT facets.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 722
diff changeset
65 String AT = "at";
710
cded0924193d Added generator and facet for error reports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 701
diff changeset
66
cded0924193d Added generator and facet for error reports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 701
diff changeset
67 String REPORT = "report";
692
22e4bffbe240 Generated facets for each output aspect.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
68 }
22e4bffbe240 Generated facets for each output aspect.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
69 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org