|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.homeunix.thecave.buddi.plugin.api.model.impl.ImmutableModelObjectImpl
org.homeunix.thecave.buddi.plugin.api.model.impl.MutableModelObjectImpl
org.homeunix.thecave.buddi.plugin.api.model.impl.MutableSourceImpl
org.homeunix.thecave.buddi.plugin.api.model.impl.MutableAccountImpl
public class MutableAccountImpl
| Constructor Summary | |
|---|---|
MutableAccountImpl(Account account)
|
|
| Method Summary | |
|---|---|
Account |
getAccount()
Returns the wrapped object from the underlying data model. |
MutableAccountType |
getAccountType()
Returns the Type object associated with the account. |
long |
getBalance()
Returns the current balance of the account. |
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 earliest date assoicated with this source. |
long |
getStartingBalance()
Returns the starting balance for the account. |
void |
setAccountType(MutableAccountType type)
Sets the type for this account |
void |
setOverdraftCreditLimit(long overdraftCreditLimit)
Sets the Overdraft Limit (for debit accounts) or Credit Limit (for credit accounts) |
void |
setStartDate(java.util.Date startDate)
Sets the starting date for the account. |
void |
setStartingBalance(long startingBalance)
Sets the starting balance for this account |
java.lang.String |
toString()
|
| Methods inherited from class org.homeunix.thecave.buddi.plugin.api.model.impl.MutableSourceImpl |
|---|
getFullName, getName, getNotes, getSource, isDeleted, setDeleted, setName, setNotes |
| Methods inherited from class org.homeunix.thecave.buddi.plugin.api.model.impl.ImmutableModelObjectImpl |
|---|
compareTo, equals, getModified, getRaw, getUid, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.homeunix.thecave.buddi.plugin.api.model.ImmutableSource |
|---|
getFullName, getName, getNotes, getSource, isDeleted |
| Methods inherited from interface org.homeunix.thecave.buddi.plugin.api.model.ImmutableModelObject |
|---|
getModified, getRaw, getUid |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface org.homeunix.thecave.buddi.plugin.api.model.MutableSource |
|---|
setDeleted, setName, setNotes |
| Methods inherited from interface org.homeunix.thecave.buddi.plugin.api.model.ImmutableSource |
|---|
getFullName, getName, getNotes, getSource, isDeleted |
| Methods inherited from interface org.homeunix.thecave.buddi.plugin.api.model.ImmutableModelObject |
|---|
getModified, getRaw, getUid |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public MutableAccountImpl(Account account)
| Method Detail |
|---|
public void setStartingBalance(long startingBalance)
throws InvalidValueException
MutableAccount
setStartingBalance in interface MutableAccountInvalidValueException
public void setAccountType(MutableAccountType type)
throws InvalidValueException
MutableAccount
setAccountType in interface MutableAccountInvalidValueExceptionpublic Account getAccount()
ImmutableAccount
getAccount in interface ImmutableAccountpublic long getBalance()
ImmutableAccount
getBalance in interface ImmutableAccountpublic long getStartingBalance()
ImmutableAccount
getStartingBalance in interface ImmutableAccountpublic MutableAccountType getAccountType()
ImmutableAccount
getAccountType in interface ImmutableAccountgetAccountType in interface MutableAccountpublic java.util.Date getStartDate()
ImmutableAccount
getStartDate in interface ImmutableAccountpublic long getBalance(java.util.Date d)
ImmutableAccount
getBalance in interface ImmutableAccountpublic java.lang.String toString()
toString in class MutableSourceImplpublic long getOverdraftCreditLimit()
ImmutableAccount
getOverdraftCreditLimit in interface ImmutableAccount
public void setOverdraftCreditLimit(long overdraftCreditLimit)
throws InvalidValueException
MutableAccount
setOverdraftCreditLimit in interface MutableAccountInvalidValueExceptionpublic void setStartDate(java.util.Date startDate)
MutableAccount
setStartDate in interface MutableAccount
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||