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