public final class SwaptionSurfaceExpiryTenorParameterMetadata extends Object implements ParameterMetadata, org.joda.beans.ImmutableBean, Serializable
This typically represents a node of swaption volatility surface parameterized by expiry and tenor. Alternative applications include a representation of a node on model parameter surface, e.g., SABR model parameters.
| Modifier and Type | Class and Description |
|---|---|
static class |
SwaptionSurfaceExpiryTenorParameterMetadata.Meta
The meta-bean for
SwaptionSurfaceExpiryTenorParameterMetadata. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Pair<Double,Double> |
getIdentifier() |
String |
getLabel()
Gets the label that describes the node.
|
double |
getTenor()
Gets the tenor of the surface node.
|
double |
getYearFraction()
Gets the year fraction of the surface node.
|
int |
hashCode() |
static SwaptionSurfaceExpiryTenorParameterMetadata.Meta |
meta()
The meta-bean for
SwaptionSurfaceExpiryTenorParameterMetadata. |
SwaptionSurfaceExpiryTenorParameterMetadata.Meta |
metaBean() |
static SwaptionSurfaceExpiryTenorParameterMetadata |
of(double yearFraction,
double tenor)
Creates node metadata using swap convention, year fraction and strike.
|
static SwaptionSurfaceExpiryTenorParameterMetadata |
of(double yearFraction,
double tenor,
String label)
Creates node using swap convention, year fraction, strike and label.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitempty, listOfEmptypublic static SwaptionSurfaceExpiryTenorParameterMetadata of(double yearFraction, double tenor)
yearFraction - the year fractiontenor - the tenorpublic static SwaptionSurfaceExpiryTenorParameterMetadata of(double yearFraction, double tenor, String label)
yearFraction - the year fractiontenor - the tenorlabel - the label to usepublic Pair<Double,Double> getIdentifier()
getIdentifier in interface ParameterMetadatapublic static SwaptionSurfaceExpiryTenorParameterMetadata.Meta meta()
SwaptionSurfaceExpiryTenorParameterMetadata.public SwaptionSurfaceExpiryTenorParameterMetadata.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic double getYearFraction()
This is the time to expiry that the node on the surface is defined as. There is not necessarily a direct relationship with a date from an underlying instrument.
public double getTenor()
This is the tenor of the underlying swap that the node on the surface is defined as.
public String getLabel()
getLabel in interface ParameterMetadataCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.