EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

Annotation Type XmlInverseReference

public @interface XmlInverseReference

This annotation is used to map a back-pointer. When configuring an XmlInverseReference, the "mappedBy" attribute must be set to the field on the reference class that maps to this field. For example:

 public class Employee {
    public List<PhoneNumber> phoneNumbers;

 public class PhoneNumber {
    public Employee owningEmployee;

Required Element Summary
 java.lang.String mappedBy

Element Detail


public abstract java.lang.String mappedBy

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference