4 Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
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.
21 <!DOCTYPE mapping PUBLIC
"-//EXOLAB/Castor Mapping DTD Version 1.0//EN" "http://castor.org/mapping.dtd">
24 <description>Execution objects XML mapping
</description>
26 <class name=
"org.argeo.slc.execution.ExecutionModuleDescriptor">
27 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
30 <field name=
"version" />
31 <field name=
"label" />
32 <field name=
"description" />
33 <field name=
"executionFlows" collection=
"arraylist"
34 type=
"org.argeo.slc.execution.ExecutionFlowDescriptor">
35 <bind-xml auto-naming=
"deriveByClass" location=
"execution-flows" />
37 <field name=
"executionSpecs" collection=
"arraylist"
38 type=
"org.argeo.slc.execution.ExecutionSpec">
39 <bind-xml auto-naming=
"deriveByClass" location=
"execution-specs" />
43 <class name=
"org.argeo.slc.execution.ExecutionFlowDescriptor">
44 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
46 <field name=
"name" identity=
"true">
47 <bind-xml name=
"name" node=
"attribute" />
50 <bind-xml name=
"path" node=
"attribute" />
52 <field name=
"executionSpec">
53 <bind-xml name=
"executionSpec" node=
"attribute" reference=
"true" />
55 <field name=
"values" collection=
"map">
56 <bind-xml name=
"value" location=
"values">
57 <class name=
"org.exolab.castor.mapping.MapItem">
58 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
60 <field name=
"key" type=
"string">
61 <bind-xml name=
"key" node=
"attribute" />
64 type=
"org.argeo.slc.core.execution.AbstractExecutionValue">
65 <bind-xml auto-naming=
"deriveByClass" />
73 <class name=
"org.argeo.slc.core.execution.DefaultExecutionSpec">
74 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
76 <field name=
"name" identity=
"true">
77 <bind-xml name=
"name" node=
"attribute" />
79 <field name=
"attributes" collection=
"map">
80 <bind-xml name=
"value" location=
"values">
81 <class name=
"org.exolab.castor.mapping.MapItem">
82 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
84 <field name=
"key" type=
"string">
85 <bind-xml name=
"key" node=
"attribute" />
88 type=
"org.argeo.slc.core.execution.AbstractSpecAttribute">
89 <bind-xml auto-naming=
"deriveByClass" />
96 <class name=
"org.argeo.slc.core.execution.AbstractSpecAttribute">
97 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
99 <field name=
"isParameter">
100 <bind-xml name=
"isParameter" node=
"attribute" />
102 <field name=
"isFrozen">
103 <bind-xml name=
"isFrozen" node=
"attribute" />
105 <field name=
"isHidden">
106 <bind-xml name=
"isHidden" node=
"attribute" />
110 <class name=
"org.argeo.slc.core.execution.PrimitiveSpecAttribute"
111 extends=
"org.argeo.slc.core.execution.AbstractSpecAttribute">
112 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
115 <bind-xml name=
"type" node=
"attribute" />
117 <field name=
"value" type=
"string"
118 handler=
"org.argeo.slc.castor.execution.PrimitiveFieldHandler">
119 <bind-xml node=
"text" />
123 <class name=
"org.argeo.slc.core.execution.RefSpecAttribute"
124 extends=
"org.argeo.slc.core.execution.AbstractSpecAttribute">
125 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
127 <field name=
"targetClassName">
128 <bind-xml name=
"targetClassName" node=
"attribute" />
130 <field name=
"choices" collection=
"arraylist"
131 type=
"org.argeo.slc.core.execution.RefValueChoice">
132 <bind-xml auto-naming=
"deriveByClass" location=
"choices" />
137 <class name=
"org.argeo.slc.core.execution.AbstractExecutionValue">
138 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
142 <class name=
"org.argeo.slc.core.execution.PrimitiveValue"
143 extends=
"org.argeo.slc.core.execution.AbstractExecutionValue">
144 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
147 <bind-xml name=
"type" node=
"attribute" />
149 <field name=
"value" type=
"string"
150 handler=
"org.argeo.slc.castor.execution.PrimitiveFieldHandler">
151 <bind-xml node=
"text" />
155 <class name=
"org.argeo.slc.core.execution.RefValue" extends=
"org.argeo.slc.core.execution.AbstractExecutionValue">
156 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
159 <bind-xml name=
"ref" node=
"attribute" />
162 <bind-xml name=
"type" node=
"attribute" />
166 <class name=
"org.argeo.slc.core.execution.RefValueChoice">
167 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
170 <bind-xml name=
"name" node=
"attribute" />
172 <field name=
"description" />