comparison gnv-artifacts/doc/conf/products/timeseries/conf_timeseriespoint.xml @ 335:e964a3d8f7bc

Some Refactoring work done. Moved Transition to State gnv-artifacts/trunk@401 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 08 Dec 2009 08:39:03 +0000
parents 3eff9241ea1e
children a887074460b6
comparison
equal deleted inserted replaced
334:e37930705daa 335:e964a3d8f7bc
5 for TimeSeries on TimeSeriesPoint-Data. 5 for TimeSeries on TimeSeriesPoint-Data.
6 * Charts 6 * Charts
7 * Statistics 7 * Statistics
8 * CSV 8 * CSV
9 * ODV --> 9 * ODV -->
10 <transitions> 10 <states>
11 11
12 <!-- The required Transitionsteps which must be done until rendering 12 <!-- The required statesteps which must be done until rendering
13 the OutputFormats. Each Transition is represented one required 13 the OutputFormats. Each state is represented one required
14 Step. One Steps can consume specified InputParameters an after 14 Step. One Steps can consume specified InputParameters an after
15 that it can calculate new Data which will be used as possible 15 that it can calculate new Data which will be used as possible
16 InputValues in the next Transition-Step from each Transition it 16 InputValues in the next state-Step from each state it
17 is only possible to move to those Transitions which are Configured 17 is only possible to move to those states which are Configured
18 in the rechableTransitions-Tag --> 18 in the rechablestates-Tag -->
19 19
20 <!-- Description of the Transition-Attributes: 20 <!-- Description of the state-Attributes:
21 * id: The id of the Transition. This must be unique in one Artifact. 21 * id: The id of the state. This must be unique in one Artifact.
22 It is used to reference the Transition eg. in 22 It is used to reference the state eg. in
23 reachableTransitions. 23 reachablestates.
24 * description: A short description which should describe the Transition 24 * description: A short description which should describe the state
25 * transition: The Class which must be load to handle the required logic, 25 * state: The Class which must be load to handle the required logic,
26 This class will be load using reflection. --> 26 This class will be load using reflection. -->
27 27
28 <transition id="timeseries_area" description="timeseries_area_one" transition="de.intevation.gnv.transition.DefaultTransition"> 28 <state id="timeseries_area" description="timeseries_area_one" state="de.intevation.gnv.state.DefaultState">
29 29
30 <!-- The QueryID which identifies the Query which is configured in 30 <!-- The QueryID which identifies the Query which is configured in
31 the Queries-Properties-File. 31 the Queries-Properties-File.
32 It is possible to define no Query. 32 It is possible to define no Query.
33 In this case you have to remove this Element from the 33 In this case you have to remove this Element from the
34 Configuration.--> 34 Configuration.-->
35 <queryID>area_filter</queryID> 35 <queryID>area_filter</queryID>
36 36
37 <!-- The ID of the Data which will be fetched using this Transition. 37 <!-- The ID of the Data which will be fetched using this state.
38 The Name must be unique in one Artifact. 38 The Name must be unique in one Artifact.
39 The Name is used for the localization and must be set into the 39 The Name is used for the localization and must be set into the
40 several PropertiesFiles for the localization. --> 40 several PropertiesFiles for the localization. -->
41 <dataname>areaid</dataname> 41 <dataname>areaid</dataname>
42 42
43 <!-- This Flag will be used to switch between single and 43 <!-- This Flag will be used to switch between single and
44 multiselect possibility of the Data which will be fetched 44 multiselect possibility of the Data which will be fetched
45 using this transition. --> 45 using this state. -->
46 <data-multiselect>false</data-multiselect> 46 <data-multiselect>false</data-multiselect>
47 47
48 <!-- Optional Flag which can be used to set that is is possible 48 <!-- Optional Flag which can be used to set that is is possible
49 to select no entry in the Data which will be fetched using 49 to select no entry in the Data which will be fetched using
50 this transition. --> 50 this state. -->
51 <data-noselect>true</data-noselect> 51 <data-noselect>true</data-noselect>
52 52
53 <reachableTransitions> 53 <reachablestates>
54 <!-- reachableTransitions are those Transition which can be 54 <!-- reachablestates are those state which can be
55 reached as next Step. The Transition notifies in 55 reached as next Step. The state notifies in
56 describe-output which Transitions can be reached. 56 describe-output which states can be reached.
57 The User / calling program can choose which Transition 57 The User / calling program can choose which state
58 he/it wants to use next --> 58 he/it wants to use next -->
59 <transition>timeseries_subarea</transition> 59 <state>timeseries_subarea</state>
60 <transition>timeseries_without_geom</transition> 60 <state>timeseries_without_geom</state>
61 </reachableTransitions> 61 </reachablestates>
62 62
63 <inputvalues> 63 <inputvalues>
64 <!-- At this place it is necessary to configure the Elements 64 <!-- At this place it is necessary to configure the Elements
65 which must be feed and can be used in this transition. 65 which must be feed and can be used in this state.
66 It is possible to set if the Values should be used in 66 It is possible to set if the Values should be used in
67 the DatabaseQuery of this Transition and how often it 67 the DatabaseQuery of this state and how often it
68 must be used. 68 must be used.
69 The order of the Elements is also the Order of usage setting 69 The order of the Elements is also the Order of usage setting
70 the Values into the SQL-Query. --> 70 the Values into the SQL-Query. -->
71 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="0"/> 71 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="0"/>
72 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> 72 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
73 <inputvalue name="areaid" type="Integer" multiselect="false" usedinquery="0"/> 73 <inputvalue name="areaid" type="Integer" multiselect="false" usedinquery="0"/>
74 </inputvalues> 74 </inputvalues>
75 </transition> 75 </state>
76 76
77 <transition id="timeseries_subarea" description="timeseries_subaera" transition="de.intevation.gnv.transition.DefaultTransition"> 77 <state id="timeseries_subarea" description="timeseries_subaera" state="de.intevation.gnv.state.DefaultState">
78 <queryID>subarea_filter</queryID> 78 <queryID>subarea_filter</queryID>
79 <dataname>subareaid</dataname> 79 <dataname>subareaid</dataname>
80 <data-multiselect>false</data-multiselect> 80 <data-multiselect>false</data-multiselect>
81 <reachableTransitions> 81 <reachablestates>
82 <transition>timeseries_timeseriespoint</transition> 82 <state>timeseries_timeseriespoint</state>
83 </reachableTransitions> 83 </reachablestates>
84 84
85 <inputvalues> 85 <inputvalues>
86 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="0"/> 86 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="0"/>
87 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> 87 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
88 <inputvalue name="areaid" type="Integer" multiselect="false" usedinquery="1"/> 88 <inputvalue name="areaid" type="Integer" multiselect="false" usedinquery="1"/>
89 <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="0"/> 89 <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="0"/>
90 </inputvalues> 90 </inputvalues>
91 </transition> 91 </state>
92 92
93 <transition id="timeseries_without_geom" description="timeseries_mesh_without_geom" transition="de.intevation.gnv.transition.DefaultTransition"> 93 <state id="timeseries_without_geom" description="timeseries_mesh_without_geom" state="de.intevation.gnv.state.DefaultState">
94 <queryID>timeseries_timeseriespoint</queryID> 94 <queryID>timeseries_timeseriespoint</queryID>
95 <dataname>featureid</dataname> 95 <dataname>featureid</dataname>
96 <data-multiselect>false</data-multiselect> 96 <data-multiselect>false</data-multiselect>
97 <reachableTransitions> 97 <reachablestates>
98 <transition>timeseries_parameter</transition> 98 <state>timeseries_parameter</state>
99 </reachableTransitions> 99 </reachablestates>
100 <inputvalues> 100 <inputvalues>
101 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="1"/> 101 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="1"/>
102 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> 102 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
103 <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="0"/> 103 <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="0"/>
104 </inputvalues> 104 </inputvalues>
105 </transition> 105 </state>
106 106
107 <transition id="timeseries_timeseriespoint" description="timeseries_timeseriespoint" transition="de.intevation.gnv.transition.DefaultTransition"> 107 <state id="timeseries_timeseriespoint" description="timeseries_timeseriespoint" state="de.intevation.gnv.state.DefaultState">
108 <queryID>timeseries_timeseriespoint_with_area</queryID> 108 <queryID>timeseries_timeseriespoint_with_area</queryID>
109 <dataname>featureid</dataname> 109 <dataname>featureid</dataname>
110 <data-multiselect>false</data-multiselect> 110 <data-multiselect>false</data-multiselect>
111 <reachableTransitions> 111 <reachablestates>
112 <transition>timeseries_parameter</transition> 112 <state>timeseries_parameter</state>
113 </reachableTransitions> 113 </reachablestates>
114 <inputvalues> 114 <inputvalues>
115 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="1"/> 115 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="1"/>
116 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> 116 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
117 <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="1"/> 117 <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="1"/>
118 <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="0"/> 118 <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="0"/>
119 </inputvalues> 119 </inputvalues>
120 </transition> 120 </state>
121 121
122 <transition id="timeseries_parameter" description="timeseries_parameter" transition="de.intevation.gnv.transition.DefaultTransition"> 122 <state id="timeseries_parameter" description="timeseries_parameter" state="de.intevation.gnv.state.DefaultState">
123 <queryID>timeseries_parameter</queryID> 123 <queryID>timeseries_parameter</queryID>
124 <dataname>parameterid</dataname> 124 <dataname>parameterid</dataname>
125 <data-multiselect>true</data-multiselect> 125 <data-multiselect>true</data-multiselect>
126 <reachableTransitions> 126 <reachablestates>
127 <transition>timeseries_depth_height</transition> 127 <state>timeseries_depth_height</state>
128 </reachableTransitions> 128 </reachablestates>
129 <inputvalues> 129 <inputvalues>
130 <inputvalue name="featureid" type="Integer" multiselect="false"/> 130 <inputvalue name="featureid" type="Integer" multiselect="false"/>
131 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> 131 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
132 <inputvalue name="parameterid" type="Integer" multiselect="true" usedinquery="0"/> 132 <inputvalue name="parameterid" type="Integer" multiselect="true" usedinquery="0"/>
133 </inputvalues> 133 </inputvalues>
134 </transition> 134 </state>
135 135
136 <transition id="timeseries_depth_height" description="timeseries_depth_height" transition="de.intevation.gnv.transition.DefaultTransition"> 136 <state id="timeseries_depth_height" description="timeseries_depth_height" state="de.intevation.gnv.state.DefaultState">
137 <queryID>timeseries_depth_height</queryID> 137 <queryID>timeseries_depth_height</queryID>
138 <dataname>measurementid</dataname> 138 <dataname>measurementid</dataname>
139 <data-multiselect>true</data-multiselect> 139 <data-multiselect>true</data-multiselect>
140 <reachableTransitions> 140 <reachablestates>
141 <transition>timeseries_interval</transition> 141 <state>timeseries_interval</state>
142 </reachableTransitions> 142 </reachablestates>
143 <inputvalues> 143 <inputvalues>
144 <inputvalue name="featureid" type="Integer" multiselect="false"/> 144 <inputvalue name="featureid" type="Integer" multiselect="false"/>
145 <inputvalue name="parameterid" type="Integer" multiselect="true"/> 145 <inputvalue name="parameterid" type="Integer" multiselect="true"/>
146 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> 146 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
147 <inputvalue name="measurementid" type="Integer" multiselect="true" usedinquery="0"/> 147 <inputvalue name="measurementid" type="Integer" multiselect="true" usedinquery="0"/>
148 </inputvalues> 148 </inputvalues>
149 </transition> 149 </state>
150 150
151 <transition id="timeseries_interval" description="timeseries_interval" transition="de.intevation.gnv.transition.MinMaxTransition"> 151 <state id="timeseries_interval" description="timeseries_interval" state="de.intevation.gnv.state.MinMaxState">
152 <queryID>timeseries_interval</queryID> 152 <queryID>timeseries_interval</queryID>
153 <dataname>timeinterval</dataname> 153 <dataname>timeinterval</dataname>
154 <data-multiselect>false</data-multiselect> 154 <data-multiselect>false</data-multiselect>
155 <reachableTransitions> 155 <reachablestates>
156 <transition>timeseries_calculate_results</transition> 156 <state>timeseries_calculate_results</state>
157 </reachableTransitions> 157 </reachablestates>
158 <inputvalues> 158 <inputvalues>
159 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> 159 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
160 <inputvalue name="parameterid" type="Integer" multiselect="true"/> 160 <inputvalue name="parameterid" type="Integer" multiselect="true"/>
161 <inputvalue name="measurementid" type="Integer" multiselect="true"/> 161 <inputvalue name="measurementid" type="Integer" multiselect="true"/>
162 <inputvalue name="minvalue" type="Date" multiselect="false" usedinquery="0"/> 162 <inputvalue name="minvalue" type="Date" multiselect="false" usedinquery="0"/>
163 <inputvalue name="maxvalue" type="Date" multiselect="false" usedinquery="0"/> 163 <inputvalue name="maxvalue" type="Date" multiselect="false" usedinquery="0"/>
164 </inputvalues> 164 </inputvalues>
165 </transition> 165 </state>
166 166
167 <!-- Last Transition is the Output-Transition. At this place the differen OutputModes are configured. 167 <!-- Last state is the Output-state. At this place the differen OutputModes are configured.
168 For each OutputMode it might be necessary to configure separat Databasequery which collect the 168 For each OutputMode it might be necessary to configure separat Databasequery which collect the
169 Data. --> 169 Data. -->
170 <transition id="timeseries_calculate_results" description="timeseries_interval" transition="de.intevation.gnv.transition.timeseries.TimeSeriesOutputTransition"> 170 <state id="timeseries_calculate_results" description="timeseries_interval" state="de.intevation.gnv.state.timeseries.TimeSeriesOutputState">
171 <queryID>timeseries_chart_data</queryID> 171 <queryID>timeseries_chart_data</queryID>
172 <queryID-odv>timeseries_odv_data</queryID-odv> 172 <queryID-odv>timeseries_odv_data</queryID-odv>
173 <inputvalues> 173 <inputvalues>
174 <inputvalue name="parameterid" type="Integer" multiselect="true"/> 174 <inputvalue name="parameterid" type="Integer" multiselect="true"/>
175 <inputvalue name="measurementid" type="Integer" multiselect="true"/> 175 <inputvalue name="measurementid" type="Integer" multiselect="true"/>
191 <outputsMode name="statistics" description="Statistik zu den Daten" mime-type="text/xml"/> 191 <outputsMode name="statistics" description="Statistik zu den Daten" mime-type="text/xml"/>
192 </outputsModes> 192 </outputsModes>
193 <!-- Definition of the TimeGaps which are required to render the Charts properly. 193 <!-- Definition of the TimeGaps which are required to render the Charts properly.
194 each Parameter in each FIS can have --> 194 each Parameter in each FIS can have -->
195 <time-gap-definition xlink:href="${artifacts.config.dir}/products/timeseries/timegap_definition.xml" /> 195 <time-gap-definition xlink:href="${artifacts.config.dir}/products/timeseries/timegap_definition.xml" />
196 </transition> 196 </state>
197 197
198 </transitions> 198 </states>
199 </artifact> 199 </artifact>

http://dive4elements.wald.intevation.org