jgnash.engine
Class TransactionEntrySplitX

java.lang.Object
  extended by jgnash.engine.TransactionEntry
      extended by jgnash.engine.AbstractInvestmentTransactionEntry
          extended by jgnash.engine.TransactionEntryAbstractIncrease
              extended by 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

Constructor Summary
TransactionEntrySplitX()
          Deprecated.  
TransactionEntrySplitX(Account investmentAccount, SecurityNode securityNode, java.math.BigDecimal price, java.math.BigDecimal quantity)
           
 
Method Summary
 TransactionType getTransactionType()
          Returns the type of this transaction entry
 
Methods inherited from class jgnash.engine.TransactionEntryAbstractIncrease
getSignedQuantity, setCreditAccount, setDebitAccount
 
Methods inherited from class jgnash.engine.AbstractInvestmentTransactionEntry
getPrice, getQuantity, getSecurityNode, getTotal, setPrice, setQuantity, setSecurityNode, toString
 
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
 

Constructor Detail

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)
Method Detail

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