public final class CurveId extends Object implements NamedMarketDataId<Curve>, org.joda.beans.ImmutableBean, Serializable
This is used when there is a need to obtain an instance of Curve.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CurveGroupName |
getCurveGroupName()
Gets the curve group name.
|
CurveName |
getCurveName()
Gets the curve name.
|
MarketDataName<Curve> |
getMarketDataName() |
Class<Curve> |
getMarketDataType() |
ObservableSource |
getObservableSource()
Gets the source of observable market data.
|
int |
hashCode() |
static org.joda.beans.TypedMetaBean<CurveId> |
meta()
The meta-bean for
CurveId. |
org.joda.beans.TypedMetaBean<CurveId> |
metaBean() |
static CurveId |
of(CurveGroupName groupName,
CurveName curveName)
Obtains an instance used to obtain a curve by name.
|
static CurveId |
of(CurveGroupName groupName,
CurveName curveName,
ObservableSource obsSource)
Obtains an instance used to obtain a curve by name, specifying the source of observable market data.
|
static CurveId |
of(String groupName,
String curveName)
Obtains an instance used to obtain a curve by name.
|
String |
toString() |
public static CurveId of(String groupName, String curveName)
groupName - the curve group namecurveName - the curve namepublic static CurveId of(CurveGroupName groupName, CurveName curveName)
groupName - the curve group namecurveName - the curve namepublic static CurveId of(CurveGroupName groupName, CurveName curveName, ObservableSource obsSource)
groupName - the curve group namecurveName - the curve nameobsSource - the source of observable market datapublic Class<Curve> getMarketDataType()
getMarketDataType in interface MarketDataId<Curve>public MarketDataName<Curve> getMarketDataName()
getMarketDataName in interface NamedMarketDataId<Curve>public static org.joda.beans.TypedMetaBean<CurveId> meta()
CurveId.public org.joda.beans.TypedMetaBean<CurveId> metaBean()
metaBean in interface org.joda.beans.Beanpublic CurveGroupName getCurveGroupName()
public CurveName getCurveName()
public ObservableSource getObservableSource()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.