org.homeunix.thecave.buddi.plugin.api.model.impl
Class ImmutableAccountTypeImpl
java.lang.Object
org.homeunix.thecave.buddi.plugin.api.model.impl.ImmutableModelObjectImpl
org.homeunix.thecave.buddi.plugin.api.model.impl.ImmutableAccountTypeImpl
- All Implemented Interfaces:
- java.lang.Comparable<ImmutableModelObject>, ImmutableAccountType, ImmutableModelObject
public class ImmutableAccountTypeImpl
- extends ImmutableModelObjectImpl
- implements ImmutableAccountType
|
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? |
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 |
ImmutableAccountTypeImpl
public ImmutableAccountTypeImpl(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:
toString
public java.lang.String toString()
- Overrides:
toString in class ImmutableModelObjectImpl