diff 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
line wrap: on
line diff
--- a/gnv-artifacts/doc/conf/products/timeseries/conf_timeseriespoint.xml	Mon Dec 07 17:03:24 2009 +0000
+++ b/gnv-artifacts/doc/conf/products/timeseries/conf_timeseriespoint.xml	Tue Dec 08 08:39:03 2009 +0000
@@ -7,25 +7,25 @@
       * Statistics
       * CSV
       * ODV -->
-    <transitions>
+    <states>
         
-        <!--  The required Transitionsteps which must be done until rendering
-              the OutputFormats. Each Transition is represented one required 
+        <!--  The required statesteps which must be done until rendering
+              the OutputFormats. Each state is represented one required 
               Step. One Steps can consume specified InputParameters an after 
               that it can calculate new Data which will be used as possible 
-              InputValues in the next Transition-Step from each Transition it 
-              is only possible to move to those Transitions which are Configured 
-              in the rechableTransitions-Tag  -->
+              InputValues in the next state-Step from each state it 
+              is only possible to move to those states which are Configured 
+              in the rechablestates-Tag  -->
               
-         <!-- Description of the Transition-Attributes:
-              * id: The id of the Transition. This must be unique in one Artifact.
-                    It is used to reference the Transition eg. in 
-                    reachableTransitions.
-              * description: A short description which should describe the Transition
-              * transition: The Class which must be load to handle the required logic,
+         <!-- Description of the state-Attributes:
+              * id: The id of the state. This must be unique in one Artifact.
+                    It is used to reference the state eg. in 
+                    reachablestates.
+              * description: A short description which should describe the state
+              * state: The Class which must be load to handle the required logic,
                             This class will be load using reflection. -->
               
-        <transition id="timeseries_area" description="timeseries_area_one" transition="de.intevation.gnv.transition.DefaultTransition">
+        <state id="timeseries_area" description="timeseries_area_one" state="de.intevation.gnv.state.DefaultState">
             
             <!-- The QueryID which identifies the Query which is configured in 
                  the Queries-Properties-File.
@@ -34,7 +34,7 @@
                  Configuration.-->
             <queryID>area_filter</queryID>
             
-            <!-- The ID of the Data which will be fetched using this Transition.
+            <!-- The ID of the Data which will be fetched using this state.
                  The Name must be unique in one Artifact.
                  The Name is used for the localization and must be set into the
                  several PropertiesFiles for the localization.  -->
@@ -42,29 +42,29 @@
             
             <!-- This Flag will be used to switch between single and
                  multiselect possibility of the Data which will be fetched 
-                 using this transition.  -->
+                 using this state.  -->
             <data-multiselect>false</data-multiselect>
             
             <!-- Optional Flag which can be used to set that is is possible 
                  to select no entry in the Data which will be fetched using
-                 this transition. -->
+                 this state. -->
             <data-noselect>true</data-noselect>
             
-            <reachableTransitions>
-                   <!-- reachableTransitions are those Transition which can be
-                        reached as next Step. The Transition notifies in 
-                        describe-output which Transitions can be reached.
-                        The User / calling program can choose which Transition 
+            <reachablestates>
+                   <!-- reachablestates are those state which can be
+                        reached as next Step. The state notifies in 
+                        describe-output which states can be reached.
+                        The User / calling program can choose which state 
                         he/it wants to use next  -->
-                   <transition>timeseries_subarea</transition>
-                   <transition>timeseries_without_geom</transition>
-            </reachableTransitions>
+                   <state>timeseries_subarea</state>
+                   <state>timeseries_without_geom</state>
+            </reachablestates>
             
             <inputvalues>
                 <!-- At this place it is necessary to configure the Elements
-                     which must be feed and can be used in this transition.
+                     which must be feed and can be used in this state.
                      It is possible to set if the Values should be used in 
-                     the DatabaseQuery of this Transition and how often it
+                     the DatabaseQuery of this state and how often it
                      must be used.
                      The order of the Elements is also the Order of usage setting
                      the Values into the SQL-Query. -->
@@ -72,15 +72,15 @@
                 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
                 <inputvalue name="areaid" type="Integer" multiselect="false" usedinquery="0"/>
             </inputvalues>
-        </transition>
+        </state>
         
-        <transition id="timeseries_subarea" description="timeseries_subaera" transition="de.intevation.gnv.transition.DefaultTransition">
+        <state id="timeseries_subarea" description="timeseries_subaera" state="de.intevation.gnv.state.DefaultState">
             <queryID>subarea_filter</queryID>
             <dataname>subareaid</dataname>
             <data-multiselect>false</data-multiselect>
-            <reachableTransitions>
-                   <transition>timeseries_timeseriespoint</transition>
-            </reachableTransitions>
+            <reachablestates>
+                   <state>timeseries_timeseriespoint</state>
+            </reachablestates>
 
             <inputvalues>
                 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="0"/>
@@ -88,73 +88,73 @@
                 <inputvalue name="areaid" type="Integer" multiselect="false" usedinquery="1"/>
                 <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="0"/>
             </inputvalues>
-        </transition>
+        </state>
         
