- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.CashFlow
-
- org.quantlib.IndexedCashFlow
-
- org.quantlib.EquityCashFlow
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class EquityCashFlow extends IndexedCashFlow implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description EquityCashFlow(double notional, EquityIndex index, Date baseDate, Date fixingDate, Date paymentDate)EquityCashFlow(double notional, EquityIndex index, Date baseDate, Date fixingDate, Date paymentDate, boolean growthOnly)protectedEquityCashFlow(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()protected static longgetCPtr(EquityCashFlow obj)voidsetPricer(EquityCashFlowPricer arg0)protected voidswigSetCMemOwn(boolean own)-
Methods inherited from class org.quantlib.IndexedCashFlow
baseDate, baseFixing, fixingDate, getCPtr, growthOnly, index, indexFixing, notional
-
Methods inherited from class org.quantlib.CashFlow
amount, date, getCPtr, hasOccurred, hasOccurred
-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
EquityCashFlow
protected EquityCashFlow(long cPtr, boolean cMemoryOwn)
-
EquityCashFlow
public EquityCashFlow(double notional, EquityIndex index, Date baseDate, Date fixingDate, Date paymentDate, boolean growthOnly)
-
EquityCashFlow
public EquityCashFlow(double notional, EquityIndex index, Date baseDate, Date fixingDate, Date paymentDate)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(EquityCashFlow obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classIndexedCashFlow
-
finalize
protected void finalize()
- Overrides:
finalizein classIndexedCashFlow
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classIndexedCashFlow
-
setPricer
public void setPricer(EquityCashFlowPricer arg0)
-
-