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