Interface ObjectReferenceChangeRecord
- All Superinterfaces:
ChangeRecord
Purpose: Provides API for the ObjectReferenceChangeRecord.
Description: This Interface represents changes made in a one to one mapping and other single object reference mappings.
-
Method Summary
Modifier and TypeMethodDescriptionADVANCED: Returns the new reference for this objectReturn the old value of the object reference.Methods inherited from interface org.eclipse.persistence.sessions.changesets.ChangeRecord
getAttribute, getOwner
-
Method Details
-
getNewValue
ObjectChangeSet getNewValue()ADVANCED: Returns the new reference for this object- Returns:
- org.eclipse.persistence.sessions.changesets.ObjectChangeSet
-
getOldValue
Object getOldValue()Return the old value of the object reference. This is used during the commit for private-owned references.- Specified by:
getOldValue
in interfaceChangeRecord
-