Class RatesCurveGroupId
- java.lang.Object
-
- com.opengamma.strata.market.curve.RatesCurveGroupId
-
- All Implemented Interfaces:
MarketDataId<RatesCurveGroup>,Serializable,org.joda.beans.Bean,org.joda.beans.ImmutableBean
public final class RatesCurveGroupId extends Object implements MarketDataId<RatesCurveGroup>, org.joda.beans.ImmutableBean, Serializable
An identifier used to access a curve group by name.This is used when there is a need to obtain an instance of
RatesCurveGroup.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)CurveGroupNamegetCurveGroupName()Gets the curve group name.Class<RatesCurveGroup>getMarketDataType()Gets the type of data this identifier refers to.ObservableSourcegetObservableSource()Gets the source of observable market data.inthashCode()static org.joda.beans.TypedMetaBean<RatesCurveGroupId>meta()The meta-bean forRatesCurveGroupId.org.joda.beans.TypedMetaBean<RatesCurveGroupId>metaBean()static RatesCurveGroupIdof(CurveGroupName groupName)Obtains an instance used to obtain a curve group by name.static RatesCurveGroupIdof(CurveGroupName groupName, ObservableSource obsSource)Obtains an instance used to obtain a curve group by name, specifying the source of observable market data.static RatesCurveGroupIdof(String groupName)Obtains an instance used to obtain a curve group by name.StringtoString()
-
-
-
Method Detail
-
of
public static RatesCurveGroupId of(String groupName)
Obtains an instance used to obtain a curve group by name.- Parameters:
groupName- the curve group name- Returns:
- the identifier
-
of
public static RatesCurveGroupId of(CurveGroupName groupName)
Obtains an instance used to obtain a curve group by name.- Parameters:
groupName- the curve group name- Returns:
- the identifier
-
of
public static RatesCurveGroupId of(CurveGroupName groupName, ObservableSource obsSource)
Obtains an instance used to obtain a curve group by name, specifying the source of observable market data.- Parameters:
groupName- the curve group nameobsSource- source of observable market data- Returns:
- the identifier
-
getMarketDataType
public Class<RatesCurveGroup> getMarketDataType()
Description copied from interface:MarketDataIdGets the type of data this identifier refers to.- Specified by:
getMarketDataTypein interfaceMarketDataId<RatesCurveGroup>- Returns:
- the type of the market data this identifier refers to
-
meta
public static org.joda.beans.TypedMetaBean<RatesCurveGroupId> meta()
The meta-bean forRatesCurveGroupId.- Returns:
- the meta-bean, not null
-
metaBean
public org.joda.beans.TypedMetaBean<RatesCurveGroupId> metaBean()
- Specified by:
metaBeanin interfaceorg.joda.beans.Bean
-
getCurveGroupName
public CurveGroupName getCurveGroupName()
Gets the curve group name.- Returns:
- the value of the property, not null
-
getObservableSource
public ObservableSource getObservableSource()
Gets the source of observable market data.- Returns:
- the value of the property, not null
-
-