|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.moneydance.apps.md.model.AccountTypeSet
public class AccountTypeSet
This class represents a set of accounts types. This is useful when querying for a set of accounts by their type. For example, when performing a cash-flow report, the report should show income, expense, and loan accounts (and possibly others).
Constructor Summary | |
---|---|
AccountTypeSet()
|
Method Summary | |
---|---|
void |
addType(int newAccountType)
Adds the given account type to the set. |
boolean |
includesType(Account acct)
Returns true if the type of the given account is in the set. |
boolean |
includesType(int accountType)
Returns true if the given account type is in the set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccountTypeSet()
Method Detail |
---|
public boolean includesType(Account acct)
public boolean includesType(int accountType)
public void addType(int newAccountType)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |