Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/DesignDocs/406697"
< EclipseLink | DesignDocs
(→Document History) |
(→Requirements) |
||
Line 7: | Line 7: | ||
*Required for JSON schema generation - [http://wiki.eclipse.org/EclipseLink/Development/404452#Phase_1:_Additional_Mapping_Support JSON Schema Generation]<br> | *Required for JSON schema generation - [http://wiki.eclipse.org/EclipseLink/Development/404452#Phase_1:_Additional_Mapping_Support JSON Schema Generation]<br> | ||
− | |||
== API == | == API == | ||
Revision as of 14:32, 26 April 2013
Document History
- April 26, 2013 - Initial Draft
Requirements
- Related Enhancement Request - bug 406697
- Required for JSON schema generation - JSON Schema Generation
API
The following annotation will be added: org.eclipse.persistence.oxm.annotations.XmlVariableNode
@Target({METHOD, FIELD}) @Retention(RUNTIME) public @interface XmlVariableNode { String attributeName(); }
Design
A new mapping will be created XMLVariableXPathMapping and it will extend the AnyCollectionMapping
Note/Issues
- inheritance
- List<Object>
- single case ie:not on a collection
- external bindings