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

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

public final class BinaryOperatorExpression
extends Object
implements Expression<Boolean>

Binary Operator implementation of Expression

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

Constructor Summary
BinaryOperatorExpression(ComparisonOperator operator, Expression<? extends Object> lhs, Expression<? extends Object> rhs)
          Create a BinaryOperatorExpression with the given values
 
Method Summary
 Boolean 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

BinaryOperatorExpression

public BinaryOperatorExpression(ComparisonOperator operator,
                                Expression<? extends Object> lhs,
                                Expression<? extends Object> rhs)
Create a BinaryOperatorExpression with the given values

Parameters:
operator - ComparisonOperator
lhs - left hand side Expression
rhs - right hand side Expression
Method Detail

invoke

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

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


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