Community
Participate
Working Groups
This enhance request represents a new OXM mapping. This mapping would allow for a single Java property to be mapped to multiple Java classes based on element name. For instance the user could specify that for the contactInfo property an element named "address" corresponds to the Address.class while the element "phone-number" corresponds to an instance of String.class. It would not be required that the target objects be related through inheritance. This mapping would follow the OXM convention of having a single object and collection aware version of the mapping. This feature is necessary to implement portions of the following specifications: - SDO 2.1: Section 9.3.2 Mapping of XSD Elements - JAXB 2.0: Support for javax.xml.bind.annotations.XMLElements annotation
Created attachment 85121 [details] Changes to core project for choice mapping
Created attachment 85122 [details] Changes to moxy project for choice mappings
Created attachment 85123 [details] Changes to moxy test project for choice mappings.
Created attachment 85124 [details] Changes to sdo project for choice mappings
Created attachment 85125 [details] Changes to sdo test project for choice mappings
Created choice mappings and test cases for core OXM. Added support into the jaxb and sdo layers for substitution groups and choices and created test cases for these layers as well.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink