- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.CashFlow
-
- org.quantlib.Coupon
-
- org.quantlib.InflationCoupon
-
- org.quantlib.YoYInflationCoupon
-
- org.quantlib.CappedFlooredYoYInflationCoupon
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class CappedFlooredYoYInflationCoupon extends YoYInflationCoupon implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCappedFlooredYoYInflationCoupon(long cPtr, boolean cMemoryOwn)CappedFlooredYoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter)CappedFlooredYoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing)CappedFlooredYoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing, double spread)CappedFlooredYoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing, double spread, double cap)CappedFlooredYoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing, double spread, double cap, double floor)CappedFlooredYoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing, double spread, double cap, double floor, Date refPeriodStart)CappedFlooredYoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing, double spread, double cap, double floor, Date refPeriodStart, Date refPeriodEnd)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doublecap()voiddelete()doubleeffectiveCap()doubleeffectiveFloor()protected voidfinalize()doublefloor()protected static longgetCPtr(CappedFlooredYoYInflationCoupon obj)booleanisCapped()booleanisFloored()doublerate()protected voidswigSetCMemOwn(boolean own)doubleunderlyingRate()-
Methods inherited from class org.quantlib.YoYInflationCoupon
adjustedFixing, gearing, getCPtr, spread, yoyIndex
-
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, referencePeriodEnd, referencePeriodStart
-
Methods inherited from class org.quantlib.CashFlow
amount, date, getCPtr, hasOccurred, hasOccurred
-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
CappedFlooredYoYInflationCoupon
protected CappedFlooredYoYInflationCoupon(long cPtr, boolean cMemoryOwn)
-
CappedFlooredYoYInflationCoupon
public CappedFlooredYoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing, double spread, double cap, double floor, Date refPeriodStart, Date refPeriodEnd)
-
CappedFlooredYoYInflationCoupon
public CappedFlooredYoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing, double spread, double cap, double floor, Date refPeriodStart)
-
CappedFlooredYoYInflationCoupon
public CappedFlooredYoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing, double spread, double cap, double floor)
-
CappedFlooredYoYInflationCoupon
public CappedFlooredYoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing, double spread, double cap)
-
CappedFlooredYoYInflationCoupon
public CappedFlooredYoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing, double spread)
-
CappedFlooredYoYInflationCoupon
public CappedFlooredYoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter, double gearing)
-
CappedFlooredYoYInflationCoupon
public CappedFlooredYoYInflationCoupon(Date paymentDate, double nominal, Date startDate, Date endDate, long fixingDays, YoYInflationIndex index, Period observationLag, DayCounter dayCounter)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(CappedFlooredYoYInflationCoupon obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classYoYInflationCoupon
-
finalize
protected void finalize()
- Overrides:
finalizein classYoYInflationCoupon
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classYoYInflationCoupon
-
cap
public double cap()
-
floor
public double floor()
-
effectiveCap
public double effectiveCap()
-
effectiveFloor
public double effectiveFloor()
-
underlyingRate
public double underlyingRate()
-
isCapped
public boolean isCapped()
-
isFloored
public boolean isFloored()
-
-