public final class TenorParameterMetadata extends Object implements TenoredParameterMetadata, org.joda.beans.ImmutableBean, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
TenorParameterMetadata.Meta
The meta-bean for
TenorParameterMetadata. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Tenor |
getIdentifier()
Gets the identifier, which is the tenor.
|
String |
getLabel()
Gets the label that describes the parameter, defaulted to the tenor.
|
Tenor |
getTenor()
Gets the tenor associated with the parameter.
|
int |
hashCode() |
static TenorParameterMetadata.Meta |
meta()
The meta-bean for
TenorParameterMetadata. |
TenorParameterMetadata.Meta |
metaBean() |
static TenorParameterMetadata |
of(Tenor tenor)
Obtains an instance using the tenor.
|
static TenorParameterMetadata |
of(Tenor tenor,
String label)
Obtains an instance using the tenor, specifying the label.
|
String |
toString() |
TenorParameterMetadata |
withTenor(Tenor tenor)
Returns an instance with the tenor updated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitempty, listOfEmptypublic static TenorParameterMetadata of(Tenor tenor)
tenor - the tenor associated with the parameterpublic static TenorParameterMetadata of(Tenor tenor, String label)
tenor - the tenor associated with the parameterlabel - the label to usepublic Tenor getIdentifier()
getIdentifier in interface ParameterMetadatapublic TenorParameterMetadata withTenor(Tenor tenor)
TenoredParameterMetadatawithTenor in interface TenoredParameterMetadatatenor - the tenor to update topublic static TenorParameterMetadata.Meta meta()
TenorParameterMetadata.public TenorParameterMetadata.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic Tenor getTenor()
getTenor in interface TenoredParameterMetadatapublic 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.