Class InterpolatedNodalSurface.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<InterpolatedNodalSurface>
-
- com.opengamma.strata.market.surface.InterpolatedNodalSurface.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<InterpolatedNodalSurface>
- Enclosing class:
- InterpolatedNodalSurface
public static final class InterpolatedNodalSurface.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<InterpolatedNodalSurface>
The bean-builder forInterpolatedNodalSurface.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InterpolatedNodalSurfacebuild()Objectget(String propertyName)InterpolatedNodalSurface.Builderinterpolator(SurfaceInterpolator interpolator)Sets the underlying interpolator.InterpolatedNodalSurface.Buildermetadata(SurfaceMetadata metadata)Sets the surface metadata.InterpolatedNodalSurface.Builderset(String propertyName, Object newValue)InterpolatedNodalSurface.Builderset(org.joda.beans.MetaProperty<?> property, Object value)StringtoString()InterpolatedNodalSurface.BuilderxValues(DoubleArray xValues)Sets the array of x-values, one for each point.InterpolatedNodalSurface.BuilderyValues(DoubleArray yValues)Sets the array of y-values, one for each point.InterpolatedNodalSurface.BuilderzValues(DoubleArray zValues)Sets the array of z-values, one for each point.
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
getin interfaceorg.joda.beans.BeanBuilder<InterpolatedNodalSurface>- Overrides:
getin classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<InterpolatedNodalSurface>
-
set
public InterpolatedNodalSurface.Builder set(String propertyName, Object newValue)
-
set
public InterpolatedNodalSurface.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
setin interfaceorg.joda.beans.BeanBuilder<InterpolatedNodalSurface>- Overrides:
setin classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<InterpolatedNodalSurface>
-
build
public InterpolatedNodalSurface build()
-
metadata
public InterpolatedNodalSurface.Builder metadata(SurfaceMetadata metadata)
Sets the surface metadata.The metadata includes an optional list of parameter metadata. If present, the size of the parameter metadata list will match the number of parameters of this surface.
- Parameters:
metadata- the new value, not null- Returns:
- this, for chaining, not null
-
xValues
public InterpolatedNodalSurface.Builder xValues(DoubleArray xValues)
Sets the array of x-values, one for each point.This array will contains at least two elements.
- Parameters:
xValues- the new value, not null- Returns:
- this, for chaining, not null
-
yValues
public InterpolatedNodalSurface.Builder yValues(DoubleArray yValues)
Sets the array of y-values, one for each point.This array will contains at least two elements and be of the same length as x-values.
- Parameters:
yValues- the new value, not null- Returns:
- this, for chaining, not null
-
zValues
public InterpolatedNodalSurface.Builder zValues(DoubleArray zValues)
Sets the array of z-values, one for each point.This array will contains at least two elements and be of the same length as x-values.
- Parameters:
zValues- the new value, not null- Returns:
- this, for chaining, not null
-
interpolator
public InterpolatedNodalSurface.Builder interpolator(SurfaceInterpolator interpolator)
Sets the underlying interpolator.- Parameters:
interpolator- the new value, not null- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toStringin classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<InterpolatedNodalSurface>
-
-