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


Method Summary
 MutableAccountType getAccountType()
          Returns the Type object associated with the account.
 void setAccountType(MutableAccountType accountType)
          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
 
Methods inherited from interface org.homeunix.thecave.buddi.plugin.api.model.ImmutableAccount
getAccount, getBalance, getBalance, getOverdraftCreditLimit, getStartDate, getStartingBalance
 
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
 

Method Detail

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 -