4 Copyright (C) 2007-2012 Mathieu Baudier
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
19 <!DOCTYPE mapping PUBLIC
"-//EXOLAB/Castor Mapping DTD Version 1.0//EN" "http://castor.org/mapping.dtd">
22 <description>Execution objects XML mapping
</description>
24 <class name=
"org.argeo.slc.execution.ExecutionModuleDescriptor">
25 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
28 <field name=
"version" />
29 <field name=
"label" />
30 <field name=
"description" />
31 <field name=
"executionFlows" collection=
"arraylist"
32 type=
"org.argeo.slc.execution.ExecutionFlowDescriptor">
33 <bind-xml auto-naming=
"deriveByClass" location=
"execution-flows" />
35 <field name=
"executionSpecs" collection=
"arraylist"
36 type=
"org.argeo.slc.execution.ExecutionSpec">
37 <bind-xml auto-naming=
"deriveByClass" location=
"execution-specs" />
41 <class name=
"org.argeo.slc.execution.ExecutionFlowDescriptor">
42 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
44 <field name=
"name" identity=
"true">
45 <bind-xml name=
"name" node=
"attribute" />
48 <bind-xml name=
"path" node=
"attribute" />
50 <field name=
"executionSpec">
51 <bind-xml name=
"executionSpec" node=
"attribute" reference=
"true" />
53 <field name=
"values" collection=
"map">
54 <bind-xml name=
"value" location=
"values">
55 <class name=
"org.exolab.castor.mapping.MapItem">
56 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
58 <field name=
"key" type=
"string">
59 <bind-xml name=
"key" node=
"attribute" />
62 type=
"org.argeo.slc.core.execution.AbstractExecutionValue">
63 <bind-xml auto-naming=
"deriveByClass" />
71 <class name=
"org.argeo.slc.core.execution.DefaultExecutionSpec">
72 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
74 <field name=
"name" identity=
"true">
75 <bind-xml name=
"name" node=
"attribute" />
77 <field name=
"attributes" collection=
"map">
78 <bind-xml name=
"value" location=
"values">
79 <class name=
"org.exolab.castor.mapping.MapItem">
80 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
82 <field name=
"key" type=
"string">
83 <bind-xml name=
"key" node=
"attribute" />
86 type=
"org.argeo.slc.core.execution.AbstractSpecAttribute">
87 <bind-xml auto-naming=
"deriveByClass" />
94 <class name=
"org.argeo.slc.core.execution.AbstractSpecAttribute">
95 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
97 <field name=
"isParameter">
98 <bind-xml name=
"isParameter" node=
"attribute" />
100 <field name=
"isFrozen">
101 <bind-xml name=
"isFrozen" node=
"attribute" />
103 <field name=
"isHidden">
104 <bind-xml name=
"isHidden" node=
"attribute" />
108 <class name=
"org.argeo.slc.core.execution.PrimitiveSpecAttribute"
109 extends=
"org.argeo.slc.core.execution.AbstractSpecAttribute">
110 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
113 <bind-xml name=
"type" node=
"attribute" />
115 <field name=
"value" type=
"string"
116 handler=
"org.argeo.slc.castor.execution.PrimitiveFieldHandler">
117 <bind-xml node=
"text" />
121 <class name=
"org.argeo.slc.core.execution.RefSpecAttribute"
122 extends=
"org.argeo.slc.core.execution.AbstractSpecAttribute">
123 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
125 <field name=
"targetClassName">
126 <bind-xml name=
"targetClassName" node=
"attribute" />
128 <field name=
"choices" collection=
"arraylist"
129 type=
"org.argeo.slc.core.execution.RefValueChoice">
130 <bind-xml auto-naming=
"deriveByClass" location=
"choices" />
135 <class name=
"org.argeo.slc.core.execution.AbstractExecutionValue">
136 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
140 <class name=
"org.argeo.slc.core.execution.PrimitiveValue"
141 extends=
"org.argeo.slc.core.execution.AbstractExecutionValue">
142 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
145 <bind-xml name=
"type" node=
"attribute" />
147 <field name=
"value" type=
"string"
148 handler=
"org.argeo.slc.castor.execution.PrimitiveFieldHandler">
149 <bind-xml node=
"text" />
153 <class name=
"org.argeo.slc.core.execution.RefValue" extends=
"org.argeo.slc.core.execution.AbstractExecutionValue">
154 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
157 <bind-xml name=
"ref" node=
"attribute" />
160 <bind-xml name=
"type" node=
"attribute" />
164 <class name=
"org.argeo.slc.core.execution.RefValueChoice">
165 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
168 <bind-xml name=
"name" node=
"attribute" />
170 <field name=
"description" />