channel_mapping.xml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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="WCMOBJS" />
  8. <field name="infoEntityColl" collection="collection"
  9. type="com.trs.template.persistent.IInfoEntity">
  10. <bind-xml name="WCMOBJ" />
  11. </field>
  12. </class>
  13. <class name="com.trs.template.persistent.WebSiteInfoEntity"
  14. auto-complete="false">
  15. <map-to xml="WCMOBJ" />
  16. <field name="siteName">
  17. <bind-xml name="SITENAME" node="element" location="PROPERTIES"/>
  18. </field>
  19. <field name="siteId">
  20. <bind-xml name="SITEID" node="element" location="PROPERTIES"/>
  21. </field>
  22. <field name="siteDesc">
  23. <bind-xml name="SITEDESC" node="element" location="PROPERTIES"/>
  24. </field>
  25. </class>
  26. <class name="com.trs.template.persistent.BaseChannelInfoEntity"
  27. auto-complete="false">
  28. <map-to xml="WCMOBJ" />
  29. <field name="channelName">
  30. <bind-xml name="CHNLNAME" node="element" location="PROPERTIES"/>
  31. </field>
  32. <field name="channelId">
  33. <bind-xml name="CHANNELID" node="element" location="PROPERTIES"/>
  34. </field>
  35. <field name="parentId">
  36. <bind-xml name="PARENTID" node="element" location="PROPERTIES"/>
  37. </field>
  38. <field name="isRoot">
  39. <bind-xml name="ISROOT" node="element" location="PROPERTIES"/>
  40. </field>
  41. <field name="children">
  42. <bind-xml name="CHILDREN" node="element" location="PROPERTIES"/>
  43. </field>
  44. <field name="channelDesc">
  45. <bind-xml name="CHNLDESC" node="element" location="PROPERTIES"/>
  46. </field>
  47. </class>
  48. <class name="com.trs.template.persistent.TagFieldInfoEntity"
  49. auto-complete="false">
  50. <map-to xml="WCMOBJ" />
  51. <field name="objType">
  52. <bind-xml name="OBJTYPE" node="element" location="PROPERTIES"/>
  53. </field>
  54. <field name="fields">
  55. <bind-xml name="FIELD" node="element" location="PROPERTIES"/>
  56. </field>
  57. <field name="description">
  58. <bind-xml name="FIELDDESC" node="element" location="PROPERTIES"/>
  59. </field>
  60. </class>
  61. <class name="com.trs.template.persistent.TemplateInfoEntity"
  62. auto-complete="false">
  63. <map-to xml="WCMOBJ" />
  64. <field name="templateId">
  65. <bind-xml name="TEMPID" node="element" location="PROPERTIES"/>
  66. </field>
  67. <field name="templateName">
  68. <bind-xml name="TEMPNAME" node="element" location="PROPERTIES"/>
  69. </field>
  70. <field name="templateType">
  71. <bind-xml name="TEMPTYPE" node="element" location="PROPERTIES"/>
  72. </field>
  73. <field name="folderId">
  74. <bind-xml name="FOLDERID" node="element" location="PROPERTIES"/>
  75. </field>
  76. <field name="folderType">
  77. <bind-xml name="FOLDERTYPE" node="element" location="PROPERTIES"/>
  78. </field>
  79. </class>
  80. </mapping>