Class FxOptionVolatilitiesName
- java.lang.Object
-
- com.opengamma.strata.data.MarketDataName<FxOptionVolatilities>
-
- com.opengamma.strata.pricer.fxopt.FxOptionVolatilitiesName
-
- All Implemented Interfaces:
Named
,Serializable
,Comparable<MarketDataName<?>>
public final class FxOptionVolatilitiesName extends MarketDataName<FxOptionVolatilities> implements Serializable
The name of a set of FX option volatilities.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<FxOptionVolatilities>
getMarketDataType()
Gets the type of data this name refers to.String
getName()
Gets the market data name.static FxOptionVolatilitiesName
of(String name)
Obtains an instance from the specified name.-
Methods inherited from class com.opengamma.strata.data.MarketDataName
compareTo, equals, hashCode, toString
-
-
-
-
Method Detail
-
of
public static FxOptionVolatilitiesName of(String name)
Obtains an instance from the specified name.Names may contain any character, but must not be empty.
- Parameters:
name
- the name- Returns:
- the name instance
-
getMarketDataType
public Class<FxOptionVolatilities> getMarketDataType()
Description copied from class:MarketDataName
Gets the type of data this name refers to.- Specified by:
getMarketDataType
in classMarketDataName<FxOptionVolatilities>
- Returns:
- the type of the market data this name refers to
-
getName
public String getName()
Description copied from class:MarketDataName
Gets the market data name.The name must be unique within any single coherent data set.
- Specified by:
getName
in interfaceNamed
- Specified by:
getName
in classMarketDataName<FxOptionVolatilities>
- Returns:
- the unique name
-
-