public final class ResolvedIborCapFloor extends Object implements ResolvedProduct, org.joda.beans.ImmutableBean, Serializable
This is the resolved form of IborCapFloor and is an input to the pricers.
Applications will typically create a ResolvedIborCapFloor from a IborCapFloor
using IborCapFloor.resolve(ReferenceData).
A ResolvedIborCapFloor 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 |
ResolvedIborCapFloor.Meta
The meta-bean for
ResolvedIborCapFloor. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableSet<Index> |
allIndices()
Returns the set of indices referred to by the cap/floor.
|
ImmutableSet<Currency> |
allPaymentCurrencies()
Returns the set of payment currencies referred to by the cap/floor.
|
boolean |
equals(Object obj) |
ResolvedIborCapFloorLeg |
getCapFloorLeg()
Gets the Ibor cap/floor leg of the product.
|
Optional<ResolvedSwapLeg> |
getPayLeg()
Gets the optional pay leg of the product.
|
int |
hashCode() |
static ResolvedIborCapFloor.Meta |
meta()
The meta-bean for
ResolvedIborCapFloor. |
ResolvedIborCapFloor.Meta |
metaBean() |
static ResolvedIborCapFloor |
of(ResolvedIborCapFloorLeg capFloorLeg)
Obtains an instance from a cap/floor leg with no pay leg.
|
static ResolvedIborCapFloor |
of(ResolvedIborCapFloorLeg capFloorLeg,
ResolvedSwapLeg payLeg)
Obtains an instance from a cap/floor leg and a pay leg.
|
String |
toString() |
public static ResolvedIborCapFloor of(ResolvedIborCapFloorLeg capFloorLeg)
The pay leg is absent in the resulting cap/floor.
capFloorLeg - the cap/floor legpublic static ResolvedIborCapFloor of(ResolvedIborCapFloorLeg capFloorLeg, ResolvedSwapLeg payLeg)
capFloorLeg - the cap/floor legpayLeg - the pay legpublic ImmutableSet<Currency> allPaymentCurrencies()
This returns the complete set of payment currencies for the cap/floor. This will typically return one currency, but could return two.
public ImmutableSet<Index> allIndices()
A cap/floor will typically refer to one index, such as 'GBP-LIBOR-3M'. Calling this method will return the complete list of indices.
public static ResolvedIborCapFloor.Meta meta()
ResolvedIborCapFloor.public ResolvedIborCapFloor.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic ResolvedIborCapFloorLeg getCapFloorLeg()
This is associated with periodic payments based on Ibor rate. The payments are Ibor caplets or Ibor floorlets.
public Optional<ResolvedSwapLeg> getPayLeg()
These periodic payments are not made for typical cap/floor products. Instead the premium is paid upfront.
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.