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:

  • Define the API for ChangeRecord.
  • Method Summary

    Modifier and Type
    Method
    Description
    ADVANCED: Returns the name of the attribute this ChangeRecord Represents
    ADVANCED: If the owning UnitOfWork has shouldChangeRecordKeepOldValue set to true, then return the old value of the attribute represented by this ChangeRecord.
    ADVANCED: This method returns the ObjectChangeSet that references this ChangeRecord
  • Method Details

    • getAttribute

      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

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