com.opengamma.strata.market.curve

## Class RatesCurveGroupEntry

• All Implemented Interfaces:
Serializable, Bean, ImmutableBean

public final class RatesCurveGroupEntry
extends Object
implements ImmutableBean, Serializable
A single entry in the curve group definition.

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.

Serialized Form
• ### Nested Class Summary

Nested Classes
Modifier and Type Class and Description
static class  RatesCurveGroupEntry.Builder
The bean-builder for RatesCurveGroupEntry.
static class  RatesCurveGroupEntry.Meta
The meta-bean for RatesCurveGroupEntry.
• ### Method Summary

All Methods
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.
com.google.common.collect.ImmutableSet<Currency> getDiscountCurrencies()
Gets the currencies for which the curve provides discount rates.
com.google.common.collect.ImmutableSet<Index> getIndices()
Gets the indices for which the curve provides forward rates.
<T extends Index>com.google.common.collect.ImmutableSet<T> 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()
• ### Methods inherited from class java.lang.Object

clone, finalize, getClass, notify, notifyAll, wait, wait, wait
• ### Methods inherited from interface org.joda.beans.Bean

property, propertyNames
• ### Method Detail

• #### getIndices

public <T extends Index> com.google.common.collect.ImmutableSet<T> getIndices(Class<T> indexType)
Gets the subset of indices matching the specified type for which the curve provides forward rates.

The set of indices is filtered and cast using the specified type. This is empty if the curve is not used for forward rates.

Type Parameters:
T - the type of index
Parameters:
indexType - the type of index required
Returns:
the subset of indices
• #### meta

public static RatesCurveGroupEntry.Meta meta()
The meta-bean for RatesCurveGroupEntry.
Returns:
the meta-bean, not null
• #### builder

public static RatesCurveGroupEntry.Builder builder()
Returns a builder used to create an instance of the bean.
Returns:
the builder, not null
• #### metaBean

public RatesCurveGroupEntry.Meta metaBean()
Specified by:
metaBean in interface Bean
• #### getCurveName

public CurveName getCurveName()
Gets the curve name.
Returns:
the value of the property, not null
• #### getDiscountCurrencies

public com.google.common.collect.ImmutableSet<Currency> getDiscountCurrencies()
Gets the currencies for which the curve provides discount rates. This is empty if the curve is not used for Ibor rates.
Returns:
the value of the property, not null
• #### getIndices

public com.google.common.collect.ImmutableSet<Index> getIndices()
Gets the indices for which the curve provides forward rates. This is empty if the curve is not used for forward rates.
Returns:
the value of the property, not null
• #### toBuilder

public RatesCurveGroupEntry.Builder toBuilder()
Returns a builder that allows this bean to be mutated.
Returns:
the mutable builder, not null
• #### equals

public boolean equals(Object obj)
Overrides:
equals in class Object
• #### hashCode

public int hashCode()
Overrides:
hashCode in class Object
• #### toString

public String toString()
Overrides:
toString in class Object