Class CachedDataObjectInstanceVariableContainer
java.lang.Object
com.flowable.dataobject.engine.impl.persistence.entity.CachedDataObjectInstanceVariableContainer
public class CachedDataObjectInstanceVariableContainer
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected DataObjectInstanceVariableContainerImpl
entity
The actualEntity
instance.protected java.lang.Object
originalPersistentState
Represents the 'persistence state' at the moment thisCachedEntity
instance was created. -
Constructor Summary
Constructors Constructor Description CachedDataObjectInstanceVariableContainer(DataObjectInstanceVariableContainerImpl entity, boolean storeState)
-
Method Summary
Modifier and Type Method Description DataObjectInstanceVariableContainerImpl
getEntity()
java.lang.Object
getOriginalPersistentState()
boolean
hasChanged()
void
setEntity(DataObjectInstanceVariableContainerImpl entity)
void
setOriginalPersistentState(java.lang.Object originalPersistentState)
-
Field Details
-
entity
The actualEntity
instance. -
originalPersistentState
protected java.lang.Object originalPersistentStateRepresents the 'persistence state' at the moment thisCachedEntity
instance was created. It is used later on to determine if aEntity
has been updated, by comparing the 'persistent state' at that moment with this instance here.
-
-
Constructor Details
-
CachedDataObjectInstanceVariableContainer
public CachedDataObjectInstanceVariableContainer(DataObjectInstanceVariableContainerImpl entity, boolean storeState)
-
-
Method Details
-
getEntity
-
setEntity
-
getOriginalPersistentState
public java.lang.Object getOriginalPersistentState() -
setOriginalPersistentState
public void setOriginalPersistentState(java.lang.Object originalPersistentState) -
hasChanged
public boolean hasChanged()
-