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 java.lang.Object implements DbEntity, HasDbRevision
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
DEFAULT_EXCLUSIVE
protected java.util.Date
duedate
protected java.lang.String
id
protected boolean
isExclusive
protected java.util.Date
lockExpirationTime
protected java.lang.String
lockOwner
protected java.lang.String
processInstanceId
protected int
revision
-
Constructor Summary
Constructors Constructor Description AcquirableJobEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.Date
getDuedate()
java.lang.String
getId()
java.util.Date
getLockExpirationTime()
java.lang.String
getLockOwner()
java.lang.Object
getPersistentState()
Returns a representation of the object, as would be stored in the database.java.lang.String
getProcessInstanceId()
int
getRevision()
int
getRevisionNext()
int
hashCode()
boolean
isExclusive()
void
setDuedate(java.util.Date duedate)
void
setExclusive(boolean isExclusive)
void
setId(java.lang.String id)
void
setLockExpirationTime(java.util.Date lockExpirationTime)
void
setLockOwner(java.lang.String lockOwner)
void
setProcessInstanceId(java.lang.String processInstanceId)
void
setRevision(int revision)
java.lang.String
toString()
-
-
-
Field Detail
-
DEFAULT_EXCLUSIVE
public static final boolean DEFAULT_EXCLUSIVE
- See Also:
- Constant Field Values
-
id
protected java.lang.String id
-
revision
protected int revision
-
lockOwner
protected java.lang.String lockOwner
-
lockExpirationTime
protected java.util.Date lockExpirationTime
-
duedate
protected java.util.Date duedate
-
processInstanceId
protected java.lang.String processInstanceId
-
isExclusive
protected boolean isExclusive
-
-
Method Detail
-
getPersistentState
public java.lang.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 interfaceDbEntity
-
getRevisionNext
public int getRevisionNext()
- Specified by:
getRevisionNext
in interfaceHasDbRevision
-
getRevision
public int getRevision()
- Specified by:
getRevision
in interfaceHasDbRevision
-
setRevision
public void setRevision(int revision)
- Specified by:
setRevision
in interfaceHasDbRevision
-
getDuedate
public java.util.Date getDuedate()
-
setDuedate
public void setDuedate(java.util.Date duedate)
-
getLockOwner
public java.lang.String getLockOwner()
-
setLockOwner
public void setLockOwner(java.lang.String lockOwner)
-
getLockExpirationTime
public java.util.Date getLockExpirationTime()
-
setLockExpirationTime
public void setLockExpirationTime(java.util.Date lockExpirationTime)
-
getProcessInstanceId
public java.lang.String getProcessInstanceId()
-
setProcessInstanceId
public void setProcessInstanceId(java.lang.String processInstanceId)
-
isExclusive
public boolean isExclusive()
-
setExclusive
public void setExclusive(boolean isExclusive)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-