Class SabrSwaptionDefinition
- java.lang.Object
-
- com.opengamma.strata.pricer.swaption.SabrSwaptionDefinition
-
- All Implemented Interfaces:
Serializable
,org.joda.beans.Bean
,org.joda.beans.ImmutableBean
public final class SabrSwaptionDefinition extends Object implements org.joda.beans.ImmutableBean, Serializable
Definition of standard inputs to SABR swaption calibration.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SabrSwaptionDefinition.Meta
The meta-bean forSabrSwaptionDefinition
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
FixedFloatSwapConvention
getConvention()
Gets the swap convention that the volatilities are to be used for.DayCount
getDayCount()
Gets the day count to use.SurfaceInterpolator
getInterpolator()
Gets the interpolator for the alpha, rho and nu surfaces.SwaptionVolatilitiesName
getName()
Gets the name of the volatilities.int
hashCode()
static SabrSwaptionDefinition.Meta
meta()
The meta-bean forSabrSwaptionDefinition
.SabrSwaptionDefinition.Meta
metaBean()
static SabrSwaptionDefinition
of(SwaptionVolatilitiesName name, FixedFloatSwapConvention convention, DayCount dayCount, SurfaceInterpolator interpolator)
Obtains an instance from the name, convention, day count and tenors.String
toString()
-
-
-
Method Detail
-
of
public static SabrSwaptionDefinition of(SwaptionVolatilitiesName name, FixedFloatSwapConvention convention, DayCount dayCount, SurfaceInterpolator interpolator)
Obtains an instance from the name, convention, day count and tenors.- Parameters:
name
- the name of the volatilitiesconvention
- the swap convention that the volatilities are to be used fordayCount
- the day count to useinterpolator
- the interpolator for the alpha, rho and nu surfaces- Returns:
- the volatilities
-
meta
public static SabrSwaptionDefinition.Meta meta()
The meta-bean forSabrSwaptionDefinition
.- Returns:
- the meta-bean, not null
-
metaBean
public SabrSwaptionDefinition.Meta 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
-
getConvention
public FixedFloatSwapConvention getConvention()
Gets the swap convention that the volatilities are to be used for.- Returns:
- the value of the property, not null
-
getDayCount
public DayCount getDayCount()
Gets the day count to use.- Returns:
- the value of the property, not null
-
getInterpolator
public SurfaceInterpolator getInterpolator()
Gets the interpolator for the alpha, rho and nu surfaces.- Returns:
- the value of the property, not null
-
-