EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.sessions.changesets
Interface ChangeRecord

All Known Subinterfaces:
AggregateChangeRecord, AggregateCollectionChangeRecord, CollectionChangeRecord, DirectCollectionChangeRecord, DirectToFieldChangeRecord, EISCollectionChangeRecord, EISOrderedCollectionChangeRecord, ObjectReferenceChangeRecord, TransformationMappingChangeRecord
All Known Implementing Classes:
org.eclipse.persistence.internal.sessions.ChangeRecord, org.eclipse.persistence.internal.sessions.CollectionChangeRecord, org.eclipse.persistence.internal.sessions.DeferrableChangeRecord, EISCollectionChangeRecord, EISOrderedCollectionChangeRecord

public interface ChangeRecord

Purpose: Define the base Change Record API.

Description: This interface is meant to clarify the public protocol into TopLink. It provides access into the information available from the TopLink Change Set

Responsibilities:


Method Summary
 java.lang.String getAttribute()
          ADVANCED: Returns the name of the attribute this ChangeRecord Represents
 java.lang.Object getOldValue()
          ADVANCED: If the owning UnitOfWork has shouldChangeRecordKeepOldValue set to true, then return the old value of the attribute represented by this ChangeRecord.
 ObjectChangeSet getOwner()
          ADVANCED: This method returns the ObjectChangeSet that references this ChangeRecord
 

Method Detail

getAttribute

java.lang.String getAttribute()
ADVANCED: Returns the name of the attribute this ChangeRecord Represents

Returns:
java.lang.String

getOwner

ObjectChangeSet getOwner()
ADVANCED: This method returns the ObjectChangeSet that references this ChangeRecord

Returns:
org.eclipse.persistence.sessions.changesets.ObjectChangeSet

getOldValue

java.lang.Object getOldValue()
ADVANCED: If the owning UnitOfWork has shouldChangeRecordKeepOldValue set to true, then return the old value of the attribute represented by this ChangeRecord.


EclipseLink 2.4.2, build 'v20130514-5956486' API Reference