public static final class IborCapFloorLeg.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborCapFloorLeg>
IborCapFloorLeg.| Modifier and Type | Method and Description |
|---|---|
IborCapFloorLeg |
build() |
IborCapFloorLeg.Builder |
calculation(IborRateCalculation calculation)
Sets the interest rate accrual calculation.
|
IborCapFloorLeg.Builder |
capSchedule(ValueSchedule capSchedule)
Sets the cap schedule, optional.
|
IborCapFloorLeg.Builder |
currency(Currency currency)
Sets the currency of the leg associated with the notional.
|
IborCapFloorLeg.Builder |
floorSchedule(ValueSchedule floorSchedule)
Sets the floor schedule, optional.
|
Object |
get(String propertyName) |
IborCapFloorLeg.Builder |
notional(ValueSchedule notional)
Sets the notional amount, must be non-negative.
|
IborCapFloorLeg.Builder |
paymentDateOffset(DaysAdjustment paymentDateOffset)
Sets the offset of payment from the base calculation period date, defaulted to 'None'.
|
IborCapFloorLeg.Builder |
paymentSchedule(PeriodicSchedule paymentSchedule)
Sets the periodic payment schedule.
|
IborCapFloorLeg.Builder |
payReceive(PayReceive payReceive)
Sets whether the leg is pay or receive.
|
IborCapFloorLeg.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
IborCapFloorLeg.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<IborCapFloorLeg>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborCapFloorLeg>public IborCapFloorLeg.Builder set(String propertyName, Object newValue)
public IborCapFloorLeg.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<IborCapFloorLeg>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborCapFloorLeg>public IborCapFloorLeg build()
public IborCapFloorLeg.Builder payReceive(PayReceive payReceive)
A value of 'Pay' implies that the resulting amount is paid to the counterparty. A value of 'Receive' implies that the resulting amount is received from the counterparty.
payReceive - the new value, not nullpublic IborCapFloorLeg.Builder paymentSchedule(PeriodicSchedule paymentSchedule)
This is used to define the periodic payment periods. These are used directly or indirectly to determine other dates in the leg.
paymentSchedule - the new value, not nullpublic IborCapFloorLeg.Builder paymentDateOffset(DaysAdjustment paymentDateOffset)
The offset is applied to the adjusted end date of each payment period. Offset can be based on calendar days or business days.
paymentDateOffset - the new value, not nullpublic IborCapFloorLeg.Builder currency(Currency currency)
This is the currency of the leg and the currency that payoff calculation is made in. The amounts of the notional are expressed in terms of this currency.
currency - the new value, not nullpublic IborCapFloorLeg.Builder notional(ValueSchedule notional)
The notional amount applicable during the period.
The currency of the notional is specified by currency.
notional - the new value, not nullpublic IborCapFloorLeg.Builder calculation(IborRateCalculation calculation)
The interest rate accrual is based on Ibor index.
calculation - the new value, not nullpublic IborCapFloorLeg.Builder capSchedule(ValueSchedule capSchedule)
This defines the strike value of a cap as an initial value and a list of adjustments. Thus individual caplets may have different strike values. The cap rate is only allowed to change at payment period boundaries.
If the product is not a cap, the cap schedule will be absent.
capSchedule - the new valuepublic IborCapFloorLeg.Builder floorSchedule(ValueSchedule floorSchedule)
This defines the strike value of a floor as an initial value and a list of adjustments. Thus individual floorlets may have different strike values. The floor rate is only allowed to change at payment period boundaries.
If the product is not a floor, the floor schedule will be absent.
floorSchedule - the new valuepublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborCapFloorLeg>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.