Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


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.

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.