|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.moneydance.apps.md.model.Account
public abstract class Account
The base account class. All types of accounts will subclass this object. This object maintains a list of sub-accounts, as well as the standard attributes associated with an account (name, type, currency, start balance, etc)
Field Summary | |
---|---|
static int |
ACCOUNT_TYPE_ASSET
|
static int |
ACCOUNT_TYPE_BANK
|
static int |
ACCOUNT_TYPE_CREDIT_CARD
|
static int |
ACCOUNT_TYPE_EXPENSE
|
static int |
ACCOUNT_TYPE_INCOME
|
static int |
ACCOUNT_TYPE_INVESTMENT
|
static int |
ACCOUNT_TYPE_LIABILITY
|
static int |
ACCOUNT_TYPE_LOAN
|
static int |
ACCOUNT_TYPE_ROOT
|
static int |
ACCOUNT_TYPE_SECURITY
|
static java.lang.String |
BUDGET_CLASS_DISCRETIONARY
|
static java.lang.String |
BUDGET_CLASS_INCOME
|
static java.lang.String |
BUDGET_CLASS_MISC
|
static java.lang.String |
BUDGET_CLASS_REQUIRED
|
static java.lang.String |
BUDGET_INTERVAL_MONTHLY
|
static java.lang.String |
BUDGET_INTERVAL_QUARTERLY
|
static java.lang.String |
BUDGET_INTERVAL_WEEKLY
|
static java.lang.String |
BUDGET_INTERVAL_YEARLY
|
static int |
MAX_BUDGETS
|
protected boolean |
negate
|
static java.lang.String |
PARAM_HAVE_NEW_TXNS
|
static java.lang.String |
PARAM_NEW_TXN_COUNT
|
static java.lang.String |
PARAM_QIF_TXNID
|
static java.lang.String |
PARAM_TAX_RELATED
|
static java.lang.String |
PARAM_VAT_ACCT
|
static java.lang.String |
PARAM_VAT_APPLIES
|
static java.lang.String |
PARAM_VAT_PCT
|
static java.lang.String |
PASSWD_CACHE_KEY
|
static int |
SPLIT_ACCOUNT_ID
|
Constructor Summary | |
---|---|
Account(java.lang.String acctName,
int acctNum,
int accountType,
CurrencyType currency,
java.util.Hashtable params,
java.util.Vector subAccts,
Account parentAcct,
long startBalance)
|
Method Summary | |
---|---|
protected Account |
_getAccountByName(java.lang.String name)
|
protected Account |
_getAccountByName(java.lang.String name,
int accountType)
|
protected void |
_removeSubAccount(Account acct)
Removes the given sub-account from this account. |
void |
addAccountListener(AccountListener listener)
add a listener to be notified when this account is modified. |
void |
addSubAccount(Account acct)
|
void |
adjustStartBalance(long adjustAmount)
Adjust the starting balance by the given amount. |
boolean |
balanceIsNegated()
Get the starting balance for this account |
void |
billpayTxnsUpdated()
|
boolean |
canDownloadTxns()
Returns true if transactions can be downloaded for this account |
java.util.Hashtable |
cloneParameters()
|
int |
compareFullPathToAccount(Account account)
Compare the full path of this account to the full path of the given account |
int |
compareToAccount(Account acct)
Return an integer indicating whether this account is less than, equal to, or greater than the given account when sorting by type, name, and ID. |
boolean |
doesParameterExist(java.lang.String parameterName)
|
void |
downloadedTxnsUpdated()
|
void |
dumpAccounts()
|
void |
ensureHasSubAccount(Account acct)
Make sure that the specified account is in the list of children for this account. |
Account |
getAccountByName(java.lang.String name)
|
Account |
getAccountByName(java.lang.String name,
int accountType)
|
boolean |
getAccountIsInactive()
Returns true if the account is no longer in use and should be hidden from account and category selectors as well as the home page. |
java.lang.String |
getAccountName()
|
int |
getAccountNum()
|
boolean |
getAccountOrParentIsInactive()
Returns true if the account or one of its ancestors is no longer in use and should be hidden from account and category selectors as well as the home page. |
int |
getAccountType()
|
java.lang.String[] |
getAllAccountNames()
Get an array of the account names between the root account and this account. |
long |
getBalance()
|
OnlineService |
getBankingFI()
Get the OFX connection information use for online banking in this account, if any. |
OnlineService |
getBillPayFI()
Get the OFX connection information use for online bill-payment in this account, if any. |
OnlineTxnList |
getBillpayTxns()
|
boolean |
getBooleanParameter(java.lang.String parameterName,
boolean defaultVal)
Get the specified parameter as a boolean. |
long |
getBudgetAmount(int budgetNum)
Get the amount that is budgeted for this account, given the budget number. |
java.lang.String |
getBudgetClass(int budgetNum)
Get the class (misc, required, discretionary, etc) for the given budget |
java.lang.String |
getBudgetInterval(int budgetNum)
Get the interval (monthly, weekly, quarterly, etc) for the given budget |
java.lang.String[] |
getCheckNumTags(java.lang.String deflt)
|
long |
getClearedBalance()
|
java.lang.String |
getComment()
|
long |
getConfirmedBalance()
|
long |
getCreationDate()
Gets the date that this account was opened/created (this method only available as of build 253) |
int |
getCreationDateInt()
Gets the date that this account was opened/created encoded as an int. |
CurrencyType |
getCurrencyType()
|
long |
getCurrentBalance()
|
Account |
getDefaultCategory()
|
int |
getDepth()
Get this accounts depth in the account tree. |
double |
getDoubleParameter(java.lang.String parameterName,
double defaultVal)
Get the specified parameter as an integer. |
OnlineTxnList |
getDownloadedTxns()
Get the current list of downloaded transactions for this |
java.lang.String |
getFullAccountName()
|
boolean |
getHideOnHomePage()
|
int |
getHighestAccountNum()
Get the highest account (ID) number. |
java.lang.String |
getIndentedName()
|
int |
getIntParameter(java.lang.String parameterName,
int defaultVal)
Get the specified parameter as an integer. |
long |
getLongParameter(java.lang.String parameterName,
long defaultVal)
Get the specified parameter as a long. |
int |
getNextCheckNumber()
Use a fancy algorithm to calculate the next check number in the most recent series of checks. |
java.lang.String |
getOFXAccountKey()
|
int |
getOFXAccountMsgType()
|
java.lang.String |
getOFXAccountNumber()
|
java.lang.String |
getOFXAccountType()
|
java.lang.String |
getOFXBankID()
Bank ID: used or not according to country: BEL Bank code CAN Routing and transit number CHE Clearing number DEU Bankleitzah ESP Entidad FRA Banque GBR Sort code ITA ABI NLD Not used (field contents ignored) USA Routing and transit number |
java.lang.String |
getOFXBillPayAccountNumber()
Get the account number used for online bill payment. |
java.lang.String |
getOFXBillPayAccountType()
Get the account type used for online bill payment. |
java.lang.String |
getOFXBillPayBankID()
Get the bank ID (aka routing number) used for online bill payment. |
java.lang.String |
getOFXBranchID()
|
java.lang.String |
getOFXBrokerID()
|
long |
getOFXLastTxnUpdate()
|
long |
getOnlineAvailBalance()
Returns the available balance that was acquired from an online source, or zero if no balance was acquired. |
long |
getOnlineAvailBalanceDate()
Returns the 'as of' date for the available balance that was acquired from an online source, or zero if no balance was acquired. |
long |
getOnlineLedgerBalance()
Returns the ledger balance that was acquired from an online source, or zero if no balance was acquired. |
long |
getOnlineLedgerBalanceDate()
Returns the 'as of' date for the ledger balance that was acquired from an online source, or zero if no balance was acquired. |
java.lang.String |
getParameter(java.lang.String parameterName)
|
java.lang.String |
getParameter(java.lang.String parameterName,
java.lang.String defaultStr)
Get the specified parameter name. |
int |
getParameterCount()
Get an enumeration of the keys of this accounts parameters |
java.util.Enumeration |
getParameterKeys()
|
Account |
getParentAccount()
|
Account[] |
getPath()
Get an array of the accounts leading up to this account, starting at the RootAccount. |
boolean |
getPreferredSortAscending(boolean defaultVal)
|
int |
getPreferredSortOrder(int defaultOrder)
|
boolean |
getPreferredTwoLines(boolean defaultVal)
|
long |
getReconcilingBalance()
|
long |
getRecursiveBalance()
Gets the balance for this account and all sub-accounts, converting the currencies of the sub-accounts at the current exchange rate. |
long |
getRecursiveClearedBalance()
Gets the cleared balance for this account and all sub-accounts, converting the currencies of the sub-accounts at the current exchange rate. |
long |
getRecursiveCurrentBalance()
Gets the current balance for this account and all sub-accounts, converting the currencies of the sub-accounts at the current exchange rate. |
long |
getRecursiveReconcilingBalance()
Gets the reconciling balance for this account and all sub-accounts, converting the currencies of the sub-accounts at the current exchange rate. |
long |
getRecursiveStartBalance()
Gets the starting balance for this account and all sub-accounts, converting the currencies of the sub-accounts at the appropriate exchange rate. |
long |
getRecursiveUserBalance()
Gets the balance for this account and all sub-accounts, converting the currencies of the sub-accounts at the appropriate exchange rate. |
long |
getRecursiveUserClearedBalance()
Gets the cleared balance for this account and all sub-accounts, converting the currencies of the sub-accounts at the appropriate exchange rate. |
long |
getRecursiveUserCurrentBalance()
Gets the current balance for this account and all sub-accounts, converting the currencies of the sub-accounts at the appropriate exchange rate. |
long |
getRecursiveUserReconcilingBalance()
Gets the reconciling balance for this account and all sub-accounts, converting the currencies of the sub-accounts at the appropriate exchange rate. |
long |
getRecursiveUserStartBalance()
Gets the starting balance for this account and all sub-accounts, converting the currencies of the sub-accounts at the appropriate exchange rate. |
RootAccount |
getRootAccount()
|
long |
getStartBalance()
|
Account |
getSubAccount(int i)
|
int |
getSubAccountCount()
Get the number of sub-accounts in this account. |
java.util.Enumeration |
getSubAccounts()
|
java.lang.String |
getTaxCategory()
Get the identifier that indicates which (if any) tax category this account is associated with. |
long |
getUserBalance()
|
long |
getUserClearedBalance()
|
long |
getUserConfirmedBalance()
|
long |
getUserCurrentBalance()
|
long |
getUserReconcilingBalance()
|
long |
getUserStartBalance()
|
boolean |
hasOnlineAvailBalance()
Returns the available balance that was acquired from an online source, or zero if no balance was acquired. |
boolean |
hasOnlineLedgerBalance()
Returns the ledger balance that was acquired from an online source, or zero if no balance was acquired. |
int |
indexOf(Account acct)
|
boolean |
isAncestorOf(Account acct)
Returns true if the given account is equal to this account or if it is a direct or indirect sub-account of this account. |
boolean |
isDeductible()
|
boolean |
isDescendantOf(Account acct)
|
boolean |
isDirty()
Returns true if there has been changes to this account or any child accounts that hasn't been saved. |
boolean |
isLeafNode()
|
boolean |
isOnlineBankingCandidate()
Returns true if it is possible to online-enable this account. |
boolean |
isOnlineBillpayCandidate()
Returns true if it is possible to online-enable this account. |
boolean |
isOnlineEnabled()
Returns true if this account is configured for online access. |
boolean |
isRegisterAccount()
|
boolean |
isTaxable()
|
boolean |
isTaxRelated()
|
static Account |
makeAccount(int acctType,
java.lang.String name,
CurrencyType currency,
Account parent)
|
protected void |
notifyAccountAdded(Account parent,
Account newAccount)
notify all listeners that the specified account has been added. |
protected void |
notifyAccountDeleted(Account parent,
Account deletedAcct)
notify all listeners that the specified account has been deleted. |
protected void |
notifyAccountModified(Account acct)
notify all listeners that the specified account has been modified. |
protected void |
notifyBalanceChanged(Account acct)
notify all listeners that a balance in the specified account has changed. |
void |
removeAccountListener(AccountListener listener)
remove the specified object so that it doesn't get any more notifications when the account is modified. |
void |
removeParameter(java.lang.String parameterName)
Remove the parameter with the given name. |
void |
removeSubAccount(Account acct,
boolean recursive)
Caution!! This can leave "orphan" transactions if an account that contains transactions is deleted. |
protected void |
resetDirtyFlags()
set the dirty flag for this account and all sub-accounts to a non-dirty state. |
void |
setAccountIsInactive(boolean isInactive)
Sets whether the account is no longer in use and should be hidden from account and category selectors as well as the home page. |
void |
setAccountName(java.lang.String newAccountName)
|
void |
setBankingFI(OnlineService service)
Set the online banking connection information used for online banking (transaction download, etc) in this account. |
void |
setBillPayFI(OnlineService service)
Set the online banking connection information used for online banking (transaction download, etc) in this account. |
void |
setBudgetAmount(int budgetNum,
long amount)
Set the amount that is budgeted for this account, given the budget number and the amount. |
void |
setBudgetClass(int budgetNum,
java.lang.String classID)
Get the class (misc, required, discretionary, etc) for the given budget |
void |
setBudgetInterval(int budgetNum,
java.lang.String intervalID)
Set the interval (monthly, weekly, quarterly, etc) for the given budget |
void |
setCheckNumTags(java.lang.String[] checkTags)
|
void |
setComment(java.lang.String comment)
|
void |
setCreationDate(long date)
Sets the date that this account was opened. |
void |
setCurrencyType(CurrencyType newCurrencyType)
set the currency type. |
void |
setDeductible(boolean deductible)
|
void |
setDefaultCategory(Account acct)
|
void |
setDirtyFlag()
set the dirty flag for this account. |
void |
setHideOnHomePage(boolean hide)
|
void |
setIncludeInNetWorth(boolean includeInNetWorth)
Set whether or not this account should be included in net worth calculations. |
void |
setOFXAccountKey(java.lang.String str)
|
void |
setOFXAccountMsgType(int msgType)
|
void |
setOFXAccountNumber(java.lang.String str)
|
void |
setOFXAccountType(java.lang.String str)
|
void |
setOFXBankID(java.lang.String bankId)
|
void |
setOFXBillPayAccountNumber(java.lang.String str)
Set the account number used for online bill payment, if different from the regular account number |
void |
setOFXBillPayAccountType(java.lang.String str)
Set the account type used for online bill payment, if different from the regular account type |
void |
setOFXBillPayBankID(java.lang.String str)
Set the bank ID (aka routing number) used for online bill payment |
void |
setOFXBranchID(java.lang.String branchId)
|
void |
setOFXBrokerID(java.lang.String brokerId)
|
void |
setOFXLastTxnUpdate(long date)
|
void |
setOnlineAvailBalance(long onlineBalance,
long asOfDate)
Sets the available balance that was acquired from an online source. |
void |
setOnlineLedgerBalance(long onlineBalance,
long asOfDate)
Sets the ledger balance that was acquired from an online source. |
void |
setParameter(java.lang.String parameterName,
boolean parameterValue)
Set the given parameter name to the given boolean value |
void |
setParameter(java.lang.String parameterName,
double parameterValue)
Set the given parameter name to the given double value |
void |
setParameter(java.lang.String parameterName,
int parameterValue)
Set the given parameter name to the given integer value |
void |
setParameter(java.lang.String parameterName,
long parameterValue)
Set the given parameter name to the given long value |
void |
setParameter(java.lang.String parameterName,
java.lang.String parameterValue)
Set the given parameter name to the given value |
void |
setParameterNoNotify(java.lang.String parameterName,
java.lang.String parameterValue)
Set the given parameter name to the given value but don't notify listeners of changes! |
void |
setParentAccount(Account newParentAccount)
|
void |
setPreference(java.lang.String parameterName,
boolean parameterValue)
Set the given parameter name to the given boolean value, without sending an account-changed event, or recording the account as dirty. |
void |
setPreference(java.lang.String parameterName,
int parameterValue)
Set the given parameter name to the given integer value, without sending an account-changed event, or recording the account as dirty. |
void |
setPreference(java.lang.String parameterName,
java.lang.String parameterValue)
Set the given preference name to the given value. |
void |
setPreferredSortAscending(boolean ascending)
|
void |
setPreferredSortOrder(int newSortOrder)
|
void |
setPreferredTwoLines(boolean twoLines)
|
void |
setStartBalance(long newStartBalance)
Set the initial balance of this account. |
void |
setTaxable(boolean taxable)
|
void |
setTaxCategory(java.lang.String taxCategory)
Set an identifier that indicates which (if any) tax category this account is associated with. |
void |
setTaxRelated(boolean taxRelated)
|
void |
setUserStartBalance(long newStartBalance)
Set the initial balance of this account. |
boolean |
shouldBeIncludedInNetWorth()
Return whether or not this account should be included in net worth calculations. |
void |
sortAccounts()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int SPLIT_ACCOUNT_ID
public static final int ACCOUNT_TYPE_ROOT
public static final int ACCOUNT_TYPE_BANK
public static final int ACCOUNT_TYPE_CREDIT_CARD
public static final int ACCOUNT_TYPE_INVESTMENT
public static final int ACCOUNT_TYPE_SECURITY
public static final int ACCOUNT_TYPE_ASSET
public static final int ACCOUNT_TYPE_LIABILITY
public static final int ACCOUNT_TYPE_LOAN
public static final int ACCOUNT_TYPE_EXPENSE
public static final int ACCOUNT_TYPE_INCOME
public static final int MAX_BUDGETS
public static final java.lang.String BUDGET_INTERVAL_MONTHLY
public static final java.lang.String BUDGET_INTERVAL_WEEKLY
public static final java.lang.String BUDGET_INTERVAL_QUARTERLY
public static final java.lang.String BUDGET_INTERVAL_YEARLY
public static final java.lang.String BUDGET_CLASS_MISC
public static final java.lang.String BUDGET_CLASS_DISCRETIONARY
public static final java.lang.String BUDGET_CLASS_REQUIRED
public static final java.lang.String BUDGET_CLASS_INCOME
public static final java.lang.String PARAM_VAT_PCT
public static final java.lang.String PARAM_VAT_ACCT
public static final java.lang.String PARAM_VAT_APPLIES
public static final java.lang.String PARAM_TAX_RELATED
public static final java.lang.String PARAM_QIF_TXNID
public static final java.lang.String PASSWD_CACHE_KEY
public static final java.lang.String PARAM_HAVE_NEW_TXNS
public static final java.lang.String PARAM_NEW_TXN_COUNT
protected boolean negate
Constructor Detail |
---|
public Account(java.lang.String acctName, int acctNum, int accountType, CurrencyType currency, java.util.Hashtable params, java.util.Vector subAccts, Account parentAcct, long startBalance)
Method Detail |
---|
public final boolean isLeafNode()
public boolean shouldBeIncludedInNetWorth()
public void setIncludeInNetWorth(boolean includeInNetWorth)
public java.lang.String[] getCheckNumTags(java.lang.String deflt)
public void setCheckNumTags(java.lang.String[] checkTags)
public void setCreationDate(long date)
public long getCreationDate()
public int getCreationDateInt()
public long getOFXLastTxnUpdate()
public void setOFXLastTxnUpdate(long date)
public java.lang.String getOFXAccountNumber()
public void setOFXAccountNumber(java.lang.String str)
public java.lang.String getOFXAccountKey()
public void setOFXAccountKey(java.lang.String str)
public void setOFXAccountType(java.lang.String str)
public java.lang.String getOFXAccountType()
public void setOFXAccountMsgType(int msgType)
public int getOFXAccountMsgType()
public void setOFXBillPayBankID(java.lang.String str)
public java.lang.String getOFXBillPayBankID()
public void setOFXBillPayAccountNumber(java.lang.String str)
public java.lang.String getOFXBillPayAccountNumber()
public void setOFXBillPayAccountType(java.lang.String str)
public java.lang.String getOFXBillPayAccountType()
public java.lang.String getOFXBankID()
public void setOFXBankID(java.lang.String bankId)
public java.lang.String getOFXBranchID()
public void setOFXBranchID(java.lang.String branchId)
public java.lang.String getOFXBrokerID()
public void setOFXBrokerID(java.lang.String brokerId)
public boolean isOnlineBankingCandidate()
public boolean isOnlineBillpayCandidate()
public boolean isOnlineEnabled()
public OnlineService getBankingFI()
public boolean canDownloadTxns()
public void setBankingFI(OnlineService service)
public OnlineService getBillPayFI()
public final void setBillPayFI(OnlineService service)
public boolean hasOnlineLedgerBalance()
public long getOnlineLedgerBalance()
public long getOnlineLedgerBalanceDate()
public void setOnlineLedgerBalance(long onlineBalance, long asOfDate)
public boolean hasOnlineAvailBalance()
public long getOnlineAvailBalance()
public long getOnlineAvailBalanceDate()
public void setOnlineAvailBalance(long onlineBalance, long asOfDate)
public final boolean getHideOnHomePage()
public final void setHideOnHomePage(boolean hide)
public final boolean getAccountIsInactive()
public final boolean getAccountOrParentIsInactive()
public final void setAccountIsInactive(boolean isInactive)
public final OnlineTxnList getDownloadedTxns()
public void downloadedTxnsUpdated()
public OnlineTxnList getBillpayTxns()
public void billpayTxnsUpdated()
public java.lang.String getComment()
public void setComment(java.lang.String comment)
public java.lang.String[] getAllAccountNames()
public java.lang.String getFullAccountName()
public void adjustStartBalance(long adjustAmount)
public final boolean balanceIsNegated()
public final long getUserStartBalance()
public final long getUserCurrentBalance()
public final long getUserClearedBalance()
public final long getUserReconcilingBalance()
public final long getUserBalance()
public final long getUserConfirmedBalance()
public final long getStartBalance()
public long getRecursiveStartBalance()
public long getRecursiveUserStartBalance()
public final long getCurrentBalance()
public final long getRecursiveCurrentBalance()
public long getRecursiveUserCurrentBalance()
public final long getClearedBalance()
public final long getConfirmedBalance()
public final long getRecursiveClearedBalance()
public long getRecursiveUserClearedBalance()
public final long getReconcilingBalance()
public final long getRecursiveReconcilingBalance()
public long getRecursiveUserReconcilingBalance()
public final long getBalance()
public final long getRecursiveBalance()
public long getRecursiveUserBalance()
public void setStartBalance(long newStartBalance)
public void setUserStartBalance(long newStartBalance)
public final CurrencyType getCurrencyType()
public final void setCurrencyType(CurrencyType newCurrencyType)
public java.lang.String getAccountName()
public void setAccountName(java.lang.String newAccountName)
public final int getAccountNum()
public final int getAccountType()
public final long getBudgetAmount(int budgetNum)
public final void setBudgetAmount(int budgetNum, long amount)
public final java.lang.String getBudgetInterval(int budgetNum)
public final void setBudgetInterval(int budgetNum, java.lang.String intervalID)
public final java.lang.String getBudgetClass(int budgetNum)
public final void setBudgetClass(int budgetNum, java.lang.String classID)
public boolean getPreferredTwoLines(boolean defaultVal)
public int getPreferredSortOrder(int defaultOrder)
public boolean getPreferredSortAscending(boolean defaultVal)
public void setPreferredSortOrder(int newSortOrder)
public void setPreferredSortAscending(boolean ascending)
public void setPreferredTwoLines(boolean twoLines)
public final boolean doesParameterExist(java.lang.String parameterName)
public final java.lang.String getParameter(java.lang.String parameterName)
public final java.lang.String getParameter(java.lang.String parameterName, java.lang.String defaultStr)
public final int getIntParameter(java.lang.String parameterName, int defaultVal)
public final long getLongParameter(java.lang.String parameterName, long defaultVal)
public double getDoubleParameter(java.lang.String parameterName, double defaultVal)
public final boolean getBooleanParameter(java.lang.String parameterName, boolean defaultVal)
public final void setParameter(java.lang.String parameterName, boolean parameterValue)
public final void setParameter(java.lang.String parameterName, int parameterValue)
public final void setParameter(java.lang.String parameterName, long parameterValue)
public final void setParameter(java.lang.String parameterName, double parameterValue)
public final void setParameter(java.lang.String parameterName, java.lang.String parameterValue)
public final void setPreference(java.lang.String parameterName, boolean parameterValue)
public final void setPreference(java.lang.String parameterName, int parameterValue)
public final void setPreference(java.lang.String parameterName, java.lang.String parameterValue)
public final java.util.Hashtable cloneParameters()
public final void setParameterNoNotify(java.lang.String parameterName, java.lang.String parameterValue)
public final void removeParameter(java.lang.String parameterName)
public final int getParameterCount()
public final java.util.Enumeration getParameterKeys()
public final int getDepth()
public final Account[] getPath()
public final int getSubAccountCount()
public final Account getSubAccount(int i)
public final int indexOf(Account acct)
public final java.util.Enumeration getSubAccounts()
public final Account getAccountByName(java.lang.String name)
protected final Account _getAccountByName(java.lang.String name)
public final Account getAccountByName(java.lang.String name, int accountType)
protected final Account _getAccountByName(java.lang.String name, int accountType)
public final Account getParentAccount()
public final void setParentAccount(Account newParentAccount)
public Account getDefaultCategory()
public void setDefaultCategory(Account acct)
public final int getNextCheckNumber()
public final RootAccount getRootAccount()
public java.lang.String getTaxCategory()
public void setTaxCategory(java.lang.String taxCategory)
public final java.lang.String getIndentedName()
public java.lang.String toString()
toString
in class java.lang.Object
public final boolean isRegisterAccount()
protected void resetDirtyFlags()
public void setDirtyFlag()
public final boolean isDirty()
protected void _removeSubAccount(Account acct)
public final void removeSubAccount(Account acct, boolean recursive)
public final void addSubAccount(Account acct)
public final void ensureHasSubAccount(Account acct)
public final int getHighestAccountNum()
public final void addAccountListener(AccountListener listener)
public final void removeAccountListener(AccountListener listener)
protected void notifyAccountDeleted(Account parent, Account deletedAcct)
protected void notifyAccountAdded(Account parent, Account newAccount)
protected void notifyAccountModified(Account acct)
protected void notifyBalanceChanged(Account acct)
public final void sortAccounts()
public boolean isAncestorOf(Account acct)
public boolean isDescendantOf(Account acct)
public int compareToAccount(Account acct)
public int compareFullPathToAccount(Account account)
public void dumpAccounts()
public void setDeductible(boolean deductible)
public boolean isDeductible()
public void setTaxable(boolean taxable)
public boolean isTaxable()
public void setTaxRelated(boolean taxRelated)
public boolean isTaxRelated()
public static final Account makeAccount(int acctType, java.lang.String name, CurrencyType currency, Account parent) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |