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 DataObjectInstanceVariableContainerImplentityThe actualEntityinstance.protected java.lang.ObjectoriginalPersistentStateRepresents the 'persistence state' at the moment thisCachedEntityinstance was created.
-
Constructor Summary
Constructors Constructor Description CachedDataObjectInstanceVariableContainer(DataObjectInstanceVariableContainerImpl entity, boolean storeState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataObjectInstanceVariableContainerImplgetEntity()java.lang.ObjectgetOriginalPersistentState()booleanhasChanged()voidsetEntity(DataObjectInstanceVariableContainerImpl entity)voidsetOriginalPersistentState(java.lang.Object originalPersistentState)
-
-
-
Field Detail
-
entity
protected DataObjectInstanceVariableContainerImpl entity
The actualEntityinstance.
-
originalPersistentState
protected java.lang.Object originalPersistentState
Represents the 'persistence state' at the moment thisCachedEntityinstance was created. It is used later on to determine if aEntityhas been updated, by comparing the 'persistent state' at that moment with this instance here.
-
-
Constructor Detail
-
CachedDataObjectInstanceVariableContainer
public CachedDataObjectInstanceVariableContainer(DataObjectInstanceVariableContainerImpl entity, boolean storeState)
-
-
Method Detail
-
getEntity
public DataObjectInstanceVariableContainerImpl getEntity()
-
setEntity
public void setEntity(DataObjectInstanceVariableContainerImpl entity)
-
getOriginalPersistentState
public java.lang.Object getOriginalPersistentState()
-
setOriginalPersistentState
public void setOriginalPersistentState(java.lang.Object originalPersistentState)
-
hasChanged
public boolean hasChanged()
-
-