]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.castor/src/main/resources/org/argeo/slc/castor/execution.xml
Data model for batch entry, spec editor basis.
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.castor / src / main / resources / org / argeo / slc / castor / execution.xml
1 <?xml version="1.0"?>
2
3 <!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN" "http://castor.org/mapping.dtd">
4
5 <mapping>
6 <description>Execution objects XML mapping</description>
7
8 <class name="org.argeo.slc.execution.ExecutionModuleDescriptor">
9 <map-to ns-uri="http://argeo.org/projects/slc/schemas"
10 ns-prefix="slc" />
11 <field name="name" />
12 <field name="version" />
13 <field name="executionFlows" collection="arraylist"
14 type="org.argeo.slc.execution.ExecutionFlowDescriptor">
15 <bind-xml auto-naming="deriveByClass" location="executionFlows" />
16 </field>
17 <field name="executionSpecs" collection="arraylist"
18 type="org.argeo.slc.execution.ExecutionSpec">
19 <bind-xml auto-naming="deriveByClass" location="executionSpecs" />
20 </field>
21 </class>
22
23 <class name="org.argeo.slc.execution.ExecutionFlowDescriptor">
24 <map-to ns-uri="http://argeo.org/projects/slc/schemas"
25 ns-prefix="slc" />
26 <field name="name" identity="true">
27 <bind-xml name="name" node="attribute" />
28 </field>
29 <field name="executionSpec">
30 <bind-xml name="executionSpec" node="attribute" reference="true" />
31 </field>
32 <field name="values" collection="map">
33 <bind-xml name="value" location="values">
34 <class name="org.exolab.castor.mapping.MapItem">
35 <map-to ns-uri="http://argeo.org/projects/slc/schemas"
36 ns-prefix="slc" />
37 <field name="key" type="string">
38 <bind-xml name="key" node="attribute" />
39 </field>
40 <field name="value" type="string">
41 <bind-xml node="text" />
42 </field>
43 </class>
44 </bind-xml>
45 </field>
46 </class>
47
48 <class name="org.argeo.slc.core.execution.SimpleExecutionSpec">
49 <map-to ns-uri="http://argeo.org/projects/slc/schemas"
50 ns-prefix="slc" />
51 <field name="name" identity="true">
52 <bind-xml name="name" node="attribute" />
53 </field>
54 <field name="attributes" collection="map">
55 <bind-xml name="value" location="values">
56 <class name="org.exolab.castor.mapping.MapItem">
57 <map-to ns-uri="http://argeo.org/projects/slc/schemas"
58 ns-prefix="slc" />
59 <field name="key" type="string">
60 <bind-xml name="key" node="attribute" />
61 </field>
62 <field name="value">
63 <bind-xml auto-naming="deriveByClass" />
64 </field>
65 </class>
66 </bind-xml>
67 </field>
68 </class>
69
70 <class name="org.argeo.slc.core.execution.AbstractSpecAttribute">
71 <map-to ns-uri="http://argeo.org/projects/slc/schemas"
72 ns-prefix="slc" />
73 <field name="isParameter">
74 <bind-xml name="isParameter" node="attribute" />
75 </field>
76 </class>
77
78 <class name="org.argeo.slc.core.execution.SimpleSpecAttribute"
79 extends="org.argeo.slc.execution.AbstractSpecAttribute">
80 <map-to ns-uri="http://argeo.org/projects/slc/schemas"
81 ns-prefix="slc" />
82 <field name="value" />
83 </class>
84
85 <class name="org.argeo.slc.core.execution.RefSpecAttribute" extends="org.argeo.slc.execution.AbstractSpecAttribute">
86 <map-to ns-uri="http://argeo.org/projects/slc/schemas"
87 ns-prefix="slc" />
88 <field name="targetClassName">
89 <bind-xml name="targetClassName" node="attribute" />
90 </field>
91 </class>
92 </mapping>