Package org.cyclos.entities.banking
Class VoucherTransactionAmountReservation
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.banking.AmountReservation
-
- org.cyclos.entities.banking.VoucherTransactionAmountReservation
-
- All Implemented Interfaces:
Cloneable,HasCurrency,HasCurrencyAmount,HasNetwork,ProcessableForProxying,IEntity,HasAmount
@Entity public class VoucherTransactionAmountReservation extends AmountReservation
An amount reservation for a voucher transaction (either a redeem or top-up)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Field Summary
-
Fields inherited from class org.cyclos.entities.banking.AmountReservation
transaction
-
-
Constructor Summary
Constructors Constructor Description VoucherTransactionAmountReservation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AmountReservationNaturegetNature()VoucherTransactiongetVoucherTransaction()voidsetVoucherTransaction(VoucherTransaction voucherTransaction)-
Methods inherited from class org.cyclos.entities.banking.AmountReservation
getAccount, getAmount, getCurrency, getDate, getNetwork, setAccount, setAmount, setDate, transaction
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.banking.HasCurrency
round, withCurrency
-
Methods inherited from interface org.cyclos.entities.banking.HasCurrencyAmount
getCurrencyAmount
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getNature
public AmountReservationNature getNature()
- Specified by:
getNaturein classAmountReservation
-
getVoucherTransaction
public VoucherTransaction getVoucherTransaction()
-
setVoucherTransaction
public void setVoucherTransaction(VoucherTransaction voucherTransaction)
-
-