org.homeunix.thecave.buddi.plugin.api.model.impl
Class MutableAccountTypeImpl
java.lang.Object
org.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.MutableAccountTypeImpl
- All Implemented Interfaces:
- java.lang.Comparable<ImmutableModelObject>, ImmutableAccountType, ImmutableModelObject, MutableAccountType
public class MutableAccountTypeImpl
- extends MutableModelObjectImpl
- implements MutableAccountType
|
Method Summary |
java.lang.String |
getName()
Returns the name associated with this type |
AccountType |
getType()
Returns the wrapped object from the underlying data model. |
boolean |
isCredit()
Does this type represent credit accounts? |
void |
setName(java.lang.String name)
Sets the name of this type |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
compareTo |
MutableAccountTypeImpl
public MutableAccountTypeImpl(AccountType type)
getType
public AccountType getType()
- Description copied from interface:
ImmutableAccountType
- Returns the wrapped object from the underlying data model. By
accessing this method, you bypass all protection which the Buddi API
gives you; it is not recommended to use this method unless you understand
the risks associated with it.
- Specified by:
getType in interface ImmutableAccountType
- Returns:
getName
public java.lang.String getName()
- Description copied from interface:
ImmutableAccountType
- Returns the name associated with this type
- Specified by:
getName in interface ImmutableAccountType
- Returns:
isCredit
public boolean isCredit()
- Description copied from interface:
ImmutableAccountType
- Does this type represent credit accounts?
- Specified by:
isCredit in interface ImmutableAccountType
- Returns:
setName
public void setName(java.lang.String name)
throws InvalidValueException
- Description copied from interface:
MutableAccountType
- Sets the name of this type
- Specified by:
setName in interface MutableAccountType
- Throws:
InvalidValueException
toString
public java.lang.String toString()
- Overrides:
toString in class ImmutableModelObjectImpl