public final class RatesCurveGroupEntry extends Object implements org.joda.beans.ImmutableBean, Serializable
Each entry stores the definition of a single curve and how it is to be used. This structure allows the curve itself to be used for multiple purposes.
The currencies are used to specify that the curve is to be used as a discount curve. The indices are used to specify that the curve is to be used as a forward curve.
| Modifier and Type | Class and Description |
|---|---|
static class |
RatesCurveGroupEntry.Builder
The bean-builder for
RatesCurveGroupEntry. |
static class |
RatesCurveGroupEntry.Meta
The meta-bean for
RatesCurveGroupEntry. |
| Modifier and Type | Method and Description |
|---|---|
static RatesCurveGroupEntry.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
boolean |
equals(Object obj) |
CurveName |
getCurveName()
Gets the curve name.
|
ImmutableSet<Currency> |
getDiscountCurrencies()
Gets the currencies for which the curve provides discount rates.
|
ImmutableSet<Index> |
getIndices()
Gets the indices for which the curve provides forward rates.
|
<T extends Index> |
getIndices(Class<T> indexType)
Gets the subset of indices matching the specified type for which the curve provides forward rates.
|
int |
hashCode() |
static RatesCurveGroupEntry.Meta |
meta()
The meta-bean for
RatesCurveGroupEntry. |
RatesCurveGroupEntry.Meta |
metaBean() |
RatesCurveGroupEntry.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
public <T extends Index> ImmutableSet<T> getIndices(Class<T> indexType)
The set of indices is filtered and cast using the specified type. This is empty if the curve is not used for forward rates.
T - the type of indexindexType - the type of index requiredpublic static RatesCurveGroupEntry.Meta meta()
RatesCurveGroupEntry.public static RatesCurveGroupEntry.Builder builder()
public RatesCurveGroupEntry.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic CurveName getCurveName()
public ImmutableSet<Currency> getDiscountCurrencies()
public ImmutableSet<Index> getIndices()
public RatesCurveGroupEntry.Builder toBuilder()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.