Class ParameterSize
- java.lang.Object
 - 
- com.opengamma.strata.market.param.ParameterSize
 
 
- 
- All Implemented Interfaces:
 Serializable,org.joda.beans.Bean,org.joda.beans.ImmutableBean
public final class ParameterSize extends Object implements org.joda.beans.ImmutableBean, Serializable
The market data name and the associated number of parameters.This holds the name and the number of parameters that define it. For example, the curve name and the number of curve nodes.
- See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classParameterSize.MetaThe meta-bean forParameterSize. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)MarketDataName<?>getName()Gets the name of the market data.intgetParameterCount()Gets the number of parameters.inthashCode()static ParameterSize.Metameta()The meta-bean forParameterSize.ParameterSize.MetametaBean()static ParameterSizeof(MarketDataName<?> name, int parameterCount)Obtains an instance, specifying the name and parameter count.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
of
public static ParameterSize of(MarketDataName<?> 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 ParameterSize.Meta meta()
The meta-bean forParameterSize.- Returns:
 - the meta-bean, not null
 
 
- 
metaBean
public ParameterSize.Meta metaBean()
- Specified by:
 metaBeanin interfaceorg.joda.beans.Bean
 
- 
getName
public MarketDataName<?> getName()
Gets the name of the market data.- Returns:
 - the value of the property, not null
 
 
- 
getParameterCount
public int getParameterCount()
Gets the number of parameters.- Returns:
 - the value of the property
 
 
 - 
 
 -