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 boolean
equals(Object obj)
CurveGroupName
getCurveGroupName()
Gets the curve group name.Class<LegalEntityCurveGroup>
getMarketDataType()
Gets the type of data this identifier refers to.ObservableSource
getObservableSource()
Gets the source of observable market data.int
hashCode()
static org.joda.beans.TypedMetaBean<LegalEntityCurveGroupId>
meta()
The meta-bean forLegalEntityCurveGroupId
.org.joda.beans.TypedMetaBean<LegalEntityCurveGroupId>
metaBean()
static LegalEntityCurveGroupId
of(CurveGroupName groupName)
Obtains an instance used to obtain a curve group by name.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.static LegalEntityCurveGroupId
of(String groupName)
Obtains an instance used to obtain a curve group by name.String
toString()
-
-
-
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:MarketDataId
Gets the type of data this identifier refers to.- Specified by:
getMarketDataType
in 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:
metaBean
in 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
-
-