public class AcquirableJobEntity extends Object implements DbEntity, HasDbRevision
Modifier and Type | Field and 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 and Description |
---|
AcquirableJobEntity() |
Modifier and Type | Method and 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() |
public static final boolean DEFAULT_EXCLUSIVE
protected String id
protected int revision
protected String lockOwner
protected Date lockExpirationTime
protected Date duedate
protected String processInstanceId
protected boolean isExclusive
public Object getPersistentState()
DbEntity
getPersistentState
in interface DbEntity
public int getRevisionNext()
getRevisionNext
in interface HasDbRevision
public int getRevision()
getRevision
in interface HasDbRevision
public void setRevision(int revision)
setRevision
in interface HasDbRevision
public Date getDuedate()
public void setDuedate(Date duedate)
public String getLockOwner()
public void setLockOwner(String lockOwner)
public Date getLockExpirationTime()
public void setLockExpirationTime(Date lockExpirationTime)
public String getProcessInstanceId()
public void setProcessInstanceId(String processInstanceId)
public boolean isExclusive()
public void setExclusive(boolean isExclusive)
Copyright © 2021. All rights reserved.