EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

Annotation Type XmlJoinNodes

public @interface XmlJoinNodes

XmlJoinNodes is a holder for multiple XmlJoinNode annotations. This is used to specify the source to target associations in a reference mapping with multiple keys. XmlJoinNodes will contain one XmlJoinNode for each key. The targets of the individual XmlJoinNode annotations must be annotated with either XmlID or XmlKey.


 public class Employee {
     public String id;

     public String department;
         @XmlJoinNode(xmlPath="manager/id/text()", referencedXmlPath="id/text()"),
         @XmlJoinNode(xmlPath="manager/dept/text()", referencedXmlPath="department/text()")
     public Employee manager;

See Also:
XmlJoinNode, XmlKey

Required Element Summary
 XmlJoinNode[] value

Element Detail


public abstract XmlJoinNode[] value

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference