org.kuali.rice.krms.framework.engine.expression
Class FunctionExpression

java.lang.Object
  extended by org.kuali.rice.krms.framework.engine.expression.FunctionExpression
All Implemented Interfaces:
Expression<Object>

public final class FunctionExpression
extends Object
implements Expression<Object>

An implementation of Expression which invokes a Function with the results of the invocation of the given List of Expressions (of the given ExecutionEnvironment).

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
FunctionExpression(Function function, String[] parameterTypes, List<Expression<? extends Object>> parameters, ComparisonOperatorService comparisonOperatorService)
          Create a FunctionExpression with the given values.
 
Method Summary
 Object invoke(ExecutionEnvironment environment)
          Invoke on the given ExecutionEnvironment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunctionExpression

public FunctionExpression(Function function,
                          String[] parameterTypes,
                          List<Expression<? extends Object>> parameters,
                          ComparisonOperatorService comparisonOperatorService)
Create a FunctionExpression with the given values.

Parameters:
function - Function to be invoked using the invoked results of the given List of Expressions
parameterTypes - the full class names for the function's parameter types in sequential order
parameters - List of Expressions to be invoked whose results (of the given ExecutionEnvironment)
comparisonOperatorService - -- TODO: will be used to invoke the given Function.
Method Detail

invoke

public Object invoke(ExecutionEnvironment environment)
Description copied from interface: Expression
Invoke on the given ExecutionEnvironment.

Specified by:
invoke in interface Expression<Object>
Parameters:
environment - ExecutionEnvironment to invoke on.
Returns:
T


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.