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 booleanequals(Object obj)MarketDataName<SwaptionVolatilities>getMarketDataName()Gets the market data name.Class<SwaptionVolatilities>getMarketDataType()Gets the type of data this identifier refers to.SwaptionVolatilitiesNamegetName()Gets the name of the volatilities.inthashCode()static org.joda.beans.TypedMetaBean<SwaptionVolatilitiesId>meta()The meta-bean forSwaptionVolatilitiesId.org.joda.beans.TypedMetaBean<SwaptionVolatilitiesId>metaBean()static SwaptionVolatilitiesIdof(SwaptionVolatilitiesName name)Obtains an identifier used to find swaption volatilities.static SwaptionVolatilitiesIdof(String name)Obtains an identifier used to find swaption volatilities.StringtoString()
-
-
-
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:MarketDataIdGets the type of data this identifier refers to.- Specified by:
getMarketDataTypein interfaceMarketDataId<SwaptionVolatilities>- Returns:
- the type of the market data this identifier refers to
-
getMarketDataName
public MarketDataName<SwaptionVolatilities> 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<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:
metaBeanin interfaceorg.joda.beans.Bean
-
getName
public SwaptionVolatilitiesName getName()
Gets the name of the volatilities.- Returns:
- the value of the property, not null
-
-