Advertisement
Guest User

Untitled

a guest
Sep 8th, 2011
422
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 22.12 KB | None | 0 0
  1. <binding>
  2.  
  3.     <mapping name="libs"
  4.         class="xxx.importer.binding.trans.Libraries"
  5.         extends="xxx.importer.binding.trans.BaseImport">
  6.         <structure map-as="xxx.importer.binding.trans.BaseImport"></structure>
  7.         <!-- <namespace uri="http://devel.dreipplus.com/profilerImport" default="elements"></namespace> -->
  8.         <collection field="libraries"
  9.             factory="org.jibx.runtime.Utility.arrayListFactory" ordered="true">
  10.  
  11.         </collection>
  12.     </mapping>
  13.     <mapping class="xxx.importer.binding.trans.BaseImport"
  14.         abstract="true">
  15.         <value name="uuid" field="uuid" style="attribute" ident="def"></value>
  16.     </mapping>
  17.     <!-- xxx.server.api.vo.common.AbstractEntityVO private
  18.         String id; private Long dbId; xxx.server.api.vo.library.LibraryVO
  19.         private LibraryTypeVO type; /** library type */ private String name; /**
  20.         library name */ private Integer versionNumber; /** library version number
  21.         */ private String path; /** library path */ private LanguageVO language;
  22.         /** language */ private Date releaseDate; // TODO [rja] filling should be
  23.         done in service /** TODO [design] clarify source of this or add to Library
  24.         DAO */ private Date lastModificationDate; // TODO [rja] filling should be
  25.         done in /** TODO [design] clarify source of this or add to Library DAO */
  26.         // service private CategoryVO rootCategory; -->
  27.  
  28.     <mapping name="lib"
  29.         class="xxx.importer.binding.trans.LibraryImport"
  30.         extends="xxx.importer.binding.trans.BaseImport">
  31.         <structure map-as="xxx.importer.binding.trans.BaseImport"></structure>
  32.  
  33.         <value style="attribute" name="company" get-method="getCompany"
  34.             set-method="setCompany" usage="optional" />
  35.         <value style="attribute" name="libowner" get-method="getLibOwner"
  36.             set-method="setLibOwner" usage="optional" />
  37.         <value style="attribute" name="libadmin" get-method="getLibAdmin"
  38.             set-method="setLibAdmin" usage="optional" />
  39.  
  40.         <collection name="attachments" field="attachments"
  41.             item-type="xxx.importer.binding.trans.AttachmentImport"
  42.             factory="org.jibx.runtime.Utility.arrayListFactory" ordered="true"
  43.             usage="optional">
  44.         </collection>
  45.  
  46.         <structure field="library" />
  47.  
  48.         <!-- private AttachmentVO attachment; -->
  49.  
  50.         <structure field="libAttachment" name="libattachment"
  51.             get-method="getLibAttachment" set-method="setLibAttachment"
  52.             marshaller="xxx.importer.binding.util.LibObjectIDRefMapper"
  53.             unmarshaller="xxx.importer.binding.util.LibObjectIDRefMapper" />
  54.  
  55.         <!-- Object list for all Objects of the actual Library -->
  56.         <collection name="objects" field="objects" ordered="false"
  57.             factory="org.jibx.runtime.Utility.arrayListFactory" usage="optional">
  58.         </collection>
  59.         <structure name="categories" usage="optional">
  60.             <structure field="rootCategory" />
  61.         </structure>
  62.  
  63.     </mapping>
  64.     <mapping name="lang"
  65.         class="xxx.server.api.vo.common.LanguageVO">
  66.         <value style="attribute" name="uuid" get-method="getId"
  67.             set-method="setId" />
  68.         <value style="element" name="language" get-method="getLanguage"
  69.             set-method="setLanguage" usage="optional" />
  70.     </mapping>
  71.  
  72.     <mapping
  73.         class="xxx.server.api.vo.library.InternalLibraryVO"
  74.         abstract="true">
  75.  
  76.  
  77.         <!-- /** library path */ private String path; -->
  78.         <value style="attribute" name="path" get-method="getPath"
  79.             set-method="setPath" usage="optional" />
  80.         <!-- value style="attribute" name="releaseDate" get-method="getReleaseDate"
  81.             set-method="setReleaseDate" usage="optional"/ --> <!-- java.util.Date -->
  82.         <!-- value style="attribute" name="lastModificationDate" get-method="getLastModificationDate"
  83.             set-method="setLastModificationDate" usage="optional"/ -->
  84.  
  85.         <!-- /** library name */ private LocalizedTextVO name; -->
  86.         <structure name="name">
  87.             <structure name="localizedtext" get-method="getName"
  88.                 set-method="setName"
  89.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  90.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  91.             </structure>
  92.         </structure>
  93.  
  94.         <!-- private LocalizedTextVO shortText; -->
  95.         <structure name="shorttext">
  96.             <structure name="localizedtext" get-method="getShortText"
  97.                 set-method="setShortText"
  98.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  99.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  100.  
  101.             </structure>
  102.         </structure>
  103.         <!-- private LocalizedTextVO longText; -->
  104.         <structure name="longtext">
  105.             <structure name="localizedtext" get-method="getLongText"
  106.                 set-method="setLongText"
  107.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  108.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  109.  
  110.             </structure>
  111.         </structure>
  112.  
  113.         <!-- /** library type */ xxx.server.api.vo.library.LibraryType
  114.             private LibraryType type; -->
  115.         <value style="element" name="libtype" get-method="getType"
  116.             set-method="setType" />
  117.  
  118.         <!-- /** language */ xxx.server.api.vo.common.LanguageVO
  119.             private LanguageVO defaultLanguage; -->
  120.         <structure name="defaultlang">
  121.  
  122.             <structure set-method="setDefaultLanguage" get-method="getDefaultLanguage">
  123.             </structure>
  124.         </structure>
  125.         <!-- private List<LanguageVO> languages = new ArrayList<LanguageVO>(); -->
  126.         <collection name="langs" set-method="setLanguages"
  127.             get-method="getLanguages" item-type="xxx.server.api.vo.common.LanguageVO"
  128.             factory="org.jibx.runtime.Utility.arrayListFactory" ordered="true"
  129.             usage="optional">
  130.         </collection>
  131.     </mapping>
  132.  
  133.     <mapping name="producerlib"
  134.         class="xxx.server.api.vo.library.ProducerLibraryVO"
  135.         extends="xxx.server.api.vo.library.InternalLibraryVO">
  136.         <structure
  137.             map-as="xxx.server.api.vo.library.InternalLibraryVO" />
  138.     </mapping>
  139.  
  140.     <mapping name="mandantlib"
  141.         class="xxx.server.api.vo.library.MandantLibraryVO"
  142.         extends="xxx.server.api.vo.library.InternalLibraryVO">
  143.         <structure
  144.             map-as="xxx.server.api.vo.library.InternalLibraryVO" />
  145.     </mapping>
  146.  
  147.     <mapping name="projectlib"
  148.         class="xxx.server.api.vo.library.ProjectLibraryVO"
  149.         extends="xxx.server.api.vo.library.InternalLibraryVO">
  150.         <structure
  151.             map-as="xxx.server.api.vo.library.InternalLibraryVO" />
  152.     </mapping>
  153.     <mapping name="personallib"
  154.         class="xxx.server.api.vo.library.PersonalLibraryVO"
  155.         extends="xxx.server.api.vo.library.InternalLibraryVO">
  156.         <structure
  157.             map-as="xxx.server.api.vo.library.InternalLibraryVO" />
  158.     </mapping>
  159.  
  160.     <mapping name="metalib"
  161.         class="xxx.server.api.vo.library.MetaLibraryVO"
  162.         extends="xxx.server.api.vo.library.InternalLibraryVO">
  163.         <structure
  164.             map-as="xxx.server.api.vo.library.InternalLibraryVO" />
  165.     </mapping>
  166.  
  167.  
  168.  
  169.     <mapping name="category"
  170.         class="xxx.importer.binding.trans.CategoryImport"
  171.         extends="xxx.importer.binding.trans.BaseImport">
  172.         <structure map-as="xxx.importer.binding.trans.BaseImport"></structure>
  173.         <structure field="category"
  174.             type="xxx.server.api.vo.library.CategoryVO" usage="optional">
  175.  
  176.             <value style="attribute" name="created" get-method="getCreated"
  177.                 set-method="setCreated" usage="optional" />
  178.             <value style="attribute" name="modified" get-method="getModified"
  179.                 set-method="setModified" usage="optional" />
  180.  
  181.             <!-- /** library name */ private LocalizedTextVO name; -->
  182.             <structure name="name">
  183.                 <structure name="localizedtext" get-method="getName"
  184.                     set-method="setName"
  185.                     marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  186.                     unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  187.                 </structure>
  188.             </structure>
  189.         </structure>
  190.  
  191.         <collection name="entries" field="entries"
  192.             factory="org.jibx.runtime.Utility.arrayListFactory" usage="optional"
  193.             ordered="false">
  194.             <structure name="objectsroomproduct"
  195.                 type="xxx.importer.binding.trans.LibRoomObjectImport"
  196.                 marshaller="xxx.importer.binding.util.LibObjectIDRefMapper"
  197.                 unmarshaller="xxx.importer.binding.util.LibObjectIDRefMapper" />
  198.             <structure name="objectsproduct"
  199.                 type="xxx.importer.binding.trans.LibProductObjectImport"
  200.                 marshaller="xxx.importer.binding.util.LibObjectIDRefMapper"
  201.                 unmarshaller="xxx.importer.binding.util.LibObjectIDRefMapper" />
  202.             <structure name="objectsref"
  203.                 type="xxx.importer.binding.trans.LibRefObjectImport"
  204.                 marshaller="xxx.importer.binding.util.LibObjectIDRefMapper"
  205.                 unmarshaller="xxx.importer.binding.util.LibObjectIDRefMapper" />
  206.             <structure name="objectsmaterial"
  207.                 type="xxx.importer.binding.trans.LibMaterialObjectImport"
  208.                 marshaller="xxx.importer.binding.util.LibObjectIDRefMapper"
  209.                 unmarshaller="xxx.importer.binding.util.LibObjectIDRefMapper" />
  210.             <structure name="objectscolor"
  211.                 type="xxx.importer.binding.trans.LibColorObjectImport"
  212.                 marshaller="xxx.importer.binding.util.LibObjectIDRefMapper"
  213.                 unmarshaller="xxx.importer.binding.util.LibObjectIDRefMapper" />
  214.             <structure name="objectscompany"
  215.                 type="xxx.importer.binding.trans.LibCompanyObjectImport"
  216.                 marshaller="xxx.importer.binding.util.LibObjectIDRefMapper"
  217.                 unmarshaller="xxx.importer.binding.util.LibObjectIDRefMapper" />
  218.         </collection>
  219.  
  220.         <collection field="childCategories"
  221.             item-type="xxx.importer.binding.trans.CategoryImport"
  222.             usage="optional" />
  223.     </mapping>
  224.  
  225.  
  226.     <mapping name="attachment"
  227.         class="xxx.importer.binding.trans.AttachmentImport"
  228.         extends="xxx.importer.binding.trans.BaseImport">
  229.         <structure map-as="xxx.importer.binding.trans.BaseImport"></structure>
  230.         <value style="attribute" name="href" get-method="getHref"
  231.             set-method="setHref" />
  232.         <value style="attribute" name="type" get-method="getType"
  233.             set-method="setType" />
  234.         <value style="attribute" name="original-name" get-method="getOriginalname"
  235.             set-method="setOriginalname" />
  236.     </mapping>
  237.  
  238.     <mapping name="attachmentgroup"
  239.         class="xxx.importer.binding.trans.AttachmentGroupImport"
  240.         extends="xxx.importer.binding.trans.BaseImport">
  241.         <structure map-as="xxx.importer.binding.trans.BaseImport" />
  242.         <value style="attribute" name="name" get-method="getName"
  243.             set-method="setName" />
  244.  
  245.         <collection field="attachments"
  246.             factory="org.jibx.runtime.Utility.arrayListFactory">
  247.             <structure name="attachment"
  248.                 type="xxx.importer.binding.trans.AttachmentImport"
  249.                 marshaller="xxx.importer.binding.util.LibObjectIDRefMapper"
  250.                 unmarshaller="xxx.importer.binding.util.LibObjectIDRefMapper" />
  251.         </collection>
  252.     </mapping>
  253.  
  254.     <mapping
  255.         class="xxx.importer.binding.trans.LibObjectImport"
  256.         abstract="true" extends="xxx.importer.binding.trans.BaseImport">
  257.         <structure map-as="xxx.importer.binding.trans.BaseImport"></structure>
  258.     </mapping>
  259.  
  260.  
  261.     <mapping name="objectscolor"
  262.         class="xxx.importer.binding.trans.LibColorObjectImport"
  263.         extends="xxx.importer.binding.trans.LibObjectImport"
  264.         factory="xxx.importer.binding.factory.LibColorObjectImportFactory.newInstance">
  265.         <structure field="object" />
  266.  
  267.         <structure name="attachments">
  268.             <collection field="attachmentGroups"></collection>
  269.         </structure>
  270.     </mapping>
  271.  
  272.     <mapping name="color"
  273.         class="xxx.server.api.vo.library.ColorVO">
  274.  
  275.         <!-- /** library name */ private LocalizedTextVO name; -->
  276.         <structure name="name">
  277.             <structure name="localizedtext" get-method="getName"
  278.                 set-method="setName"
  279.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  280.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  281.  
  282.             </structure>
  283.         </structure>
  284.         <!-- private LocalizedTextVO longText; -->
  285.         <structure name="longtext">
  286.             <structure name="localizedtext" get-method="getLongtext"
  287.                 set-method="setLongtext"
  288.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  289.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  290.  
  291.             </structure>
  292.         </structure>
  293.         <!-- private LocalizedTextVO shortText; -->
  294.         <structure name="shorttext">
  295.             <structure name="localizedtext" get-method="getShorttext"
  296.                 set-method="setShorttext"
  297.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  298.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  299.  
  300.             </structure>
  301.         </structure>
  302.  
  303.         <value style="attribute" name="releaseDate" get-method="getReleaseDate"
  304.             set-method="setReleaseDate" usage="optional" />
  305.         <value style="attribute" name="validFrom" get-method="getValidFrom"
  306.             set-method="setValidFrom" usage="optional" />
  307.         <value style="attribute" name="validTo" get-method="getValidTo"
  308.             set-method="setValidTo" usage="optional" />
  309.  
  310.         <structure name="specifics">
  311.             <structure name="coloring" usage="optional">
  312.                 <value style="attribute" name="hex" get-method="getColor"
  313.                     set-method="setColor" usage="optional" />
  314.             </structure>
  315.         </structure>
  316.     </mapping>
  317.  
  318.     <mapping name="objectsroomproduct"
  319.         class="xxx.importer.binding.trans.LibRoomObjectImport"
  320.         extends="xxx.importer.binding.trans.LibObjectImport"
  321.         factory="xxx.importer.binding.factory.LibRoomObjectImportFactory.newInstance">
  322.         <structure field="roomobject" />
  323.  
  324.         <structure name="attachments">
  325.             <collection field="attachmentGroups"></collection>
  326.         </structure>
  327.     </mapping>
  328.  
  329.     <mapping name="roomproduct"
  330.         class="xxx.server.api.vo.library.RoomProductVO"
  331.         factory="xxx.importer.binding.factory.LibRoomObjectVOFactory.newInstance">
  332.  
  333.         <!-- /** library name */ private LocalizedTextVO name; -->
  334.         <structure name="name">
  335.             <structure name="localizedtext" get-method="getName"
  336.                 set-method="setName"
  337.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  338.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  339.  
  340.             </structure>
  341.         </structure>
  342.         <!-- private LocalizedTextVO longText; -->
  343.         <structure name="longtext">
  344.             <structure name="localizedtext" get-method="getLongtext"
  345.                 set-method="setLongtext"
  346.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  347.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  348.  
  349.             </structure>
  350.         </structure>
  351.         <!-- private LocalizedTextVO shortText; -->
  352.         <structure name="shorttext">
  353.             <structure name="localizedtext" get-method="getShorttext"
  354.                 set-method="setShorttext"
  355.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  356.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  357.  
  358.             </structure>
  359.         </structure>
  360.  
  361.         <value style="attribute" name="releaseDate" get-method="getReleaseDate"
  362.             set-method="setReleaseDate" usage="optional" />
  363.         <value style="attribute" name="validFrom" get-method="getValidFrom"
  364.             set-method="setValidFrom" usage="optional" />
  365.         <value style="attribute" name="validTo" get-method="getValidTo"
  366.             set-method="setValidTo" usage="optional" />
  367.  
  368.         <structure name="specifics" />
  369.     </mapping>
  370.  
  371.     <mapping name="objectsproduct"
  372.         class="xxx.importer.binding.trans.LibProductObjectImport"
  373.         extends="xxx.importer.binding.trans.LibObjectImport"
  374.         factory="xxx.importer.binding.factory.LibProductObjectImportFactory.newInstance">
  375.         <structure field="productobject" />
  376.  
  377.         <structure name="attachments">
  378.             <collection field="attachmentGroups"></collection>
  379.         </structure>
  380.     </mapping>
  381.  
  382.     <mapping name="product"
  383.         class="xxx.server.api.vo.library.SolitaireProductVO"
  384.         factory="xxx.importer.binding.factory.LibProductObjectVOFactory.newInstance">
  385.  
  386.  
  387.         <!-- /** library name */ private LocalizedTextVO name; -->
  388.         <structure name="name">
  389.             <structure name="localizedtext" get-method="getName"
  390.                 set-method="setName"
  391.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  392.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  393.  
  394.             </structure>
  395.         </structure>
  396.         <!-- private LocalizedTextVO longText; -->
  397.         <structure name="longtext">
  398.             <structure name="localizedtext" get-method="getLongtext"
  399.                 set-method="setLongtext"
  400.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  401.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  402.  
  403.             </structure>
  404.         </structure>
  405.         <!-- private LocalizedTextVO shortText; -->
  406.         <structure name="shorttext">
  407.             <structure name="localizedtext" get-method="getShorttext"
  408.                 set-method="setShorttext"
  409.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  410.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  411.  
  412.             </structure>
  413.         </structure>
  414.  
  415.         <value style="attribute" name="releaseDate" get-method="getReleaseDate"
  416.             set-method="setReleaseDate" usage="optional" />
  417.         <value style="attribute" name="validFrom" get-method="getValidFrom"
  418.             set-method="setValidFrom" usage="optional" />
  419.         <value style="attribute" name="validTo" get-method="getValidTo"
  420.             set-method="setValidTo" usage="optional" />
  421.  
  422.         <structure name="specifics" />
  423.     </mapping>
  424.  
  425.  
  426.     <mapping name="objectsref"
  427.         class="xxx.importer.binding.trans.LibRefObjectImport"
  428.         extends="xxx.importer.binding.trans.LibObjectImport"
  429.         factory="xxx.importer.binding.factory.LibRefObjectImportFactory.newInstance">
  430.         <structure field="refobject" />
  431.  
  432.         <structure name="attachments">
  433.             <collection field="attachmentGroups"></collection>
  434.         </structure>
  435.     </mapping>
  436.  
  437.     <mapping name="ref"
  438.         class="xxx.server.api.vo.library.ReferenceVO"
  439.         factory="xxx.importer.binding.factory.LibRefObjectVOFactory.newInstance">
  440.  
  441.         <!-- /** library name */ private LocalizedTextVO name; -->
  442.         <structure name="name">
  443.             <structure name="localizedtext" get-method="getName"
  444.                 set-method="setName"
  445.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  446.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  447.  
  448.             </structure>
  449.         </structure>
  450.         <!-- private LocalizedTextVO longText; -->
  451.         <structure name="longtext">
  452.             <structure name="localizedtext" get-method="getLongtext"
  453.                 set-method="setLongtext"
  454.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  455.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  456.  
  457.             </structure>
  458.         </structure>
  459.         <!-- private LocalizedTextVO shortText; -->
  460.         <structure name="shorttext">
  461.             <structure name="localizedtext" get-method="getShorttext"
  462.                 set-method="setShorttext"
  463.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  464.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  465.  
  466.             </structure>
  467.         </structure>
  468.  
  469.         <value style="attribute" name="releaseDate" get-method="getReleaseDate"
  470.             set-method="setReleaseDate" usage="optional" />
  471.         <value style="attribute" name="validFrom" get-method="getValidFrom"
  472.             set-method="setValidFrom" usage="optional" />
  473.         <value style="attribute" name="validTo" get-method="getValidTo"
  474.             set-method="setValidTo" usage="optional" />
  475.  
  476.         <structure name="specifics" />
  477.     </mapping>
  478.  
  479.     <mapping name="objectsmaterial"
  480.         class="xxx.importer.binding.trans.LibMaterialObjectImport"
  481.         extends="xxx.importer.binding.trans.LibObjectImport"
  482.         factory="xxx.importer.binding.factory.LibMaterialObjectImportFactory.newInstance">
  483.         <structure field="object" />
  484.         <structure name="attachments">
  485.             <collection field="attachmentGroups"></collection>
  486.         </structure>
  487.     </mapping>
  488.  
  489.     <mapping name="material"
  490.         class="xxx.server.api.vo.library.MaterialVO">
  491.         <!-- /** library name */ private LocalizedTextVO name; -->
  492.         <structure name="name">
  493.             <structure name="localizedtext" get-method="getName"
  494.                 set-method="setName"
  495.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  496.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  497.  
  498.             </structure>
  499.         </structure>
  500.         <!-- private LocalizedTextVO longText; -->
  501.         <structure name="longtext">
  502.             <structure name="localizedtext" get-method="getLongtext"
  503.                 set-method="setLongtext"
  504.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  505.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  506.  
  507.             </structure>
  508.         </structure>
  509.         <!-- private LocalizedTextVO shortText; -->
  510.         <structure name="shorttext">
  511.             <structure name="localizedtext" get-method="getShorttext"
  512.                 set-method="setShorttext"
  513.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  514.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  515.  
  516.             </structure>
  517.         </structure>
  518.  
  519.  
  520.         <value style="attribute" name="releaseDate" get-method="getReleaseDate"
  521.             set-method="setReleaseDate" usage="optional" />
  522.         <value style="attribute" name="validFrom" get-method="getValidFrom"
  523.             set-method="setValidFrom" usage="optional" />
  524.         <value style="attribute" name="validTo" get-method="getValidTo"
  525.             set-method="setValidTo" usage="optional" />
  526.  
  527.         <structure name="specifics" />
  528.     </mapping>
  529.  
  530.     <mapping name="objectscompany"
  531.         class="xxx.importer.binding.trans.LibCompanyObjectImport"
  532.         extends="xxx.importer.binding.trans.LibObjectImport"
  533.         factory="xxx.importer.binding.factory.LibCompanyObjectImportFactory.newInstance">
  534.  
  535.         <structure field="companyobject" />
  536.  
  537.         <structure name="attachments">
  538.             <collection field="attachmentGroups"></collection>
  539.         </structure>
  540.     </mapping>
  541.     <mapping name="company"
  542.         class="xxx.server.api.vo.library.LibPresentationVO"
  543.         factory="xxx.importer.binding.factory.LibCompanyObjectVOFactory.newInstance">
  544.  
  545.  
  546.         <!-- /** library name */ private LocalizedTextVO name; -->
  547.         <structure name="name">
  548.             <structure name="localizedtext" get-method="getName"
  549.                 set-method="setName"
  550.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  551.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  552.  
  553.             </structure>
  554.         </structure>
  555.         <!-- private LocalizedTextVO longText; -->
  556.         <structure name="longtext">
  557.             <structure name="localizedtext" get-method="getLongtext"
  558.                 set-method="setLongtext"
  559.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  560.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  561.  
  562.             </structure>
  563.         </structure>
  564.         <!-- private LocalizedTextVO shortText; -->
  565.         <structure name="shorttext">
  566.             <structure name="localizedtext" get-method="getShorttext"
  567.                 set-method="setShorttext"
  568.                 marshaller="xxx.importer.binding.util.LocalizedTextHashMapper"
  569.                 unmarshaller="xxx.importer.binding.util.LocalizedTextHashMapper">
  570.  
  571.             </structure>
  572.         </structure>
  573.  
  574.         <value style="attribute" name="releaseDate" get-method="getReleaseDate"
  575.             set-method="setReleaseDate" usage="optional" />
  576.         <value style="attribute" name="validFrom" get-method="getValidFrom"
  577.             set-method="setValidFrom" usage="optional" />
  578.         <value style="attribute" name="validTo" get-method="getValidTo"
  579.             set-method="setValidTo" usage="optional" />
  580.  
  581.         <structure name="specifics" />
  582.     </mapping>
  583.  
  584. </binding>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement