public class OneToOneAccessor extends ObjectAccessor
A one to one relationship accessor. A OneToOne annotation currently is not required to be on the accessible object, that is, a 1-1 can default. Key notes: - any metadata mapped from XML to this class must be compared in the equals method. - any metadata mapped from XML to this class must be handled in the merge method. (merging is done at the accessor/mapping level) - any metadata mapped from XML to this class must be initialized in the initXMLObject method. - methods should be preserved in alphabetical order.
Since:
TopLink EJB 3.0 Reference Implementation