@Entity public class OrderLockImpl extends Object implements OrderLock
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderLockImpl.OrderLockPk |
| Modifier and Type | Field and Description |
|---|---|
protected Long |
lastUpdated |
protected Character |
locked |
| Constructor and Description |
|---|
OrderLockImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
Long |
getLastUpdated() |
Boolean |
getLocked() |
Long |
getOrderId() |
void |
setKey(String nodeKey)
Set a key identifying the creator of the lock
|
void |
setLastUpdated(Long lastUpdated)
Set the time of alteration
|
void |
setLocked(Boolean locked)
Sets the lock state of this OrderLock
|
void |
setOrderId(Long orderId)
Sets the id of the
Order associated with this OrderLock |
public Long getOrderId()
getOrderId in interface OrderLockOrder associated with this OrderLockpublic void setOrderId(Long orderId)
OrderLockOrder associated with this OrderLocksetOrderId in interface OrderLockpublic Boolean getLocked()
public void setLocked(Boolean locked)
OrderLockpublic Long getLastUpdated()
getLastUpdated in interface OrderLockpublic void setLastUpdated(Long lastUpdated)
OrderLocksetLastUpdated in interface OrderLockpublic String getKey()
Copyright © 2017. All rights reserved.