org.homeunix.thecave.buddi.model
Interface AccountType

All Superinterfaces:
java.lang.Comparable<ModelObject>, Expandable, ModelObject
All Known Implementing Classes:
AccountTypeImpl

public interface AccountType
extends ModelObject, Expandable


Method Summary
 java.lang.String getName()
          Returns the name of this account type
 boolean isCredit()
          Does this account type represent a credit account?
 void setCredit(boolean credit)
          Set the credit value of this account type
 void setName(java.lang.String name)
          Sets the name of this account type
 
Methods inherited from interface org.homeunix.thecave.buddi.model.ModelObject
compareTo, getDocument, getModified, getUid, setChanged, setDocument
 
Methods inherited from interface org.homeunix.thecave.buddi.model.Expandable
isExpanded, setExpanded
 

Method Detail

getName

java.lang.String getName()
Returns the name of this account type

Returns:

isCredit

boolean isCredit()
Does this account type represent a credit account?

Returns:

setCredit

void setCredit(boolean credit)
               throws InvalidValueException
Set the credit value of this account type

Parameters:
credit -
Throws:
InvalidValueException

setName

void setName(java.lang.String name)
             throws InvalidValueException
Sets the name of this account type

Parameters:
name -
Throws:
InvalidValueException