Package com.opengamma.strata.pricer.bond
Class BondFutureVolatilitiesName
- java.lang.Object
-
- com.opengamma.strata.data.MarketDataName<BondFutureVolatilities>
-
- com.opengamma.strata.pricer.bond.BondFutureVolatilitiesName
-
- All Implemented Interfaces:
Named,Serializable,Comparable<MarketDataName<?>>
public final class BondFutureVolatilitiesName extends MarketDataName<BondFutureVolatilities> implements Serializable
The name of a set of bond future volatilities.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<BondFutureVolatilities>getMarketDataType()Gets the type of data this name refers to.StringgetName()Gets the market data name.static BondFutureVolatilitiesNameof(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 BondFutureVolatilitiesName 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<BondFutureVolatilities> getMarketDataType()
Description copied from class:MarketDataNameGets the type of data this name refers to.- Specified by:
getMarketDataTypein classMarketDataName<BondFutureVolatilities>- Returns:
- the type of the market data this name refers to
-
getName
public String getName()
Description copied from class:MarketDataNameGets the market data name.The name must be unique within any single coherent data set.
- Specified by:
getNamein interfaceNamed- Specified by:
getNamein classMarketDataName<BondFutureVolatilities>- Returns:
- the unique name
-
-