Package com.opengamma.strata.data
Class FxMatrixId
- java.lang.Object
-
- com.opengamma.strata.data.FxMatrixId
-
- All Implemented Interfaces:
MarketDataId<FxMatrix>,Serializable,org.joda.beans.Bean,org.joda.beans.ImmutableBean
public final class FxMatrixId extends Object implements MarketDataId<FxMatrix>, org.joda.beans.ImmutableBean, Serializable
Identifies the market data for an FX matrix.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Class<FxMatrix>getMarketDataType()Gets the type of data this identifier refers to.ObservableSourcegetObservableSource()Gets the source of observable market data.inthashCode()static org.joda.beans.TypedMetaBean<FxMatrixId>meta()The meta-bean forFxMatrixId.org.joda.beans.TypedMetaBean<FxMatrixId>metaBean()static FxMatrixIdof(ObservableSource observableSource)Obtains an instance representing an FX matrix, specifying the source.static FxMatrixIdstandard()Obtains an instance representing an FX matrix.StringtoString()
-
-
-
Method Detail
-
standard
public static FxMatrixId standard()
Obtains an instance representing an FX matrix.- Returns:
- an identifier for the FX matrix
-
of
public static FxMatrixId of(ObservableSource observableSource)
Obtains an instance representing an FX matrix, specifying the source.- Parameters:
observableSource- the source of the observable market data used to create the rate- Returns:
- an identifier for the FX matrix
-
getMarketDataType
public Class<FxMatrix> getMarketDataType()
Description copied from interface:MarketDataIdGets the type of data this identifier refers to.- Specified by:
getMarketDataTypein interfaceMarketDataId<FxMatrix>- Returns:
- the type of the market data this identifier refers to
-
meta
public static org.joda.beans.TypedMetaBean<FxMatrixId> meta()
The meta-bean forFxMatrixId.- Returns:
- the meta-bean, not null
-
metaBean
public org.joda.beans.TypedMetaBean<FxMatrixId> metaBean()
- Specified by:
metaBeanin interfaceorg.joda.beans.Bean
-
getObservableSource
public ObservableSource getObservableSource()
Gets the source of observable market data. This is used when looking up the underlying market quotes for the rate.- Returns:
- the value of the property, not null
-
-