Class BinaryExpressionImpl
- java.lang.Object
-
- org.apache.olingo.odata2.core.uri.expression.BinaryExpressionImpl
-
- All Implemented Interfaces:
BinaryExpression,CommonExpression,Visitable
public class BinaryExpressionImpl extends Object implements BinaryExpression
-
-
Field Summary
Fields Modifier and Type Field Description protected EdmTypeedmTypeprotected CommonExpressionleftSideprotected org.apache.olingo.odata2.core.uri.expression.InfoBinaryOperatoroperatorInfoprotected CommonExpressionrightSideprotected Tokentoken
-
Constructor Summary
Constructors Constructor Description BinaryExpressionImpl(org.apache.olingo.odata2.core.uri.expression.InfoBinaryOperator operatorInfo, CommonExpression leftSide, CommonExpression rightSide, Token token)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(ExpressionVisitor visitor)EdmTypegetEdmType()ExpressionKindgetKind()CommonExpressiongetLeftOperand()BinaryOperatorgetOperator()CommonExpressiongetRightOperand()TokengetToken()StringgetUriLiteral()CommonExpressionsetEdmType(EdmType edmType)
-
-
-
Field Detail
-
operatorInfo
protected final org.apache.olingo.odata2.core.uri.expression.InfoBinaryOperator operatorInfo
-
leftSide
protected final CommonExpression leftSide
-
rightSide
protected final CommonExpression rightSide
-
token
protected final Token token
-
edmType
protected EdmType edmType
-
-
Constructor Detail
-
BinaryExpressionImpl
public BinaryExpressionImpl(org.apache.olingo.odata2.core.uri.expression.InfoBinaryOperator operatorInfo, CommonExpression leftSide, CommonExpression rightSide, Token token)
-
-
Method Detail
-
getOperator
public BinaryOperator getOperator()
- Specified by:
getOperatorin interfaceBinaryExpression
-
getLeftOperand
public CommonExpression getLeftOperand()
- Specified by:
getLeftOperandin interfaceBinaryExpression
-
getRightOperand
public CommonExpression getRightOperand()
- Specified by:
getRightOperandin interfaceBinaryExpression
-
getEdmType
public EdmType getEdmType()
- Specified by:
getEdmTypein interfaceCommonExpression
-
setEdmType
public CommonExpression setEdmType(EdmType edmType)
- Specified by:
setEdmTypein interfaceCommonExpression
-
getKind
public ExpressionKind getKind()
- Specified by:
getKindin interfaceCommonExpression
-
getUriLiteral
public String getUriLiteral()
- Specified by:
getUriLiteralin interfaceCommonExpression
-
accept
public Object accept(ExpressionVisitor visitor) throws ExceptionVisitExpression, ODataApplicationException
- Specified by:
acceptin interfaceVisitable- Throws:
ExceptionVisitExpressionODataApplicationException
-
getToken
public Token getToken()
-
-