- <field name="list" collection="arraylist"
- type="org.argeo.slc.core.test.tree.TreeTestResult">
- <bind-xml auto-naming="deriveByClass" />
+ <field name="name">
+ <bind-xml name="name" node="attribute" />
+ </field>
+ <field name="version">
+ <bind-xml name="version" node="attribute" />
+ </field>
+ <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>