Notice: This Wiki is now read only and edits are no longer 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
(→API) |
|||
Line 19: | Line 19: | ||
} | } | ||
</source> | </source> | ||
+ | |||
+ | == Example == | ||
== Design == | == Design == |
Revision as of 14:45, 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(); }
Example
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