<?xml version="1.0"?>
+<!--
+
+ Copyright (C) 2007-2012 Mathieu Baudier
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<!-- Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org> Licensed under
+ the Apache License, Version 2.0 (the "License"); you may not use this file
+ except in compliance with the License. You may obtain a copy of the License
+ at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable
+ law or agreed to in writing, software distributed under the License is distributed
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ express or implied. See the License for the specific language governing permissions
+ and limitations under the License. -->
+
<mapping>
<description>Message objects XML mapping</description>
<class name="org.argeo.slc.msg.ObjectList">
<map-to ns-uri="http://argeo.org/projects/slc/schemas"
ns-prefix="slc" />
- <field name="objects" collection="arraylist" type="java.lang.Object">
+ <field name="objects" collection="arraylist" type="java.io.Serializable">
<bind-xml auto-naming="deriveByClass" />
</field>
</class>
- <class name="org.argeo.slc.core.test.tree.TreeTestResultList">
+ <!-- BUILD -->
+ <class name="org.argeo.slc.msg.build.ModularDistributionDescriptor"
+ extends="org.argeo.slc.BasicNameVersion">
<map-to ns-uri="http://argeo.org/projects/slc/schemas"
ns-prefix="slc" />
- <field name="list" collection="arraylist"
- type="org.argeo.slc.core.test.tree.TreeTestResult">
- <bind-xml auto-naming="deriveByClass" />
+ <field name="modulesDescriptors" collection="map">
+ <bind-xml name="modulesDescriptor" location="modulesDescriptors">
+ <class name="org.exolab.castor.mapping.MapItem">
+ <map-to ns-uri="http://argeo.org/projects/slc/schemas"
+ ns-prefix="slc" />
+ <field name="key" type="string">
+ <bind-xml name="type" node="attribute" />
+ </field>
+ <field name="value" type="string">
+ <bind-xml name="url" node="attribute" />
+ </field>
+ </class>
+ </bind-xml>
</field>
</class>
<field name="resultUuid" />
<field name="closeDate" />
</class>
-
+
<class name="org.argeo.slc.msg.test.tree.AddTreeTestResultAttachmentRequest">
<map-to ns-uri="http://argeo.org/projects/slc/schemas"
ns-prefix="slc" />
</field>
</class>
- <class name="org.argeo.slc.core.test.tree.ResultAttributesList">
- <map-to ns-uri="http://argeo.org/projects/slc/schemas"
- ns-prefix="slc" />
- <field name="list" collection="arraylist"
- type="org.argeo.slc.core.test.tree.ResultAttributes">
- <bind-xml auto-naming="deriveByClass" />
- </field>
- </class>
-
<class name="org.argeo.slc.core.test.tree.ResultAttributes">
<map-to ns-uri="http://argeo.org/projects/slc/schemas"
ns-prefix="slc" />
<map-to ns-uri="http://argeo.org/projects/slc/schemas"
ns-prefix="slc" />
<field name="slcExecutionUuid" />
- <field name="steps" collection="vector"
+ <field name="steps" collection="arraylist"
type="org.argeo.slc.process.SlcExecutionStep">
<bind-xml auto-naming="deriveByClass" location="steps" />
</field>