Class LegalEntityCurveGroupId
- java.lang.Object
-
- com.opengamma.strata.market.curve.LegalEntityCurveGroupId
-
- All Implemented Interfaces:
MarketDataId<LegalEntityCurveGroup>,Serializable,org.joda.beans.Bean,org.joda.beans.ImmutableBean
public final class LegalEntityCurveGroupId extends Object implements MarketDataId<LegalEntityCurveGroup>, 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
LegalEntityCurveGroup.- 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<LegalEntityCurveGroup>getMarketDataType()Gets the type of data this identifier refers to.ObservableSourcegetObservableSource()Gets the source of observable market data.inthashCode()static org.joda.beans.TypedMetaBean<LegalEntityCurveGroupId>meta()The meta-bean forLegalEntityCurveGroupId.org.joda.beans.TypedMetaBean<LegalEntityCurveGroupId>metaBean()static LegalEntityCurveGroupIdof(CurveGroupName groupName)Obtains an instance used to obtain a curve group by name.static LegalEntityCurveGroupIdof(CurveGroupName groupName, ObservableSource obsSource)Obtains an instance used to obtain a curve group by name, specifying the source of observable market data.static LegalEntityCurveGroupIdof(String groupName)Obtains an instance used to obtain a curve group by name.StringtoString()
-
-
-
Method Detail
-
of
public static LegalEntityCurveGroupId 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 LegalEntityCurveGroupId 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 LegalEntityCurveGroupId 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<LegalEntityCurveGroup> getMarketDataType()
Description copied from interface:MarketDataIdGets the type of data this identifier refers to.- Specified by:
getMarketDataTypein interfaceMarketDataId<LegalEntityCurveGroup>- Returns:
- the type of the market data this identifier refers to
-
meta
public static org.joda.beans.TypedMetaBean<LegalEntityCurveGroupId> meta()
The meta-bean forLegalEntityCurveGroupId.- Returns:
- the meta-bean, not null
-
metaBean
public org.joda.beans.TypedMetaBean<LegalEntityCurveGroupId> 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
-
-