public final class ResolvedIborCapFloorLeg extends Object implements org.joda.beans.ImmutableBean, Serializable
This is the resolved form of IborCapFloorLeg and is an input to the pricers.
Applications will typically create a ResolvedCmLegs from a IborCapFloorLeg
using IborCapFloorLeg.resolve(ReferenceData).
This defines a single leg for an Ibor cap/floor product and is formed from a number of periods. Each period may be a caplet or floorlet. The cap/floor instruments are defined as a set of call/put options on successive Ibor index rates.
A ResolvedIborCapFloorLeg is bound to data that changes over time, such as holiday calendars.
If the data changes, such as the addition of a new holiday, the resolved form will not be updated.
Care must be taken when placing the resolved form in a cache or persistence layer.
| Modifier and Type | Class and Description |
|---|---|
static class |
ResolvedIborCapFloorLeg.Builder
The bean-builder for
ResolvedIborCapFloorLeg. |
static class |
ResolvedIborCapFloorLeg.Meta
The meta-bean for
ResolvedIborCapFloorLeg. |
| Modifier and Type | Method and Description |
|---|---|
static ResolvedIborCapFloorLeg.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
boolean |
equals(Object obj) |
ImmutableList<IborCapletFloorletPeriod> |
getCapletFloorletPeriods()
Gets the periodic payments based on the successive observed values of an Ibor index.
|
Currency |
getCurrency()
Gets the currency of the leg.
|
LocalDate |
getEndDate()
Gets the accrual end date of the leg.
|
ZonedDateTime |
getFinalFixingDateTime()
Gets the fixing date time of the final caplet/floorlet period.
|
IborCapletFloorletPeriod |
getFinalPeriod()
Gets the final caplet/floorlet period.
|
IborIndex |
getIndex()
Gets the Ibor index of the leg.
|
PayReceive |
getPayReceive()
Gets whether the leg is pay or receive.
|
LocalDate |
getStartDate()
Gets the accrual start date of the leg.
|
int |
hashCode() |
static ResolvedIborCapFloorLeg.Meta |
meta()
The meta-bean for
ResolvedIborCapFloorLeg. |
ResolvedIborCapFloorLeg.Meta |
metaBean() |
ResolvedIborCapFloorLeg.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
public LocalDate getStartDate()
This is the first accrual date in the leg, often known as the effective date. This date has typically been adjusted to be a valid business day.
public LocalDate getEndDate()
This is the last accrual date in the leg, often known as the termination date. This date has typically been adjusted to be a valid business day.
public ZonedDateTime getFinalFixingDateTime()
public IborCapletFloorletPeriod getFinalPeriod()
public Currency getCurrency()
All periods in the leg will have this currency.
public IborIndex getIndex()
All periods in the leg will have this index.
public static ResolvedIborCapFloorLeg.Meta meta()
ResolvedIborCapFloorLeg.public static ResolvedIborCapFloorLeg.Builder builder()
public ResolvedIborCapFloorLeg.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic PayReceive getPayReceive()
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.
public ImmutableList<IborCapletFloorletPeriod> getCapletFloorletPeriods()
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.
public ResolvedIborCapFloorLeg.Builder toBuilder()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.