com.moneydance.apps.md.model
Class InvestFields
java.lang.Object
com.moneydance.apps.md.model.InvestFields
public class InvestFields
- extends java.lang.Object
InvestField objects know how to extract the relevant fields from investment
transactions so that they can be more easily edited and displayed.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
hasPrice
public boolean hasPrice
hasSecurity
public boolean hasSecurity
hasShares
public boolean hasShares
hasFee
public boolean hasFee
hasCategory
public boolean hasCategory
hasXfrAcct
public boolean hasXfrAcct
hasAmount
public boolean hasAmount
hasMemo
public boolean hasMemo
negateSecurity
public boolean negateSecurity
negateCategory
public boolean negateCategory
curr
public CurrencyType curr
secCurr
public CurrencyType secCurr
date
public int date
taxDate
public int taxDate
txnType
public InvestTxnType txnType
checkNum
public java.lang.String checkNum
payee
public java.lang.String payee
memo
public java.lang.String memo
status
public byte status
amount
public long amount
shares
public long shares
price
public double price
security
public Account security
category
public Account category
xfrAcct
public Account xfrAcct
feeAcct
public Account feeAcct
fee
public long fee
debug
public boolean debug
InvestFields
public InvestFields()
setFieldStatus
public void setFieldStatus(AbstractTxn txn)
setFieldStatus
public void setFieldStatus(InvestTxnType txnType,
AbstractTxn txn)
storeFields
public void storeFields(ParentTxn txn)
safeRate
public static final double safeRate(double rate)
- If the given rate is zero, return a number that can be used as a denominator,
otherwise,
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object