@Entity public class OrderLockImpl extends Object implements OrderLock
| Modifier and Type | Field and Description |
|---|---|
protected Character |
locked |
protected Long |
orderId |
| Constructor and Description |
|---|
OrderLockImpl() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getLocked() |
Long |
getOrderId() |
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()
Copyright © 2014. All Rights Reserved.