@Entity public abstract class AmountReservation extends NetworkedEntity implements HasCurrencyAmount
| Modifier and Type | Field and Description |
|---|---|
protected Transaction |
transaction |
| Constructor and Description |
|---|
AmountReservation() |
| Modifier and Type | Method and Description |
|---|---|
Account |
getAccount() |
java.math.BigDecimal |
getAmount() |
Currency |
getCurrency() |
java.util.Date |
getDate() |
abstract AmountReservationNature |
getNature() |
Network |
getNetwork()
Returns the network this entity belongs to
|
void |
setAccount(Account account) |
void |
setAmount(java.math.BigDecimal amount) |
void |
setDate(java.util.Date date) |
Transaction |
transaction() |
isGlobalclone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient, toShortString, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetCurrencyAmountprotected Transaction transaction
public Account getAccount()
public Currency getCurrency()
getCurrency in interface HasCurrencypublic java.util.Date getDate()
public abstract AmountReservationNature getNature()
public Network getNetwork()
NetworkedEntitygetNetwork in class NetworkedEntitypublic void setAccount(Account account)
public void setAmount(java.math.BigDecimal amount)
public void setDate(java.util.Date date)
public Transaction transaction()