public final class LabelDateParameterMetadata extends Object implements DatedParameterMetadata, org.joda.beans.ImmutableBean, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
LabelDateParameterMetadata.Meta
The meta-bean for
LabelDateParameterMetadata. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
LocalDate |
getDate()
Gets the date associated with the parameter.
|
String |
getIdentifier()
Gets the identifier, which is the label.
|
String |
getLabel()
Gets the label that describes the parameter.
|
int |
hashCode() |
static LabelDateParameterMetadata.Meta |
meta()
The meta-bean for
LabelDateParameterMetadata. |
LabelDateParameterMetadata.Meta |
metaBean() |
static LabelDateParameterMetadata |
of(LocalDate date)
Obtains an instance using the date.
|
static LabelDateParameterMetadata |
of(LocalDate date,
String label)
Obtains an instance using the date, specifying the label.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitempty, listOfEmptypublic static LabelDateParameterMetadata of(LocalDate date)
date - the date associated with the parameterpublic static LabelDateParameterMetadata of(LocalDate date, String label)
date - the date associated with the parameterlabel - the label to usepublic String getIdentifier()
getIdentifier in interface ParameterMetadatapublic static LabelDateParameterMetadata.Meta meta()
LabelDateParameterMetadata.public LabelDateParameterMetadata.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic LocalDate getDate()
This is the date that is most closely associated with the parameter. The actual parameter is typically a year fraction based on a day count.
getDate in interface DatedParameterMetadatapublic 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.