org.homeunix.thecave.buddi.plugin.api.model
Interface MutableAccount
- All Superinterfaces:
- java.lang.Comparable<ImmutableModelObject>, ImmutableAccount, ImmutableModelObject, ImmutableSource, MutableSource
- All Known Implementing Classes:
- MutableAccountImpl
public interface MutableAccount
- extends ImmutableAccount, MutableSource
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Methods inherited from interface java.lang.Comparable |
compareTo |
setAccountType
void setAccountType(MutableAccountType accountType)
throws InvalidValueException
- Sets the type for this account
- Parameters:
accountType -
- Throws:
InvalidValueException
setStartingBalance
void setStartingBalance(long startingBalance)
throws InvalidValueException
- Sets the starting balance for this account
- Parameters:
startingBalance -
- Throws:
InvalidValueException
getAccountType
MutableAccountType getAccountType()
- Returns the Type object associated with the account.
- Specified by:
getAccountType in interface ImmutableAccount
- Returns:
setOverdraftCreditLimit
void setOverdraftCreditLimit(long overdraftCreditLimit)
throws InvalidValueException
- Sets the Overdraft Limit (for debit accounts) or Credit Limit (for credit accounts)
- Parameters:
overdraftCreditLimit -
- Throws:
InvalidValueException
setStartDate
void setStartDate(java.util.Date startDate)
- Sets the starting date for the account.
- Parameters:
startDate -