- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.LazyObject
-
- org.quantlib.Instrument
-
- org.quantlib.Swap
-
- org.quantlib.ZeroCouponInflationSwap
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class ZeroCouponInflationSwap extends Swap implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedZeroCouponInflationSwap(long cPtr, boolean cMemoryOwn)ZeroCouponInflationSwap(Swap.Type type, double nominal, Date start, Date maturity, Calendar calendar, BusinessDayConvention convention, DayCounter dayCounter, double fixedRate, ZeroInflationIndex index, Period lag, CPI.InterpolationType observationInterpolation)ZeroCouponInflationSwap(Swap.Type type, double nominal, Date start, Date maturity, Calendar calendar, BusinessDayConvention convention, DayCounter dayCounter, double fixedRate, ZeroInflationIndex index, Period lag, CPI.InterpolationType observationInterpolation, boolean adjustInfObsDates)ZeroCouponInflationSwap(Swap.Type type, double nominal, Date start, Date maturity, Calendar calendar, BusinessDayConvention convention, DayCounter dayCounter, double fixedRate, ZeroInflationIndex index, Period lag, CPI.InterpolationType observationInterpolation, boolean adjustInfObsDates, Calendar infCalendar)ZeroCouponInflationSwap(Swap.Type type, double nominal, Date start, Date maturity, Calendar calendar, BusinessDayConvention convention, DayCounter dayCounter, double fixedRate, ZeroInflationIndex index, Period lag, CPI.InterpolationType observationInterpolation, boolean adjustInfObsDates, Calendar infCalendar, BusinessDayConvention infConvention)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()doublefairRate()protected voidfinalize()LegfixedLeg()doublefixedLegNPV()protected static longgetCPtr(ZeroCouponInflationSwap obj)LeginflationLeg()doubleinflationLegNPV()protected voidswigSetCMemOwn(boolean own)Swap.Typetype()-
Methods inherited from class org.quantlib.Swap
endDiscounts, getCPtr, leg, legBPS, legNPV, maturityDate, npvDateDiscount, numberOfLegs, payer, startDate, startDiscounts
-
Methods inherited from class org.quantlib.Instrument
errorEstimate, getCPtr, isExpired, NPV, setPricingEngine
-
Methods inherited from class org.quantlib.LazyObject
alwaysForwardNotifications, forwardFirstNotificationOnly, forwardsAllNotifications, freeze, getCPtr, recalculate, unfreeze
-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
ZeroCouponInflationSwap
protected ZeroCouponInflationSwap(long cPtr, boolean cMemoryOwn)
-
ZeroCouponInflationSwap
public ZeroCouponInflationSwap(Swap.Type type, double nominal, Date start, Date maturity, Calendar calendar, BusinessDayConvention convention, DayCounter dayCounter, double fixedRate, ZeroInflationIndex index, Period lag, CPI.InterpolationType observationInterpolation, boolean adjustInfObsDates, Calendar infCalendar, BusinessDayConvention infConvention)
-
ZeroCouponInflationSwap
public ZeroCouponInflationSwap(Swap.Type type, double nominal, Date start, Date maturity, Calendar calendar, BusinessDayConvention convention, DayCounter dayCounter, double fixedRate, ZeroInflationIndex index, Period lag, CPI.InterpolationType observationInterpolation, boolean adjustInfObsDates, Calendar infCalendar)
-
ZeroCouponInflationSwap
public ZeroCouponInflationSwap(Swap.Type type, double nominal, Date start, Date maturity, Calendar calendar, BusinessDayConvention convention, DayCounter dayCounter, double fixedRate, ZeroInflationIndex index, Period lag, CPI.InterpolationType observationInterpolation, boolean adjustInfObsDates)
-
ZeroCouponInflationSwap
public ZeroCouponInflationSwap(Swap.Type type, double nominal, Date start, Date maturity, Calendar calendar, BusinessDayConvention convention, DayCounter dayCounter, double fixedRate, ZeroInflationIndex index, Period lag, CPI.InterpolationType observationInterpolation)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(ZeroCouponInflationSwap obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classSwap
-
delete
public void delete()
-
fairRate
public double fairRate()
-
fixedLegNPV
public double fixedLegNPV()
-
inflationLegNPV
public double inflationLegNPV()
-
inflationLeg
public Leg inflationLeg()
-
-