com.moneydance.apps.md.model
Interface AcctFilter


public interface AcctFilter

Represents a filter for account objects

Author:
Sean D. Reilly

Field Summary
static AcctFilter ALL_ACCOUNTS_FILTER
          common filter that matches all accounts
static AcctFilter CATEGORY_CHOICE_FILTER
          common filter that excludes securities and root
static AcctFilter CATEGORY_FILTER
          common filter that matches all category accounts
static AcctFilter NON_CATEGORY_FILTER
          common filter that matches all non-category accounts
 
Method Summary
 java.lang.String format(Account acct)
          Returns the String representation of the given account in the context of this search.
 boolean matches(Account acct)
          Returns true iff the given account matches the current search criteria
 

Field Detail

NON_CATEGORY_FILTER

static final AcctFilter NON_CATEGORY_FILTER
common filter that matches all non-category accounts


CATEGORY_FILTER

static final AcctFilter CATEGORY_FILTER
common filter that matches all category accounts


ALL_ACCOUNTS_FILTER

static final AcctFilter ALL_ACCOUNTS_FILTER
common filter that matches all accounts


CATEGORY_CHOICE_FILTER

static final AcctFilter CATEGORY_CHOICE_FILTER
common filter that excludes securities and root

Method Detail

matches

boolean matches(Account acct)
Returns true iff the given account matches the current search criteria


format

java.lang.String format(Account acct)
Returns the String representation of the given account in the context of this search.