jgnash.engine
Class TransactionEntryAddX

java.lang.Object
  extended by jgnash.engine.TransactionEntry
      extended by jgnash.engine.AbstractInvestmentTransactionEntry
          extended by jgnash.engine.TransactionEntryAbstractIncrease
              extended by jgnash.engine.TransactionEntryAddX
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable<TransactionEntry>

public class TransactionEntryAddX
extends TransactionEntryAbstractIncrease

Add shares without impacting the cash balance. This is a single entry transaction

Version:
$Id$
Author:
Craig Cavanaugh

Constructor Summary
TransactionEntryAddX()
          Deprecated.  
TransactionEntryAddX(Account account, 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

TransactionEntryAddX

@Deprecated
public TransactionEntryAddX()
Deprecated. 

No argument constructor for reflection purposes. Do not use to create a new instance


TransactionEntryAddX

public TransactionEntryAddX(Account account,
                            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