|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Account
| Method Summary | |
|---|---|
AccountType |
getAccountType()
Get the account type |
long |
getBalance()
Returns the current balance. |
long |
getBalance(java.util.Date d)
Returns the balance as of the given date. |
long |
getOverdraftCreditLimit()
Returns the overdraft limit for Debit accounts, or Credit Limit for Credit accounts. |
java.util.Date |
getStartDate()
Returns the starting date of this account. |
long |
getStartingBalance()
Returns the starting balance associated with this account. |
void |
setAccountType(AccountType accountType)
Sets the account type |
void |
setOverdraftCreditLimit(long overdraftLimit)
Sets the overdraft limit for debit accounts, or the credit limit for credit accounts. |
void |
setStartDate(java.util.Date startDate)
Sets the starting date of this account. |
void |
setStartingBalance(long startingBalance)
Sets the starting balance |
void |
updateBalance()
Updates the balance for this account, by navigating all associated transactions. |
| Methods inherited from interface org.homeunix.thecave.buddi.model.Source |
|---|
getFullName, getName, getNotes, isDeleted, setDeleted, setName, setNotes |
| Methods inherited from interface org.homeunix.thecave.buddi.model.ModelObject |
|---|
compareTo, getDocument, getModified, getUid, setChanged, setDocument |
| Method Detail |
|---|
AccountType getAccountType()
long getBalance()
long getBalance(java.util.Date d)
d -
java.util.Date getStartDate()
void setStartDate(java.util.Date startDate)
startDate - long getStartingBalance()
void setAccountType(AccountType accountType)
throws InvalidValueException
accountType -
InvalidValueException
void setStartingBalance(long startingBalance)
throws InvalidValueException
startingBalance -
InvalidValueExceptionvoid updateBalance()
void setOverdraftCreditLimit(long overdraftLimit)
throws InvalidValueException
overdraftLimit -
InvalidValueExceptionlong getOverdraftCreditLimit()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||