@Entity public class ExecutionLockImpl extends Object implements ExecutionLock
ExecutionLock,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected Long |
id |
protected String |
key |
protected Boolean |
locked |
protected Integer |
version |
| Constructor and Description |
|---|
ExecutionLockImpl() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getId() |
String |
getKey()
The key representing the lock
|
Boolean |
getLocked()
Whether or not this key is locked
|
Integer |
getVersion()
The version of the lock record (used to facilitate optimistic locking of this record to prevent multiple edits of the same version)
|
void |
setId(Long id) |
void |
setKey(String key)
The key representing the lock
|
void |
setLocked(Boolean locked)
Whether or not this key is locked
|
void |
setVersion(Integer version)
The version of the lock record (used to facilitate optimistic locking of this record to prevent multiple edits of the same version)
|
protected Long id
protected String key
protected Boolean locked
protected Integer version
public Long getId()
getId in interface ExecutionLockpublic void setId(Long id)
setId in interface ExecutionLockpublic String getKey()
ExecutionLockgetKey in interface ExecutionLockpublic void setKey(String key)
ExecutionLocksetKey in interface ExecutionLockpublic Boolean getLocked()
ExecutionLockgetLocked in interface ExecutionLockpublic void setLocked(Boolean locked)
ExecutionLocksetLocked in interface ExecutionLocklocked - statuspublic Integer getVersion()
ExecutionLockgetVersion in interface ExecutionLockpublic void setVersion(Integer version)
ExecutionLocksetVersion in interface ExecutionLockversion - the versionCopyright © 2019. All rights reserved.