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