Package com.opengamma.strata.data
Interface NamedMarketDataId<T>
-
- Type Parameters:
T
- the type of the market data this identifier refers to
- All Superinterfaces:
MarketDataId<T>
- All Known Implementing Classes:
BondFutureVolatilitiesId
,CurveId
,FxOptionVolatilitiesId
,IborCapletFloorletVolatilitiesId
,IborFutureOptionVolatilitiesId
,SwaptionVolatilitiesId
public interface NamedMarketDataId<T> extends MarketDataId<T>
An identifier for a unique item of market data that can has a non-unique name.A
MarketDataId
is used to uniquely identify market data within a system. By contrast, aMarketDataName
is only unique within a single coherent data set.For example, a curve group contains a set of curves, and within the group the name is unique. But the market data system may contain many curve groups where the same name appears in each group. The
MarketDataId
includes both the group name and curve name in order to ensure uniqueness. But within a specific context, theMarketDataName
is also sufficient to find the same data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MarketDataName<T>
getMarketDataName()
Gets the market data name.-
Methods inherited from interface com.opengamma.strata.data.MarketDataId
getMarketDataType
-
-
-
-
Method Detail
-
getMarketDataName
MarketDataName<T> getMarketDataName()
Gets the market data name.This name can be used to obtain the market data within a single coherent data set.
- Returns:
- the name of the market data this identifier refers to
-
-