-        <transition id="timeseries_without_geom" description="timeseries_mesh_without_geom" transition="de.intevation.gnv.transition.DefaultTransition">
+        <state id="timeseries_without_geom" description="timeseries_mesh_without_geom" state="de.intevation.gnv.state.DefaultState">
            <queryID>timeseries_timeseriespoint</queryID>
            <dataname>featureid</dataname>
            <data-multiselect>false</data-multiselect>
-           <reachableTransitions>
-                  <transition>timeseries_parameter</transition>
-           </reachableTransitions>
+           <reachablestates>
+                  <state>timeseries_parameter</state>
+           </reachablestates>
            <inputvalues>
                <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="1"/>
                <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
                <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="0"/>
            </inputvalues>
-       </transition>
+       </state>
         
-        <transition id="timeseries_timeseriespoint" description="timeseries_timeseriespoint" transition="de.intevation.gnv.transition.DefaultTransition">
+        <state id="timeseries_timeseriespoint" description="timeseries_timeseriespoint" state="de.intevation.gnv.state.DefaultState">
             <queryID>timeseries_timeseriespoint_with_area</queryID>
             <dataname>featureid</dataname>
             <data-multiselect>false</data-multiselect>
-            <reachableTransitions>
-                <transition>timeseries_parameter</transition>
-            </reachableTransitions>
+            <reachablestates>
+                <state>timeseries_parameter</state>
+            </reachablestates>
             <inputvalues>
                 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="1"/>
                 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
                 <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="1"/>
                 <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="0"/>
             </inputvalues>
-        </transition>
+        </state>
         
-        <transition id="timeseries_parameter" description="timeseries_parameter" transition="de.intevation.gnv.transition.DefaultTransition">
+        <state id="timeseries_parameter" description="timeseries_parameter" state="de.intevation.gnv.state.DefaultState">
             <queryID>timeseries_parameter</queryID>
             <dataname>parameterid</dataname>
             <data-multiselect>true</data-multiselect>
-            <reachableTransitions>
-                <transition>timeseries_depth_height</transition>
-            </reachableTransitions>
+            <reachablestates>
+                <state>timeseries_depth_height</state>
+            </reachablestates>
             <inputvalues>
                 <inputvalue name="featureid" type="Integer" multiselect="false"/>
                 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
                 <inputvalue name="parameterid" type="Integer" multiselect="true" usedinquery="0"/>
             </inputvalues>
-        </transition>           
+        </state>           
         
-         <transition id="timeseries_depth_height" description="timeseries_depth_height" transition="de.intevation.gnv.transition.DefaultTransition">
+         <state id="timeseries_depth_height" description="timeseries_depth_height" state="de.intevation.gnv.state.DefaultState">
             <queryID>timeseries_depth_height</queryID>
             <dataname>measurementid</dataname>
             <data-multiselect>true</data-multiselect>
-            <reachableTransitions>
-                 <transition>timeseries_interval</transition>
-            </reachableTransitions>
+            <reachablestates>
+                 <state>timeseries_interval</state>
+            </reachablestates>
             <inputvalues>
                 <inputvalue name="featureid" type="Integer" multiselect="false"/>
                 <inputvalue name="parameterid" type="Integer" multiselect="true"/>
                 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
                 <inputvalue name="measurementid" type="Integer" multiselect="true" usedinquery="0"/>
             </inputvalues>
-        </transition>
+        </state>
         
-        <transition id="timeseries_interval" description="timeseries_interval" transition="de.intevation.gnv.transition.MinMaxTransition">
+        <state id="timeseries_interval" description="timeseries_interval" state="de.intevation.gnv.state.MinMaxState">
             <queryID>timeseries_interval</queryID>
             <dataname>timeinterval</dataname>
             <data-multiselect>false</data-multiselect>
-            <reachableTransitions>
-                <transition>timeseries_calculate_results</transition>
-            </reachableTransitions>
+            <reachablestates>
+                <state>timeseries_calculate_results</state>
+            </reachablestates>
             <inputvalues>
                 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
                 <inputvalue name="parameterid" type="Integer" multiselect="true"/>
@@ -162,12 +162,12 @@
                 <inputvalue name="minvalue" type="Date" multiselect="false" usedinquery="0"/>
                 <inputvalue name="maxvalue" type="Date" multiselect="false" usedinquery="0"/>
             </inputvalues>
-        </transition>
+        </state>
         
-        <!--  Last Transition is the Output-Transition. At this place the differen OutputModes are configured.
+        <!--  Last state is the Output-state. At this place the differen OutputModes are configured.
               For each OutputMode it might be necessary to configure separat Databasequery which collect the
               Data. -->
-        <transition id="timeseries_calculate_results" description="timeseries_interval" transition="de.intevation.gnv.transition.timeseries.TimeSeriesOutputTransition">
+        <state id="timeseries_calculate_results" description="timeseries_interval" state="de.intevation.gnv.state.timeseries.TimeSeriesOutputState">
             <queryID>timeseries_chart_data</queryID>
             <queryID-odv>timeseries_odv_data</queryID-odv>
             <inputvalues>
@@ -193,7 +193,7 @@
             <!--  Definition of the TimeGaps which are required to render the Charts properly.
                   each Parameter in each FIS can have   -->
             <time-gap-definition xlink:href="${artifacts.config.dir}/products/timeseries/timegap_definition.xml" />
-        </transition>
+        </state>
         
-    </transitions>
+    </states>
 </artifact>

http://dive4elements.wald.intevation.org