Class OrExpression
- java.lang.Object
-
- org.vedantatree.expressionoasis.expressions.BinaryOperatorExpression
-
- org.vedantatree.expressionoasis.expressions.booleanexp.OrExpression
-
- All Implemented Interfaces:
Expression
public class OrExpression extends BinaryOperatorExpression
This class expression performs the or operation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.vedantatree.expressionoasis.expressions.BinaryOperatorExpression
BinaryOperatorExpression.TypePair
-
-
Field Summary
-
Fields inherited from class org.vedantatree.expressionoasis.expressions.BinaryOperatorExpression
leftOperandExpression, rightOperandExpression
-
-
Constructor Summary
Constructors Constructor Description OrExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueObject
getValue()
Performs the or operation.-
Methods inherited from class org.vedantatree.expressionoasis.expressions.BinaryOperatorExpression
accept, addTypePair, createTypePair, getLeftOperandExpression, getReturnType, getRightOperandExpression, initialize, toString, uninitialize, validate
-
-
-
-
Method Detail
-
getValue
public ValueObject getValue() throws ExpressionEngineException
Performs the or operation.- Specified by:
getValue
in interfaceExpression
- Overrides:
getValue
in classBinaryOperatorExpression
- Returns:
- the value of expression (after expression evaluation)
- Throws:
ExpressionEngineException
- if there is any problem during execution- See Also:
Expression.getValue()
-
-