|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.homeunix.thecave.buddi.model.impl.ModelObjectImpl
org.homeunix.thecave.buddi.model.impl.AccountTypeImpl
public class AccountTypeImpl
Default implementation of an AccountType. You should not create this object directly; instead, please use the ModelFactory to create it, as this will ensure that all required fields are correctly set.
| Field Summary |
|---|
| Fields inherited from class org.homeunix.thecave.buddi.model.impl.ModelObjectImpl |
|---|
document, modifiedTime, uid |
| Constructor Summary | |
|---|---|
AccountTypeImpl()
|
|
| Method Summary | |
|---|---|
int |
compareTo(ModelObject o)
|
java.lang.String |
getName()
Returns the name of this account type |
boolean |
isCredit()
Does this account type represent a credit account? |
boolean |
isExpanded()
Is the node currently expanded |
void |
setCredit(boolean credit)
Set the credit value of this account type |
void |
setExpanded(boolean isExpanded)
Should the node be expanded |
void |
setName(java.lang.String name)
Sets the name of this account type |
| Methods inherited from class org.homeunix.thecave.buddi.model.impl.ModelObjectImpl |
|---|
equals, getDocument, getModified, getUid, setChanged, setDocument, setModified, setModified, setUid |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.homeunix.thecave.buddi.model.ModelObject |
|---|
getDocument, getModified, getUid, setChanged, setDocument |
| Constructor Detail |
|---|
public AccountTypeImpl()
| Method Detail |
|---|
public boolean isCredit()
AccountType
isCredit in interface AccountTypepublic void setCredit(boolean credit)
AccountType
setCredit in interface AccountTypepublic java.lang.String getName()
AccountType
getName in interface AccountType
public void setName(java.lang.String name)
throws InvalidValueException
AccountType
setName in interface AccountTypeInvalidValueExceptionpublic boolean isExpanded()
Expandable
isExpanded in interface Expandablepublic void setExpanded(boolean isExpanded)
Expandable
setExpanded in interface Expandablepublic int compareTo(ModelObject o)
compareTo in interface java.lang.Comparable<ModelObject>compareTo in interface ModelObjectcompareTo in class ModelObjectImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||