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 Summary
Fields Modifier and Type Field Description static boolean
DEFAULT_EXCLUSIVE
protected Date
duedate
protected String
id
protected boolean
isExclusive
protected Date
lockExpirationTime
protected String
lockOwner
protected 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(Object obj)
Date
getDuedate()
String
getId()
Date
getLockExpirationTime()
String
getLockOwner()
Object
getPersistentState()
Returns a representation of the object, as would be stored in the database.String
getProcessInstanceId()
int
getRevision()
int
getRevisionNext()
int
hashCode()
boolean
isExclusive()
void
setDuedate(Date duedate)
void
setExclusive(boolean isExclusive)
void
setId(String id)
void
setLockExpirationTime(Date lockExpirationTime)
void
setLockOwner(String lockOwner)
void
setProcessInstanceId(String processInstanceId)
void
setRevision(int revision)
String
toString()
-
-
-
Field Detail
-
DEFAULT_EXCLUSIVE
public static final boolean DEFAULT_EXCLUSIVE
- See Also:
- Constant Field Values
-
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
-
-
Method Detail
-
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 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 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)
-
-