Package io.higson.runtime.rhino.helper
Class MultiValueBuilder
java.lang.Object
io.higson.runtime.rhino.helper.MultiValueBuilder
- Author:
- przemek hertel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Required.Defines levels codes.Required.withValues(Object... columns) Required.
-
Constructor Details
-
MultiValueBuilder
public MultiValueBuilder()
-
-
Method Details
-
withCodes
Defines levels codes. Required when you want to add
MultiValuetoParamValue.- Parameters:
codes- is an array of parameter level codes- Returns:
MultiValueBuilder
-
withTypes
Required. Defines higson types.
allowed string values:- string
- boolean
- integer
- number
- date
- datetime
- Parameters:
types- is an array of matrix column types- Returns:
MultiValueBuilder
-
withValues
Required. Sets the row values. The number of values must be equal to number of types. Values must match the types
- Parameters:
columns- is an array of matrix column values- Returns:
MultiValueBuilder
-
build
Required. Creates
MultiValueobjectMultiValuerepresents one row of the matrix inParamValue- Returns:
MultiValue
-