Class SavedState
java.lang.Object
org.datanucleus.state.SavedState
Definition of the saved state of a Persistable object.
Used during the rollback process.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean[]Loaded fields of the persistable instance when the instance is enlisted in the transaction.protected PersistableCopy (shallow) of the Persistable instance when the instance is enlisted in the transaction.protected byteFlags of the persistable instance when the instance is enlisted in the transaction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean[]getPC()bytevoidsetLoadedFields(boolean[] loadedFields) voidsetPersistenceFlags(byte persistenceFlags)
-
Field Details
-
pc
Copy (shallow) of the Persistable instance when the instance is enlisted in the transaction. -
persistenceFlags
protected byte persistenceFlagsFlags of the persistable instance when the instance is enlisted in the transaction. -
loadedFields
protected boolean[] loadedFieldsLoaded fields of the persistable instance when the instance is enlisted in the transaction.
-
-
Constructor Details
-
SavedState
-
-
Method Details
-
getPC
-
getPersistenceFlags
public byte getPersistenceFlags() -
setPersistenceFlags
public void setPersistenceFlags(byte persistenceFlags) -
getLoadedFields
public boolean[] getLoadedFields() -
setLoadedFields
public void setLoadedFields(boolean[] loadedFields)
-