Class CachedEntity
java.lang.Object
org.flowable.common.engine.impl.persistence.cache.CachedEntity
- Author:
- Joram Barrez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Entity
The actualEntity
instance.protected Object
Represents the 'persistence state' at the moment thisCachedEntity
instance was created. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
setOriginalPersistentState
(Object originalPersistentState)
-
Field Details
-
entity
The actualEntity
instance. -
originalPersistentState
Represents 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
-
CachedEntity
-
-
Method Details
-
getEntity
-
setEntity
-
getOriginalPersistentState
-
setOriginalPersistentState
-
hasChanged
public boolean hasChanged()
-