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 classLabelParameterMetadata.MetaThe meta-bean forLabelParameterMetadata.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetIdentifier()Gets the identifier, which is the label.StringgetLabel()Gets the label that describes the parameter.inthashCode()static LabelParameterMetadata.Metameta()The meta-bean forLabelParameterMetadata.LabelParameterMetadata.MetametaBean()static LabelParameterMetadataof(String label)Obtains an instance specifying the label.StringtoString()
-
-
-
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:
getIdentifierin 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:
metaBeanin interfaceorg.joda.beans.Bean
-
getLabel
public String getLabel()
Gets the label that describes the parameter.- Specified by:
getLabelin interfaceParameterMetadata- Returns:
- the value of the property, not empty
-
-