EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.sessions.changesets
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
 ObjectChangeSet getNewValue()
          ADVANCED: Returns the new reference for this object
 java.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 interface ChangeRecord

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference