Class CurveParameterSize
- java.lang.Object
-
- com.opengamma.strata.market.curve.CurveParameterSize
-
- All Implemented Interfaces:
Serializable
,org.joda.beans.Bean
,org.joda.beans.ImmutableBean
public final class CurveParameterSize extends Object implements org.joda.beans.ImmutableBean, Serializable
The curve name and number of parameters.This holds the curve name and the number of parameters that define it.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CurveParameterSize.Meta
The meta-bean forCurveParameterSize
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
CurveName
getName()
Gets the curve name.int
getParameterCount()
Gets the number of parameters.int
hashCode()
static CurveParameterSize.Meta
meta()
The meta-bean forCurveParameterSize
.CurveParameterSize.Meta
metaBean()
static CurveParameterSize
of(CurveName name, int parameterCount)
Obtains an instance, specifying the name and parameter count.String
toString()
-
-
-
Method Detail
-
of
public static CurveParameterSize of(CurveName name, int parameterCount)
Obtains an instance, specifying the name and parameter count.- Parameters:
name
- the curve nameparameterCount
- the parameter count- Returns:
- the curve data
-
meta
public static CurveParameterSize.Meta meta()
The meta-bean forCurveParameterSize
.- Returns:
- the meta-bean, not null
-
metaBean
public CurveParameterSize.Meta metaBean()
- Specified by:
metaBean
in interfaceorg.joda.beans.Bean
-
getName
public CurveName getName()
Gets the curve name.- Returns:
- the value of the property, not null
-
getParameterCount
public int getParameterCount()
Gets the number of parameters.- Returns:
- the value of the property
-
-