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 classSabrSwaptionDefinition.MetaThe meta-bean forSabrSwaptionDefinition.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)FixedFloatSwapConventiongetConvention()Gets the swap convention that the volatilities are to be used for.DayCountgetDayCount()Gets the day count to use.SurfaceInterpolatorgetInterpolator()Gets the interpolator for the alpha, rho and nu surfaces.SwaptionVolatilitiesNamegetName()Gets the name of the volatilities.inthashCode()static SabrSwaptionDefinition.Metameta()The meta-bean forSabrSwaptionDefinition.SabrSwaptionDefinition.MetametaBean()static SabrSwaptionDefinitionof(SwaptionVolatilitiesName name, FixedFloatSwapConvention convention, DayCount dayCount, SurfaceInterpolator interpolator)Obtains an instance from the name, convention, day count and tenors.StringtoString()
-
-
-
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:
metaBeanin 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
-
-