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 <!-- Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org> Licensed under
20 the Apache License, Version 2.0 (the "License"); you may not use this file
21 except in compliance with the License. You may obtain a copy of the License
22 at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable
23 law or agreed to in writing, software distributed under the License is distributed
24 on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
25 express or implied. See the License for the specific language governing permissions
26 and limitations under the License. -->
30 <description>Message objects XML mapping
</description>
32 <!-- TODO: use XML entities to factorize patterns -->
35 <class name=
"org.argeo.slc.msg.ExecutionAnswer">
36 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
38 <field name=
"status" />
39 <field name=
"message" />
42 <class name=
"org.argeo.slc.msg.ReferenceList">
43 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
45 <field name=
"references" collection=
"arraylist" type=
"string">
46 <bind-xml name=
"ref" />
50 <class name=
"org.argeo.slc.msg.ObjectList">
51 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
53 <field name=
"objects" collection=
"arraylist" type=
"java.io.Serializable">
54 <bind-xml auto-naming=
"deriveByClass" />
59 <class name=
"org.argeo.slc.msg.build.ModularDistributionDescriptor"
60 extends=
"org.argeo.slc.BasicNameVersion">
61 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
63 <field name=
"modulesDescriptors" collection=
"map">
64 <bind-xml name=
"modulesDescriptor" location=
"modulesDescriptors">
65 <class name=
"org.exolab.castor.mapping.MapItem">
66 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
68 <field name=
"key" type=
"string">
69 <bind-xml name=
"type" node=
"attribute" />
71 <field name=
"value" type=
"string">
72 <bind-xml name=
"url" node=
"attribute" />
80 <class name=
"org.argeo.slc.msg.test.tree.CreateTreeTestResultRequest">
81 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
83 <field name=
"treeTestResult" type=
"org.argeo.slc.core.test.tree.TreeTestResult" />
84 <field name=
"testRunDescriptor" />
87 <class name=
"org.argeo.slc.msg.test.tree.CloseTreeTestResultRequest">
88 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
90 <field name=
"resultUuid" />
91 <field name=
"closeDate" />
94 <class name=
"org.argeo.slc.msg.test.tree.AddTreeTestResultAttachmentRequest">
95 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
97 <field name=
"resultUuid" />
98 <field name=
"attachment" type=
"org.argeo.slc.core.attachment.SimpleAttachment">
99 <bind-xml auto-naming=
"deriveByClass" />
103 <class name=
"org.argeo.slc.msg.test.tree.ResultPartRequest">
104 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
106 <field name=
"resultUuid" />
107 <field name=
"resultPart" type=
"org.argeo.slc.core.test.SimpleResultPart">
108 <bind-xml auto-naming=
"deriveByClass" />
111 <field name=
"relatedElements" collection=
"map">
112 <bind-xml name=
"element" location=
"related-elements">
113 <class name=
"org.exolab.castor.mapping.MapItem">
114 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
116 <field name=
"key" type=
"org.argeo.slc.core.structure.tree.TreeSPath"
117 handler=
"org.argeo.slc.castor.structure.tree.TreeSPathFieldHandler">
118 <bind-xml name=
"path" node=
"attribute" />
120 <field name=
"value" type=
"org.argeo.slc.core.structure.SimpleSElement">
121 <bind-xml auto-naming=
"deriveByClass" />
127 <bind-xml auto-naming=
"deriveByClass" />
129 <field name=
"testRunDescriptor" />
130 <field name=
"attributes" collection=
"hashtable">
131 <bind-xml name=
"attribute" location=
"attributes">
132 <class name=
"org.exolab.castor.mapping.MapItem">
133 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
135 <field name=
"key" type=
"string">
136 <bind-xml name=
"name" node=
"attribute" />
138 <field name=
"value" type=
"string">
139 <bind-xml node=
"text" />
146 <class name=
"org.argeo.slc.core.test.tree.ResultAttributes">
147 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
149 <field name=
"uuid" />
150 <field name=
"closeDate" />
151 <field name=
"attributes" collection=
"hashtable">
152 <bind-xml name=
"attribute" location=
"attributes">
153 <class name=
"org.exolab.castor.mapping.MapItem">
154 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
156 <field name=
"key" type=
"string">
157 <bind-xml name=
"name" node=
"attribute" />
159 <field name=
"value" type=
"string">
160 <bind-xml node=
"text" />
165 <field name=
"attachments" collection=
"arraylist"
166 type=
"org.argeo.slc.core.attachment.SimpleAttachment">
167 <bind-xml auto-naming=
"deriveByClass" location=
"attachments" />
173 <class name=
"org.argeo.slc.msg.process.SlcExecutionStepsRequest">
174 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
176 <field name=
"slcExecutionUuid" />
177 <field name=
"steps" collection=
"arraylist"
178 type=
"org.argeo.slc.process.SlcExecutionStep">
179 <bind-xml auto-naming=
"deriveByClass" location=
"steps" />
183 <class name=
"org.argeo.slc.msg.process.SlcExecutionStatusRequest">
184 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
186 <field name=
"slcExecutionUuid" />
187 <field name=
"newStatus" />
190 <class name=
"org.argeo.slc.msg.process.SlcExecutionRequest">
191 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
193 <field name=
"slcExecution" type=
"org.argeo.slc.process.SlcExecution" />
198 <class name=
"org.argeo.slc.msg.event.SlcEvent">
199 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
201 <field name=
"headers" collection=
"map">
202 <bind-xml name=
"header" location=
"headers">
203 <class name=
"org.exolab.castor.mapping.MapItem">
204 <map-to ns-uri=
"http://argeo.org/projects/slc/schemas"
206 <field name=
"key" type=
"string">
207 <bind-xml name=
"name" node=
"attribute" />
209 <field name=
"value" type=
"string">
210 <bind-xml node=
"text" />