Interface TenoredParameterMetadata
-
- All Superinterfaces:
org.joda.beans.Bean
,org.joda.beans.ImmutableBean
,ParameterMetadata
- All Known Implementing Classes:
TenorDateParameterMetadata
,TenorParameterMetadata
public interface TenoredParameterMetadata extends ParameterMetadata
Parameter metadata that specifies a tenor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tenor
getTenor()
Gets the tenor associated with the parameter.TenoredParameterMetadata
withTenor(Tenor tenor)
Returns an instance with the tenor updated.-
Methods inherited from interface com.opengamma.strata.market.param.ParameterMetadata
getIdentifier, getLabel
-
-
-
-
Method Detail
-
getTenor
Tenor getTenor()
Gets the tenor associated with the parameter.This is the tenor of the parameter.
- Returns:
- the tenor
-
withTenor
TenoredParameterMetadata withTenor(Tenor tenor)
Returns an instance with the tenor updated.- Parameters:
tenor
- the tenor to update to- Returns:
- the updated metadata
-
-