Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/doc/conf/products/horizontalprofile/conf_mesh.xml @ 337:a887074460b6
Last Step of the Refactoring Work on the Transition Model.
Splitted Businesslogic between States and Transitions.
Splitted the ConfigurationElements of State and Transition in several XML-Fragments.
gnv-artifacts/trunk@403 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 08 Dec 2009 13:38:21 +0000 |
parents | e964a3d8f7bc |
children | ca5162aa644d |
comparison
equal
deleted
inserted
replaced
336:1b9ca0f2d498 | 337:a887074460b6 |
---|---|
4 <state id="horizontalprofile_mesh_area" description="horizontalprofile_mesh_area_one" state="de.intevation.gnv.state.DefaultState"> | 4 <state id="horizontalprofile_mesh_area" description="horizontalprofile_mesh_area_one" state="de.intevation.gnv.state.DefaultState"> |
5 <queryID>area_filter</queryID> | 5 <queryID>area_filter</queryID> |
6 <dataname>areaid</dataname> | 6 <dataname>areaid</dataname> |
7 <data-multiselect>false</data-multiselect> | 7 <data-multiselect>false</data-multiselect> |
8 <data-noselect>true</data-noselect> | 8 <data-noselect>true</data-noselect> |
9 <reachablestates> | |
10 <state>horizontalprofile_mesh_subarea</state> | |
11 <state>horizontalprofile_mesh_without_geom</state> | |
12 </reachablestates> | |
13 <inputvalues> | 9 <inputvalues> |
14 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="0"/> | 10 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="0"/> |
15 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> | 11 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> |
16 <inputvalue name="areaid" type="Integer" multiselect="false" usedinquery="0"/> | 12 <inputvalue name="areaid" type="Integer" multiselect="false" usedinquery="0"/> |
17 </inputvalues> | 13 </inputvalues> |
18 </state> | 14 </state> |
15 | |
16 <transition transition="de.intevation.gnv.transition.ValueCompareTransition"> | |
17 <from state="horizontalprofile_mesh_area"/> | |
18 <to state="horizontalprofile_mesh_subarea"/> | |
19 <condition inputvalue="areaid" value="n/n" operator="notequal"/> | |
20 </transition> | |
21 <transition transition="de.intevation.gnv.transition.ValueCompareTransition"> | |
22 <from state="horizontalprofile_mesh_area"/> | |
23 <to state="horizontalprofile_mesh_without_geom"/> | |
24 <condition inputvalue="areaid" value="n/n" operator="equal"/> | |
25 </transition> | |
26 | |
19 <state id="horizontalprofile_mesh_subarea" description="horizontalprofile_mesh_subaera" state="de.intevation.gnv.state.DefaultState"> | 27 <state id="horizontalprofile_mesh_subarea" description="horizontalprofile_mesh_subaera" state="de.intevation.gnv.state.DefaultState"> |
20 <queryID>subarea_filter</queryID> | 28 <queryID>subarea_filter</queryID> |
21 <dataname>subareaid</dataname> | 29 <dataname>subareaid</dataname> |
22 <data-multiselect>false</data-multiselect> | 30 <data-multiselect>false</data-multiselect> |
23 <reachablestates> | |
24 <state>horizontalprofile_mesh</state> | |
25 </reachablestates> | |
26 <inputvalues> | 31 <inputvalues> |
27 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="0"/> | 32 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="0"/> |
28 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> | 33 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> |
29 <inputvalue name="areaid" type="Integer" multiselect="false" usedinquery="1"/> | 34 <inputvalue name="areaid" type="Integer" multiselect="false" usedinquery="1"/> |
30 <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="0"/> | 35 <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="0"/> |
31 </inputvalues> | 36 </inputvalues> |
32 </state> | 37 </state> |
33 | 38 |
39 <transition transition="de.intevation.gnv.transition.DefaultTransition"> | |
40 <from state="horizontalprofile_mesh_subarea"/> | |
41 <to state="horizontalprofile_mesh"/> | |
42 </transition> | |
43 | |
34 <state id="horizontalprofile_mesh_without_geom" description="horizontalprofile_mesh_without_geom" state="de.intevation.gnv.state.DefaultState"> | 44 <state id="horizontalprofile_mesh_without_geom" description="horizontalprofile_mesh_without_geom" state="de.intevation.gnv.state.DefaultState"> |
35 <queryID>verticalprofile_mesh</queryID> | 45 <queryID>verticalprofile_mesh</queryID> |
36 <dataname>meshid</dataname> | 46 <dataname>meshid</dataname> |
37 <data-multiselect>false</data-multiselect> | 47 <data-multiselect>false</data-multiselect> |
38 <reachablestates> | |
39 <state>horizontalprofile_mesh_coordinate</state> | |
40 </reachablestates> | |
41 <inputvalues> | 48 <inputvalues> |
42 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="1"/> | 49 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="1"/> |
43 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> | 50 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> |
44 <inputvalue name="meshid" type="Integer" multiselect="false" usedinquery="0"/> | 51 <inputvalue name="meshid" type="Integer" multiselect="false" usedinquery="0"/> |
45 </inputvalues> | 52 </inputvalues> |
46 </state> | 53 </state> |
54 | |
55 <transition transition="de.intevation.gnv.transition.DefaultTransition"> | |
56 <from state="horizontalprofile_mesh_without_geom"/> | |
57 <to state="horizontalprofile_mesh_coordinate"/> | |
58 </transition> | |
47 | 59 |
48 <state id="horizontalprofile_mesh" description="horizontalprofile_mesh" state="de.intevation.gnv.state.DefaultState"> | 60 <state id="horizontalprofile_mesh" description="horizontalprofile_mesh" state="de.intevation.gnv.state.DefaultState"> |
49 <queryID>verticalprofile_mesh_with_area</queryID> | 61 <queryID>verticalprofile_mesh_with_area</queryID> |
50 <dataname>meshid</dataname> | 62 <dataname>meshid</dataname> |
51 <data-multiselect>false</data-multiselect> | 63 <data-multiselect>false</data-multiselect> |
52 <reachablestates> | |
53 <state>horizontalprofile_mesh_coordinate</state> | |
54 </reachablestates> | |
55 <inputvalues> | 64 <inputvalues> |
56 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="1"/> | 65 <inputvalue name="sourceid" type="Integer" multiselect="false" usedinquery="1"/> |
57 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> | 66 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> |
58 <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="1"/> | 67 <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="1"/> |
59 <inputvalue name="meshid" type="Integer" multiselect="false" usedinquery="0"/> | 68 <inputvalue name="meshid" type="Integer" multiselect="false" usedinquery="0"/> |
60 </inputvalues> | 69 </inputvalues> |
61 </state> | 70 </state> |
62 | 71 |
72 <transition transition="de.intevation.gnv.transition.DefaultTransition"> | |
73 <from state="horizontalprofile_mesh"/> | |
74 <to state="horizontalprofile_mesh_coordinate"/> | |
75 </transition> | |
76 | |
63 <state id="horizontalprofile_mesh_coordinate" description="horizontalprofile_mesh_coordinate" state="de.intevation.gnv.state.SingleInputState"> | 77 <state id="horizontalprofile_mesh_coordinate" description="horizontalprofile_mesh_coordinate" state="de.intevation.gnv.state.SingleInputState"> |
64 <dataname>mesh_coordinate</dataname> | 78 <dataname>mesh_coordinate</dataname> |
65 <data-multiselect>false</data-multiselect> | 79 <data-multiselect>false</data-multiselect> |
66 <reachablestates> | |
67 <state>horizontalprofile_mesh_point</state> | |
68 </reachablestates> | |
69 <inputvalues> | 80 <inputvalues> |
70 <inputvalue name="meshid" type="Integer" multiselect="false"/> | 81 <inputvalue name="meshid" type="Integer" multiselect="false"/> |
71 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> | 82 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> |
72 <inputvalue name="mesh_coordinate" type="Coordinate" multiselect="false" usedinquery="0"/> | 83 <inputvalue name="mesh_coordinate" type="Coordinate" multiselect="false" usedinquery="0"/> |
73 </inputvalues> | 84 </inputvalues> |
74 </state> | 85 </state> |
86 | |
87 <transition transition="de.intevation.gnv.transition.DefaultTransition"> | |
88 <from state="horizontalprofile_mesh_coordinate"/> | |
89 <to state="horizontalprofile_mesh_point"/> | |
90 </transition> | |
75 | 91 |
76 <state id="horizontalprofile_mesh_point" description="horizontalprofile_mesh_point" state="de.intevation.gnv.state.CoordinateSelectionState"> | 92 <state id="horizontalprofile_mesh_point" description="horizontalprofile_mesh_point" state="de.intevation.gnv.state.CoordinateSelectionState"> |
77 <queryID>verticalprofile_mesh_point</queryID> | 93 <queryID>verticalprofile_mesh_point</queryID> |
78 <dataname>mesh_point</dataname> | 94 <dataname>mesh_point</dataname> |
79 <data-multiselect>false</data-multiselect> | 95 <data-multiselect>false</data-multiselect> |
80 <reachablestates> | |
81 <state>horizontalprofile_mesh_axis</state> | |
82 </reachablestates> | |
83 <inputvalues> | 96 <inputvalues> |
84 <inputvalue name="meshid" type="Integer" multiselect="false"/> | 97 <inputvalue name="meshid" type="Integer" multiselect="false"/> |
85 <inputvalue name="mesh_coordinate" type="Coordinate" multiselect="false"/> | 98 <inputvalue name="mesh_coordinate" type="Coordinate" multiselect="false"/> |
86 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> | 99 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> |
87 <inputvalue name="mesh_point" type="Integer" multiselect="false" usedinquery="0"/> | 100 <inputvalue name="mesh_point" type="Integer" multiselect="false" usedinquery="0"/> |
88 </inputvalues> | 101 </inputvalues> |
89 </state> | 102 </state> |
90 <state id="horizontalprofile_mesh_axis" description="horizontalprofile_mesh_point" state="de.intevation.gnv.state.profile.horizontal.NorthSouthEastWestState"> | 103 |
104 <transition transition="de.intevation.gnv.transition.DefaultTransition"> | |
105 <from state="horizontalprofile_mesh_point"/> | |
106 <to state="horizontalprofile_mesh_axis"/> | |
107 </transition> | |
108 | |
109 <state id="horizontalprofile_mesh_axis" description="horizontalprofile_mesh_point" state="de.intevation.gnv.state.profile.horizontal.NorthSouthEastWestState"> | |
91 <dataname>axisid</dataname> | 110 <dataname>axisid</dataname> |
92 <data-multiselect>false</data-multiselect> | 111 <data-multiselect>false</data-multiselect> |
93 <reachablestates> | |
94 <state>horizontalprofile_meshpoint_parameter</state> | |
95 </reachablestates> | |
96 <inputvalues> | 112 <inputvalues> |
97 <inputvalue name="meshid" type="Integer" multiselect="false"/> | 113 <inputvalue name="meshid" type="Integer" multiselect="false"/> |
98 <inputvalue name="mesh_point" type="Integer" multiselect="false"/> | 114 <inputvalue name="mesh_point" type="Integer" multiselect="false"/> |
99 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> | 115 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> |
100 <inputvalue name="axisid" type="AttributeName" multiselect="false" usedinquery="0"/> | 116 <inputvalue name="axisid" type="AttributeName" multiselect="false" usedinquery="0"/> |
101 </inputvalues> | 117 </inputvalues> |
102 </state> | 118 </state> |
119 | |
120 <transition transition="de.intevation.gnv.transition.DefaultTransition"> | |
121 <from state="horizontalprofile_mesh_axis"/> | |
122 <to state="horizontalprofile_meshpoint_parameter"/> | |
123 </transition> | |
124 | |
103 <state id="horizontalprofile_meshpoint_parameter" description="horizontalprofile_meshpoint_parameter" state="de.intevation.gnv.state.DefaultState"> | 125 <state id="horizontalprofile_meshpoint_parameter" description="horizontalprofile_meshpoint_parameter" state="de.intevation.gnv.state.DefaultState"> |
104 <queryID>verticalprofile_mesh_parameter</queryID> | 126 <queryID>verticalprofile_mesh_parameter</queryID> |
105 <dataname>parameterid</dataname> | 127 <dataname>parameterid</dataname> |
106 <data-multiselect>true</data-multiselect> | 128 <data-multiselect>true</data-multiselect> |
107 <reachablestates> | |
108 <state>horizontalprofile_meshpoint_depth</state> | |
109 </reachablestates> | |
110 <inputvalues> | 129 <inputvalues> |
111 <inputvalue name="meshid" type="Integer" multiselect="false" usedinquery="1"/> | 130 <inputvalue name="meshid" type="Integer" multiselect="false" usedinquery="1"/> |
112 <inputvalue name="mesh_point" type="Integer" multiselect="false" usedinquery="0"/> | 131 <inputvalue name="mesh_point" type="Integer" multiselect="false" usedinquery="0"/> |
113 <inputvalue name="axisid" type="AttributeName" multiselect="false" usedinquery="0"/> | 132 <inputvalue name="axisid" type="AttributeName" multiselect="false" usedinquery="0"/> |
114 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> | 133 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> |
115 <inputvalue name="parameterid" type="Integer" multiselect="true" useinquery="0"/> | 134 <inputvalue name="parameterid" type="Integer" multiselect="true" useinquery="0"/> |
116 </inputvalues> | 135 </inputvalues> |
117 </state> | 136 </state> |
118 | 137 |
138 <transition transition="de.intevation.gnv.transition.DefaultTransition"> | |
139 <from state="horizontalprofile_meshpoint_parameter"/> | |
140 <to state="horizontalprofile_meshpoint_depth"/> | |
141 </transition> | |
119 | 142 |
120 <state id="horizontalprofile_meshpoint_depth" description="horizontalprofile_meshpoint_depth" state="de.intevation.gnv.state.DefaultState"> | 143 <state id="horizontalprofile_meshpoint_depth" description="horizontalprofile_meshpoint_depth" state="de.intevation.gnv.state.DefaultState"> |
121 <queryID>horizontalprofile_meshpoint_depth</queryID> | 144 <queryID>horizontalprofile_meshpoint_depth</queryID> |
122 <dataname>depthid</dataname> | 145 <dataname>depthid</dataname> |
123 <data-multiselect>true</data-multiselect> | 146 <data-multiselect>true</data-multiselect> |
124 <reachablestates> | |
125 <state>horizontalprofile_mesh_date</state> | |
126 </reachablestates> | |
127 <inputvalues> | 147 <inputvalues> |
128 <inputvalue name="meshid" type="Integer" multiselect="false" usedinquery="1"/> | 148 <inputvalue name="meshid" type="Integer" multiselect="false" usedinquery="1"/> |
129 <inputvalue name="mesh_point" type="Integer" multiselect="false" usedinquery="2"/> | 149 <inputvalue name="mesh_point" type="Integer" multiselect="false" usedinquery="2"/> |
130 <inputvalue name="axisid" type="AttributeName" multiselect="false" usedinquery="0"/> | 150 <inputvalue name="axisid" type="AttributeName" multiselect="false" usedinquery="0"/> |
131 <inputvalue name="parameterid" type="Integer" multiselect="true" useinquery="0"/> | 151 <inputvalue name="parameterid" type="Integer" multiselect="true" useinquery="0"/> |
132 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> | 152 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> |
133 <inputvalue name="depthid" type="Integer" multiselect="true" usedinquery="0"/> | 153 <inputvalue name="depthid" type="Integer" multiselect="true" usedinquery="0"/> |
134 </inputvalues> | 154 </inputvalues> |
135 </state> | 155 </state> |
136 | 156 |
157 <transition transition="de.intevation.gnv.transition.DefaultTransition"> | |
158 <from state="horizontalprofile_meshpoint_depth"/> | |
159 <to state="horizontalprofile_mesh_date"/> | |
160 </transition> | |
161 | |
137 <state id="horizontalprofile_mesh_date" description="horizontalprofile_mesh_date" state="de.intevation.gnv.state.DefaultState"> | 162 <state id="horizontalprofile_mesh_date" description="horizontalprofile_mesh_date" state="de.intevation.gnv.state.DefaultState"> |
138 <queryID>verticalprofile_mesh_date</queryID> | 163 <queryID>verticalprofile_mesh_date</queryID> |
139 <dataname>dateid</dataname> | 164 <dataname>dateid</dataname> |
140 <data-multiselect>true</data-multiselect> | 165 <data-multiselect>true</data-multiselect> |
141 <reachablestates> | |
142 <state>horizontalprofile_mesh_calculate_results</state> | |
143 </reachablestates> | |
144 <inputvalues> | 166 <inputvalues> |
145 <inputvalue name="meshid" type="Integer" multiselect="false" usedinquery="1"/> | 167 <inputvalue name="meshid" type="Integer" multiselect="false" usedinquery="1"/> |
146 <inputvalue name="mesh_point" type="Integer" multiselect="false" usedinquery="0"/> | 168 <inputvalue name="mesh_point" type="Integer" multiselect="false" usedinquery="0"/> |
147 <inputvalue name="axisid" type="AttributeName" multiselect="false" usedinquery="0"/> | 169 <inputvalue name="axisid" type="AttributeName" multiselect="false" usedinquery="0"/> |
148 <inputvalue name="parameterid" type="Integer" multiselect="true" usedinquery="1"/> | 170 <inputvalue name="parameterid" type="Integer" multiselect="true" usedinquery="1"/> |
149 <inputvalue name="depthid" type="Integer" multiselect="true" usedinquery="0"/> | 171 <inputvalue name="depthid" type="Integer" multiselect="true" usedinquery="0"/> |
150 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> | 172 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> |
151 <inputvalue name="dateid" type="Date" multiselect="true" usedinquery="0"/> | 173 <inputvalue name="dateid" type="Date" multiselect="true" usedinquery="0"/> |
152 </inputvalues> | 174 </inputvalues> |
153 </state> | 175 </state> |
176 | |
177 <transition transition="de.intevation.gnv.transition.DefaultTransition"> | |
178 <from state="horizontalprofile_mesh_date"/> | |
179 <to state="horizontalprofile_mesh_calculate_results"/> | |
180 </transition> | |
154 | 181 |
155 <state id="horizontalprofile_mesh_calculate_results" description="horizontalprofile_mesh_calculate_results" state="de.intevation.gnv.state.profile.horizontal.HorizontalProfileOutputState"> | 182 <state id="horizontalprofile_mesh_calculate_results" description="horizontalprofile_mesh_calculate_results" state="de.intevation.gnv.state.profile.horizontal.HorizontalProfileOutputState"> |
156 <queryID>horizontalprofile_mesh_chart_data</queryID> | 183 <queryID>horizontalprofile_mesh_chart_data</queryID> |
157 <queryID-odv>horizontalprofile_mesh_odv_data</queryID-odv> | 184 <queryID-odv>horizontalprofile_mesh_odv_data</queryID-odv> |
158 <inputvalues> | 185 <inputvalues> |