Class AcquirableJobEntity

java.lang.Object
org.camunda.bpm.engine.impl.persistence.entity.AcquirableJobEntity
All Implemented Interfaces:
DbEntity, HasDbRevision
Direct Known Subclasses:
JobEntity

public class AcquirableJobEntity extends Object implements DbEntity, HasDbRevision
  • Field Details

    • DEFAULT_EXCLUSIVE

      public static final boolean DEFAULT_EXCLUSIVE
      See Also:
    • id

      protected String id
    • revision

      protected int revision
    • lockOwner

      protected String lockOwner
    • lockExpirationTime

      protected Date lockExpirationTime
    • duedate

      protected Date duedate
    • processInstanceId

      protected String processInstanceId
    • isExclusive

      protected boolean isExclusive
  • Constructor Details

    • AcquirableJobEntity

      public AcquirableJobEntity()
  • Method Details

    • getPersistentState

      public Object getPersistentState()
      Description copied from interface: DbEntity
      Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.
      Specified by:
      getPersistentState in interface DbEntity
    • getRevisionNext

      public int getRevisionNext()
      Specified by:
      getRevisionNext in interface HasDbRevision
    • getId

      public String getId()
      Specified by:
      getId in interface DbEntity
    • setId

      public void setId(String id)
      Specified by:
      setId in interface DbEntity
    • getRevision

      public int getRevision()
      Specified by:
      getRevision in interface HasDbRevision
    • setRevision

      public void setRevision(int revision)
      Specified by:
      setRevision in interface HasDbRevision
    • getDuedate

      public Date getDuedate()
    • setDuedate

      public void setDuedate(Date duedate)
    • getLockOwner

      public String getLockOwner()
    • setLockOwner

      public void setLockOwner(String lockOwner)
    • getLockExpirationTime

      public Date getLockExpirationTime()
    • setLockExpirationTime

      public void setLockExpirationTime(Date lockExpirationTime)
    • getProcessInstanceId

      public String getProcessInstanceId()
    • setProcessInstanceId

      public void setProcessInstanceId(String processInstanceId)
    • isExclusive

      public boolean isExclusive()
    • setExclusive

      public void setExclusive(boolean isExclusive)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object