Package org.cyclos.entities.banking
Class ClosedAccountBalance
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.banking.ClosedAccountBalance
-
- All Implemented Interfaces:
Cloneable,HasCurrency,HasNetwork,ProcessableForProxying,IEntity
@Entity public class ClosedAccountBalance extends NetworkedEntity implements HasCurrency
Contains pre-calculated balance and reserved amount for an account at a given time point
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description ClosedAccountBalance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountgetAccount()BigDecimalgetBalance()CurrencygetCurrency()DategetDate()NetworkgetNetwork()Returns the network this entity belongs toBigDecimalgetReserved()voidsetAccount(Account account)voidsetBalance(BigDecimal balance)voidsetDate(Date date)voidsetReserved(BigDecimal reserved)-
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.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getAccount
public Account getAccount()
-
getBalance
public BigDecimal getBalance()
-
getCurrency
public Currency getCurrency()
- Specified by:
getCurrencyin interfaceHasCurrency
-
getDate
public Date getDate()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getReserved
public BigDecimal getReserved()
-
setAccount
public void setAccount(Account account)
-
setBalance
public void setBalance(BigDecimal balance)
-
setDate
public void setDate(Date date)
-
setReserved
public void setReserved(BigDecimal reserved)
-
-