Class SavedState

java.lang.Object
org.datanucleus.state.SavedState

public class SavedState extends Object
Definition of the saved state of a Persistable object. Used during the rollback process.
  • Field Details

    • pc

      protected Persistable pc
      Copy (shallow) of the Persistable instance when the instance is enlisted in the transaction.
    • persistenceFlags

      protected byte persistenceFlags
      Flags of the persistable instance when the instance is enlisted in the transaction.
    • loadedFields

      protected boolean[] loadedFields
      Loaded fields of the persistable instance when the instance is enlisted in the transaction.
  • Constructor Details

    • SavedState

      public SavedState(Persistable pc, boolean[] loadedFields, byte persistenceFlags)
  • Method Details

    • getPC

      public Persistable getPC()
    • getPersistenceFlags

      public byte getPersistenceFlags()
    • setPersistenceFlags

      public void setPersistenceFlags(byte persistenceFlags)
    • getLoadedFields

      public boolean[] getLoadedFields()
    • setLoadedFields

      public void setLoadedFields(boolean[] loadedFields)