@Entity public class SerialEventLockImpl extends Object implements SerialEventLock
Modifier and Type | Field and Description |
---|---|
protected Long |
id |
protected String |
key |
protected Boolean |
locked |
protected Integer |
version |
Constructor and Description |
---|
SerialEventLockImpl() |
Modifier and Type | Method and Description |
---|---|
Long |
getId() |
String |
getKey()
The descriptive string that identifies the locked event
|
Boolean |
getLocked()
Whether or not the item is locked
|
Integer |
getVersion()
Version information useful for optimistic locking.
|
void |
setId(Long id) |
void |
setKey(String key) |
void |
setLocked(Boolean locked) |
void |
setVersion(Integer version) |
protected Long id
protected String key
protected Boolean locked
protected Integer version
public Long getId()
getId
in interface SerialEventLock
public void setId(Long id)
setId
in interface SerialEventLock
public String getKey()
SerialEventLock
getKey
in interface SerialEventLock
public void setKey(String key)
setKey
in interface SerialEventLock
public Boolean getLocked()
SerialEventLock
getLocked
in interface SerialEventLock
public void setLocked(Boolean locked)
setLocked
in interface SerialEventLock
public Integer getVersion()
SerialEventLock
getVersion
in interface SerialEventLock
public void setVersion(Integer version)
setVersion
in interface SerialEventLock
Copyright © 2019. All rights reserved.