public static final class ResolvedIborCapFloorLeg.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedIborCapFloorLeg>
ResolvedIborCapFloorLeg.| Modifier and Type | Method and Description |
|---|---|
ResolvedIborCapFloorLeg |
build() |
ResolvedIborCapFloorLeg.Builder |
capletFloorletPeriods(IborCapletFloorletPeriod... capletFloorletPeriods)
Sets the
capletFloorletPeriods property in the builder
from an array of objects. |
ResolvedIborCapFloorLeg.Builder |
capletFloorletPeriods(List<IborCapletFloorletPeriod> capletFloorletPeriods)
Sets the periodic payments based on the successive observed values of an Ibor index.
|
Object |
get(String propertyName) |
ResolvedIborCapFloorLeg.Builder |
payReceive(PayReceive payReceive)
Sets whether the leg is pay or receive.
|
ResolvedIborCapFloorLeg.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ResolvedIborCapFloorLeg.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ResolvedIborCapFloorLeg>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedIborCapFloorLeg>public ResolvedIborCapFloorLeg.Builder set(String propertyName, Object newValue)
public ResolvedIborCapFloorLeg.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ResolvedIborCapFloorLeg>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedIborCapFloorLeg>public ResolvedIborCapFloorLeg build()
public ResolvedIborCapFloorLeg.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.
The value of this flag should match the signs of the payment period notionals.
payReceive - the new value, not nullpublic ResolvedIborCapFloorLeg.Builder capletFloorletPeriods(List<IborCapletFloorletPeriod> capletFloorletPeriods)
Each payment period represents part of the life-time of the leg. In most cases, the periods do not overlap. However, since each payment period is essentially independent the data model allows overlapping periods.
capletFloorletPeriods - the new value, not emptypublic ResolvedIborCapFloorLeg.Builder capletFloorletPeriods(IborCapletFloorletPeriod... capletFloorletPeriods)
capletFloorletPeriods property in the builder
from an array of objects.capletFloorletPeriods - the new value, not emptypublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedIborCapFloorLeg>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.