public final class GenericVolatilitySurfacePeriodParameterMetadata extends Object implements ParameterMetadata, org.joda.beans.ImmutableBean, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericVolatilitySurfacePeriodParameterMetadata.Meta
The meta-bean for
GenericVolatilitySurfacePeriodParameterMetadata. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Pair<Period,Strike> |
getIdentifier() |
String |
getLabel()
Gets the label that describes the node.
|
Period |
getPeriod()
Gets the period of the surface node.
|
Strike |
getStrike()
Gets the strike of the surface node.
|
int |
hashCode() |
static GenericVolatilitySurfacePeriodParameterMetadata.Meta |
meta()
The meta-bean for
GenericVolatilitySurfacePeriodParameterMetadata. |
GenericVolatilitySurfacePeriodParameterMetadata.Meta |
metaBean() |
static GenericVolatilitySurfacePeriodParameterMetadata |
of(Period period,
Strike strike)
Creates node metadata using period and strike.
|
static GenericVolatilitySurfacePeriodParameterMetadata |
of(Period period,
Strike strike,
String label)
Creates node using period, strike and label.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitempty, listOfEmptypublic static GenericVolatilitySurfacePeriodParameterMetadata of(Period period, Strike strike)
period - the periodstrike - the strikepublic static GenericVolatilitySurfacePeriodParameterMetadata of(Period period, Strike strike, String label)
period - the periodstrike - the strikelabel - the label to usepublic Pair<Period,Strike> getIdentifier()
getIdentifier in interface ParameterMetadatapublic static GenericVolatilitySurfacePeriodParameterMetadata.Meta meta()
GenericVolatilitySurfacePeriodParameterMetadata.public GenericVolatilitySurfacePeriodParameterMetadata.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic Period getPeriod()
This is the period 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 Strike getStrike()
This is the strike 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.