Package com.moneydance.apps.md.model

Examples of com.moneydance.apps.md.model.SecurityAccount


        //get Security Sub Accounts
        TreeSet<Account> subSecAccts = BulkSecInfo.getSelectedSubAccounts(invAcct,
                Account.ACCOUNT_TYPE_SECURITY);
        //Loop through Security Sub Accounts
        for (Account subSecAcct : subSecAccts) {
            SecurityAccount secAcct = (SecurityAccount) subSecAcct;
            //Load Security Account into Wrapper Class
            SecurityAccountWrapper secAcctWrapper = new SecurityAccountWrapper(
                    secAcct, this);
            // add Security Account to Investment Account
            this.securityAccountWrappers.add(secAcctWrapper);
View Full Code Here


     *
     * @throws Exception
     */
    public void createCashWrapper()
            throws Exception {
        SecurityAccount cashAccount = new SecurityAccount("~Cash",
                BulkSecInfo.getNextAcctNumber(),
                currentInfo.getCashCurrencyWrapper().getCurrencyType(), null, null,
                this.investmentAccount);
        cashAccount.setComment("New Security to hold cash transactions");
        cashAccount.setSecurityType(SecurityType.MUTUAL);
        cashAccount.setSecuritySubType("Money Market");
        this.cashWrapper = new SecurityAccountWrapper(
                cashAccount, this);
        BulkSecInfo.setNextAcctNumber(BulkSecInfo.getNextAcctNumber() + 1);
        currentInfo.getCashCurrencyWrapper().secAccts.add(this.cashWrapper);
        cashWrapper.generateTransValues();
View Full Code Here

TOP

Related Classes of com.moneydance.apps.md.model.SecurityAccount

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.