org.apache.olingo.odata2.api.uri.expression
Interface BinaryExpression

All Superinterfaces:
CommonExpression, Visitable

public interface BinaryExpression
extends CommonExpression

Represents a binary expression node in the expression tree returned by the methods

A binary expression node is inserted in the expression tree for any valid ODATA binary operator in BinaryOperator (e.g. for "and", "div", "eg", ... )


Method Summary
 CommonExpression getLeftOperand()
           
 BinaryOperator getOperator()
           
 CommonExpression getRightOperand()
           
 
Methods inherited from interface org.apache.olingo.odata2.api.uri.expression.CommonExpression
getEdmType, getKind, getUriLiteral, setEdmType
 
Methods inherited from interface org.apache.olingo.odata2.api.uri.expression.Visitable
accept
 

Method Detail

getOperator

BinaryOperator getOperator()
Returns:
Operator object that represents the used operator
See Also:
BinaryOperator

getLeftOperand

CommonExpression getLeftOperand()
Returns:
Expression sub tree of the left operand

getRightOperand

CommonExpression getRightOperand()
Returns:
Expression sub tree of the right operand


Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.