Jump to: navigation, search

Difference between revisions of "EclipseLink/DesignDocs/406697"

(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

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