java.lang.Object
org.flowable.common.engine.impl.persistence.cache.CachedEntity

public class CachedEntity extends Object
Author:
Joram Barrez
  • Field Details

    • entity

      protected Entity entity
      The actual Entity instance.
    • originalPersistentState

      protected Object originalPersistentState
      Represents the 'persistence state' at the moment this CachedEntity instance was created. It is used later on to determine if a Entity has been updated, by comparing the 'persistent state' at that moment with this instance here.
  • Constructor Details

    • CachedEntity

      public CachedEntity(Entity entity, boolean storeState)
  • Method Details

    • getEntity

      public Entity getEntity()
    • setEntity

      public void setEntity(Entity entity)
    • getOriginalPersistentState

      public Object getOriginalPersistentState()
    • setOriginalPersistentState

      public void setOriginalPersistentState(Object originalPersistentState)
    • hasChanged

      public boolean hasChanged()