jgnash.engine
Class TransactionEntryReinvestDivX

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

public class TransactionEntryReinvestDivX
extends TransactionEntryAbstractIncrease

Reinvest dividend transaction

Version:
$Id$
Author:
Craig Cavanaugh

Constructor Summary
TransactionEntryReinvestDivX()
          Deprecated.  
TransactionEntryReinvestDivX(Account investmentAccount, SecurityNode securityNode, java.math.BigDecimal price, java.math.BigDecimal quantity)
           
 
Method Summary
 TransactionType getTransactionType()
          Returns TransactionType.REINVESTDIV for this type of transaction
 
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

TransactionEntryReinvestDivX

@Deprecated
public TransactionEntryReinvestDivX()
Deprecated. 

No argument constructor for reflection purposes.

Do not use to create a new instance


TransactionEntryReinvestDivX

public TransactionEntryReinvestDivX(Account investmentAccount,
                                    SecurityNode securityNode,
                                    java.math.BigDecimal price,
                                    java.math.BigDecimal quantity)
Method Detail

getTransactionType

public TransactionType getTransactionType()
Returns TransactionType.REINVESTDIV for this type of transaction

Specified by:
getTransactionType in class AbstractInvestmentTransactionEntry
Returns:
the transaction type
See Also:
TransactionType.REINVESTDIV