Class FunctionBuilder.ParamBuilder
- Object
-
- ExpressionBuilder
-
- ChildExpressionBuilder<FunctionBuilder>
-
- ParamBuilder
-
- All Implemented Interfaces:
Builder<Expression>
- Enclosing class:
- FunctionBuilder
public class FunctionBuilder.ParamBuilder extends ChildExpressionBuilder<FunctionBuilder>
-
-
Field Summary
-
Fields inherited from class ChildExpressionBuilder
parent
-
Fields inherited from class ExpressionBuilder
delegate, ff, unset
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
build()
Build the parameter; adding it to the parent.FunctionBuilder
function()
FunctionBuilder
function(String name)
FunctionBuilder.ParamBuilder
param()
-
-
-
Method Detail
-
build
public Expression build()
Description copied from class:ChildExpressionBuilder
Build the parameter; adding it to the parent.When using this from another builder you may wish to override the this build() method as shown below:
final Expression array[] = ... ChildExpressionBuilder first = new ChildExpressionBuilder<?>(this) { public Expression build() { array[0] = super.build(); return array[0]; } }; }
- Specified by:
build
in interfaceBuilder<Expression>
- Overrides:
build
in classChildExpressionBuilder<FunctionBuilder>
- Returns:
- internal expression
-
param
public FunctionBuilder.ParamBuilder param()
-
function
public FunctionBuilder function()
- Overrides:
function
in classExpressionBuilder
-
function
public FunctionBuilder function(String name)
- Overrides:
function
in classExpressionBuilder
-
-