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 booleanequals(Object obj)MarketDataName<FxOptionVolatilities>getMarketDataName()Gets the market data name.Class<FxOptionVolatilities>getMarketDataType()Gets the type of data this identifier refers to.FxOptionVolatilitiesNamegetName()Gets the name of the volatilities.inthashCode()static org.joda.beans.TypedMetaBean<FxOptionVolatilitiesId>meta()The meta-bean forFxOptionVolatilitiesId.org.joda.beans.TypedMetaBean<FxOptionVolatilitiesId>metaBean()static FxOptionVolatilitiesIdof(FxOptionVolatilitiesName name)Obtains an identifier used to find FX option volatilities.static FxOptionVolatilitiesIdof(String name)Obtains an identifier used to find FX option volatilities.StringtoString()
-
-
-
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:MarketDataIdGets the type of data this identifier refers to.- Specified by:
getMarketDataTypein interfaceMarketDataId<FxOptionVolatilities>- Returns:
- the type of the market data this identifier refers to
-
getMarketDataName
public MarketDataName<FxOptionVolatilities> getMarketDataName()
Description copied from interface:NamedMarketDataIdGets the market data name.This name can be used to obtain the market data within a single coherent data set.
- Specified by:
getMarketDataNamein 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:
metaBeanin interfaceorg.joda.beans.Bean
-
getName
public FxOptionVolatilitiesName getName()
Gets the name of the volatilities.- Returns:
- the value of the property, not null
-
-