Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "EclipseLink/DesignDocs/406697"

(New page: == Document History == {| |- ! Date ! Author ! Version Description & Notes |- | April 26, 2013 | Denise Smith | Initial Draft |} == Requirements == *Related Enhancement Request...)
 
Line 12: Line 12:
 
|}
 
|}
  
== Requirements ==
+
== Requirements ==
  
*Related Enhancement Request - [https://bugs.eclipse.org/bugs/show_bug.cgi?id=406697 bug 406697]<br>
+
*Related Enhancement Request - [https://bugs.eclipse.org/bugs/show_bug.cgi?id=406697 bug 406697]<br>  
 
*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  ==
  
 +
The following annotation will be added:
 +
org.eclipse.persistence.oxm.annotations.XmlVariableNode
  
== API ==
+
<source lang="java">
 +
@Target({METHOD, FIELD})
 +
@Retention(RUNTIME)
 +
public @interface XmlVariableNode {
 +
    String attributeName();
 +
}
 +
</source>
  
== Design ==
+
== Design ==
 +
A new mapping will be created XMLVariableXPathMapping and it will extend the AnyCollectionMapping
  
<br>
+
== Note/Issues ==
 +
*inheritance
 +
*List<Object>
 +
*single case ie:not on a collection
 +
*external bindings

Revision as of 14:31, 26 April 2013

Document History

Date Author Version Description & Notes
April 26, 2013 Denise Smith 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