Class LabelParameterMetadata
- java.lang.Object
-
- com.opengamma.strata.market.param.LabelParameterMetadata
-
- All Implemented Interfaces:
ParameterMetadata
,Serializable
,org.joda.beans.Bean
,org.joda.beans.ImmutableBean
public final class LabelParameterMetadata extends Object implements ParameterMetadata, org.joda.beans.ImmutableBean, Serializable
Parameter metadata based on a label.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LabelParameterMetadata.Meta
The meta-bean forLabelParameterMetadata
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getIdentifier()
Gets the identifier, which is the label.String
getLabel()
Gets the label that describes the parameter.int
hashCode()
static LabelParameterMetadata.Meta
meta()
The meta-bean forLabelParameterMetadata
.LabelParameterMetadata.Meta
metaBean()
static LabelParameterMetadata
of(String label)
Obtains an instance specifying the label.String
toString()
-
-
-
Method Detail
-
of
public static LabelParameterMetadata of(String label)
Obtains an instance specifying the label.- Parameters:
label
- the label to use- Returns:
- the parameter metadata based on the date and label
-
getIdentifier
public String getIdentifier()
Gets the identifier, which is the label.- Specified by:
getIdentifier
in interfaceParameterMetadata
- Returns:
- the label
-
meta
public static LabelParameterMetadata.Meta meta()
The meta-bean forLabelParameterMetadata
.- Returns:
- the meta-bean, not null
-
metaBean
public LabelParameterMetadata.Meta metaBean()
- Specified by:
metaBean
in interfaceorg.joda.beans.Bean
-
getLabel
public String getLabel()
Gets the label that describes the parameter.- Specified by:
getLabel
in interfaceParameterMetadata
- Returns:
- the value of the property, not empty
-
-