Interface ObjectReferenceChangeRecord
-
- All Superinterfaces:
ChangeRecord
public interface ObjectReferenceChangeRecord extends 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectChangeSet
getNewValue()
ADVANCED: Returns the new reference for this objectjava.lang.Object
getOldValue()
Return the old value of the object reference.-
Methods inherited from interface org.eclipse.persistence.sessions.changesets.ChangeRecord
getAttribute, getOwner
-
-
-
-
Method Detail
-
getNewValue
ObjectChangeSet getNewValue()
ADVANCED: Returns the new reference for this object- Returns:
- org.eclipse.persistence.sessions.changesets.ObjectChangeSet
-
getOldValue
java.lang.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
-
-