- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.CashFlow
-
- org.quantlib.Coupon
-
- org.quantlib.InflationCoupon
-
- org.quantlib.YoYInflationCoupon
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
- Direct Known Subclasses:
CappedFlooredYoYInflationCoupon
public class YoYInflationCoupon extends InflationCoupon implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedYoYInflationCoupon(long cPtr, boolean cMemoryOwn)YoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter)YoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing)YoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing, double spread)YoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing, double spread, Date refPeriodStart)YoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing, double spread, Date refPeriodStart, Date refPeriodEnd)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleadjustedFixing()voiddelete()protected voidfinalize()doublegearing()protected static longgetCPtr(YoYInflationCoupon obj)doublespread()protected voidswigSetCMemOwn(boolean own)YoYInflationIndexyoyIndex()-
Methods inherited from class org.quantlib.InflationCoupon
fixingDate, fixingDays, getCPtr, index, indexFixing, observationLag
-
Methods inherited from class org.quantlib.Coupon
accrualDays, accrualEndDate, accrualPeriod, accrualStartDate, accruedAmount, dayCounter, exCouponDate, getCPtr, nominal, rate, referencePeriodEnd, referencePeriodStart
-
Methods inherited from class org.quantlib.CashFlow
amount, date, getCPtr, hasOccurred, hasOccurred
-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
YoYInflationCoupon
protected YoYInflationCoupon(long cPtr, boolean cMemoryOwn)
-
YoYInflationCoupon
public YoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing, double spread, Date refPeriodStart, Date refPeriodEnd)
-
YoYInflationCoupon
public YoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing, double spread, Date refPeriodStart)
-
YoYInflationCoupon
public YoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing, double spread)
-
YoYInflationCoupon
public YoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing)
-
YoYInflationCoupon
public YoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(YoYInflationCoupon obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classInflationCoupon
-
finalize
protected void finalize()
- Overrides:
finalizein classInflationCoupon
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classInflationCoupon
-
gearing
public double gearing()
-
spread
public double spread()
-
adjustedFixing
public double adjustedFixing()
-
yoyIndex
public YoYInflationIndex yoyIndex()
-
-