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 boolean
equals(Object obj)
Class<FxMatrix>
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<FxMatrixId>
meta()
The meta-bean forFxMatrixId
.org.joda.beans.TypedMetaBean<FxMatrixId>
metaBean()
static FxMatrixId
of(ObservableSource observableSource)
Obtains an instance representing an FX matrix, specifying the source.static FxMatrixId
standard()
Obtains an instance representing an FX matrix.String
toString()
-
-
-
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:MarketDataId
Gets the type of data this identifier refers to.- Specified by:
getMarketDataType
in 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:
metaBean
in 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
-
-