field_mapping_mock.xml 845 B

1234567891011121314151617181920212223242526
  1. <?xml version="1.0" encoding="GB2312"?>
  2. <!DOCTYPE databases PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN"
  3. "http://castor.exolab.org/mapping.dtd">
  4. <mapping>
  5. <class name="com.trs.template.persistent.InfoEntities"
  6. auto-complete="false">
  7. <map-to xml="wcm-fields" />
  8. <field name="InfoEntityColl" collection="collection"
  9. type="com.trs.template.persistent.TagFieldInfoEntity">
  10. <bind-xml name="wcm-field" />
  11. </field>
  12. </class>
  13. <class name="com.trs.template.persistent.TagFieldInfoEntity"
  14. auto-complete="false">
  15. <map-to xml="wcm-field" />
  16. <field name="fields">
  17. <bind-xml name="members" node="element"/>
  18. </field>
  19. <field name="objType">
  20. <bind-xml name="type" node="element"/>
  21. </field>
  22. <field name="description">
  23. <bind-xml name="desc" node="element"/>
  24. </field>
  25. </class>
  26. </mapping>