Top Description Methods
org.eclipse.persistence.sessions.changesets

public Interface ChangeRecord

Known Direct Subinterfaces
org.eclipse.persistence.sessions.changesets.CollectionChangeRecord, org.eclipse.persistence.sessions.changesets.DirectCollectionChangeRecord, org.eclipse.persistence.sessions.changesets.DirectToFieldChangeRecord, org.eclipse.persistence.sessions.changesets.EISCollectionChangeRecord, org.eclipse.persistence.sessions.changesets.EISOrderedCollectionChangeRecord, org.eclipse.persistence.sessions.changesets.ObjectReferenceChangeRecord, org.eclipse.persistence.sessions.changesets.TransformationMappingChangeRecord, org.eclipse.persistence.sessions.changesets.AggregateChangeRecord, org.eclipse.persistence.sessions.changesets.AggregateCollectionChangeRecord
Known Direct Implementers
org.eclipse.persistence.internal.sessions.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

Modifier and TypeMethod and Description
public String

Returns:

java.lang.String
getAttribute
()

ADVANCED: Returns the name of the attribute this ChangeRecord Represents

public Object
getOldValue()

ADVANCED: If the owning UnitOfWork has shouldChangeRecordKeepOldValue set to true, then return the old value of the attribute represented by this ChangeRecord.

public ObjectChangeSet

Returns:

org.eclipse.persistence.sessions.changesets.ObjectChangeSet
getOwner
()

ADVANCED: This method returns the ObjectChangeSet that references this ChangeRecord

Method Detail

getAttributeback to summary
public String getAttribute()

ADVANCED: Returns the name of the attribute this ChangeRecord Represents

Returns:String

java.lang.String

getOldValueback to summary
public Object getOldValue()

ADVANCED: If the owning UnitOfWork has shouldChangeRecordKeepOldValue set to true, then return the old value of the attribute represented by this ChangeRecord.

getOwnerback to summary
public ObjectChangeSet getOwner()

ADVANCED: This method returns the ObjectChangeSet that references this ChangeRecord

Returns:ObjectChangeSet

org.eclipse.persistence.sessions.changesets.ObjectChangeSet