Class FxOptionVolatilitiesId
- java.lang.Object
-
- com.opengamma.strata.pricer.fxopt.FxOptionVolatilitiesId
-
- All Implemented Interfaces:
MarketDataId<FxOptionVolatilities>
,NamedMarketDataId<FxOptionVolatilities>
,Serializable
,org.joda.beans.Bean
,org.joda.beans.ImmutableBean
public final class FxOptionVolatilitiesId extends Object implements NamedMarketDataId<FxOptionVolatilities>, org.joda.beans.ImmutableBean, Serializable
An identifier used to access FX option volatilities by name.This is used when there is a need to obtain an instance of
FxOptionVolatilities
.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
MarketDataName<FxOptionVolatilities>
getMarketDataName()
Gets the market data name.Class<FxOptionVolatilities>
getMarketDataType()
Gets the type of data this identifier refers to.FxOptionVolatilitiesName
getName()
Gets the name of the volatilities.int
hashCode()
static org.joda.beans.TypedMetaBean<FxOptionVolatilitiesId>
meta()
The meta-bean forFxOptionVolatilitiesId
.org.joda.beans.TypedMetaBean<FxOptionVolatilitiesId>
metaBean()
static FxOptionVolatilitiesId
of(FxOptionVolatilitiesName name)
Obtains an identifier used to find FX option volatilities.static FxOptionVolatilitiesId
of(String name)
Obtains an identifier used to find FX option volatilities.String
toString()
-
-
-
Method Detail
-
of
public static FxOptionVolatilitiesId of(String name)
Obtains an identifier used to find FX option volatilities.- Parameters:
name
- the name- Returns:
- an identifier for the volatilities
-
of
public static FxOptionVolatilitiesId of(FxOptionVolatilitiesName name)
Obtains an identifier used to find FX option volatilities.- Parameters:
name
- the name- Returns:
- an identifier for the volatilities
-
getMarketDataType
public Class<FxOptionVolatilities> getMarketDataType()
Description copied from interface:MarketDataId
Gets the type of data this identifier refers to.- Specified by:
getMarketDataType
in interfaceMarketDataId<FxOptionVolatilities>
- Returns:
- the type of the market data this identifier refers to
-
getMarketDataName
public MarketDataName<FxOptionVolatilities> getMarketDataName()
Description copied from interface:NamedMarketDataId
Gets the market data name.This name can be used to obtain the market data within a single coherent data set.
- Specified by:
getMarketDataName
in interfaceNamedMarketDataId<FxOptionVolatilities>
- Returns:
- the name of the market data this identifier refers to
-
meta
public static org.joda.beans.TypedMetaBean<FxOptionVolatilitiesId> meta()
The meta-bean forFxOptionVolatilitiesId
.- Returns:
- the meta-bean, not null
-
metaBean
public org.joda.beans.TypedMetaBean<FxOptionVolatilitiesId> metaBean()
- Specified by:
metaBean
in interfaceorg.joda.beans.Bean
-
getName
public FxOptionVolatilitiesName getName()
Gets the name of the volatilities.- Returns:
- the value of the property, not null
-
-