jgnash.engine
Class TransactionEntrySplitX
java.lang.Object
jgnash.engine.TransactionEntry
jgnash.engine.AbstractInvestmentTransactionEntry
jgnash.engine.TransactionEntryAbstractIncrease
jgnash.engine.TransactionEntrySplitX
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable<TransactionEntry>
public class TransactionEntrySplitX
- extends TransactionEntryAbstractIncrease
Add shares without impacting the cash balance. This is a single
entry transaction
- Version:
- $Id$
- Author:
- Craig Cavanaugh
| Methods inherited from class jgnash.engine.TransactionEntry |
clone, compareTo, equals, equals, getAmount, getCreditAccount, getCreditAmount, getCreditReconciled, getDebitAccount, getDebitAmount, getDebitReconciled, getMemo, getReconciled, getTransactionTag, hashCode, isSingleEntry, setAmount, setCreditAmount, setCreditReconciled, setDebitAmount, setDebitReconciled, setMemo, setReconciled, setTransactionTag |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
TransactionEntrySplitX
@Deprecated
public TransactionEntrySplitX()
- Deprecated.
- No argument constructor for reflection purposes.
Do not use to create a new instance
TransactionEntrySplitX
public TransactionEntrySplitX(Account investmentAccount,
SecurityNode securityNode,
java.math.BigDecimal price,
java.math.BigDecimal quantity)
getTransactionType
public TransactionType getTransactionType()
- Description copied from class:
AbstractInvestmentTransactionEntry
- Returns the type of this transaction entry
- Specified by:
getTransactionType in class AbstractInvestmentTransactionEntry
- Returns:
- the transaction type