Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "EclipseLink/DesignDocs/406697"

(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>
  
<br>
 
 
== API  ==
 
== API  ==
  

Revision as of 14:32, 26 April 2013

Document History

  • April 26, 2013 - Initial Draft

Requirements

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

Back to the top