- java.lang.Object
-
- org.quantlib.MakeVanillaSwap
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class MakeVanillaSwap extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description protectedMakeVanillaSwap(long cPtr, boolean cMemoryOwn)MakeVanillaSwap(Period swapTenor, IborIndex index, double fixedRate, Period forwardStart)
-
Method Summary
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Detail
-
MakeVanillaSwap
protected MakeVanillaSwap(long cPtr, boolean cMemoryOwn)
-
MakeVanillaSwap
public MakeVanillaSwap(Period swapTenor, IborIndex index, double fixedRate, Period forwardStart)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(MakeVanillaSwap obj)
-
swigRelease
protected static long swigRelease(MakeVanillaSwap obj)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
receiveFixed
public MakeVanillaSwap receiveFixed(boolean flag)
-
receiveFixed
public MakeVanillaSwap receiveFixed()
-
withType
public MakeVanillaSwap withType(Swap.Type type)
-
withNominal
public MakeVanillaSwap withNominal(double n)
-
withSettlementDays
public MakeVanillaSwap withSettlementDays(long settlementDays)
-
withEffectiveDate
public MakeVanillaSwap withEffectiveDate(Date arg0)
-
withTerminationDate
public MakeVanillaSwap withTerminationDate(Date arg0)
-
withRule
public MakeVanillaSwap withRule(DateGeneration.Rule r)
-
withFixedLegTenor
public MakeVanillaSwap withFixedLegTenor(Period t)
-
withFixedLegCalendar
public MakeVanillaSwap withFixedLegCalendar(Calendar cal)
-
withFixedLegConvention
public MakeVanillaSwap withFixedLegConvention(BusinessDayConvention bdc)
-
withFixedLegTerminationDateConvention
public MakeVanillaSwap withFixedLegTerminationDateConvention(BusinessDayConvention bdc)
-
withFixedLegRule
public MakeVanillaSwap withFixedLegRule(DateGeneration.Rule r)
-
withFixedLegEndOfMonth
public MakeVanillaSwap withFixedLegEndOfMonth(boolean flag)
-
withFixedLegEndOfMonth
public MakeVanillaSwap withFixedLegEndOfMonth()
-
withFixedLegFirstDate
public MakeVanillaSwap withFixedLegFirstDate(Date d)
-
withFixedLegNextToLastDate
public MakeVanillaSwap withFixedLegNextToLastDate(Date d)
-
withFixedLegDayCount
public MakeVanillaSwap withFixedLegDayCount(DayCounter dc)
-
withFloatingLegTenor
public MakeVanillaSwap withFloatingLegTenor(Period t)
-
withFloatingLegCalendar
public MakeVanillaSwap withFloatingLegCalendar(Calendar cal)
-
withFloatingLegConvention
public MakeVanillaSwap withFloatingLegConvention(BusinessDayConvention bdc)
-
withFloatingLegTerminationDateConvention
public MakeVanillaSwap withFloatingLegTerminationDateConvention(BusinessDayConvention bdc)
-
withFloatingLegRule
public MakeVanillaSwap withFloatingLegRule(DateGeneration.Rule r)
-
withFloatingLegEndOfMonth
public MakeVanillaSwap withFloatingLegEndOfMonth(boolean flag)
-
withFloatingLegEndOfMonth
public MakeVanillaSwap withFloatingLegEndOfMonth()
-
withFloatingLegFirstDate
public MakeVanillaSwap withFloatingLegFirstDate(Date d)
-
withFloatingLegNextToLastDate
public MakeVanillaSwap withFloatingLegNextToLastDate(Date d)
-
withFloatingLegDayCount
public MakeVanillaSwap withFloatingLegDayCount(DayCounter dc)
-
withFloatingLegSpread
public MakeVanillaSwap withFloatingLegSpread(double sp)
-
withDiscountingTermStructure
public MakeVanillaSwap withDiscountingTermStructure(YieldTermStructureHandle discountCurve)
-
withPricingEngine
public MakeVanillaSwap withPricingEngine(PricingEngine engine)
-
withIndexedCoupons
public MakeVanillaSwap withIndexedCoupons(boolean flag)
-
withIndexedCoupons
public MakeVanillaSwap withIndexedCoupons()
-
withAtParCoupons
public MakeVanillaSwap withAtParCoupons(boolean flag)
-
withAtParCoupons
public MakeVanillaSwap withAtParCoupons()
-
makeVanillaSwap
public VanillaSwap makeVanillaSwap()
-
-