public class BinaryExpressionImpl extends Object implements BinaryExpression
| Modifier and Type | Field and Description |
|---|---|
protected EdmType |
edmType |
protected CommonExpression |
leftSide |
protected org.apache.olingo.odata2.core.uri.expression.InfoBinaryOperator |
operatorInfo |
protected CommonExpression |
rightSide |
protected Token |
token |
| Constructor and Description |
|---|
BinaryExpressionImpl(org.apache.olingo.odata2.core.uri.expression.InfoBinaryOperator operatorInfo,
CommonExpression leftSide,
CommonExpression rightSide,
Token token) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(ExpressionVisitor visitor) |
EdmType |
getEdmType() |
ExpressionKind |
getKind() |
CommonExpression |
getLeftOperand() |
BinaryOperator |
getOperator() |
CommonExpression |
getRightOperand() |
Token |
getToken() |
String |
getUriLiteral() |
CommonExpression |
setEdmType(EdmType edmType) |
protected final org.apache.olingo.odata2.core.uri.expression.InfoBinaryOperator operatorInfo
protected final CommonExpression leftSide
protected final CommonExpression rightSide
protected final Token token
protected EdmType edmType
public BinaryExpressionImpl(org.apache.olingo.odata2.core.uri.expression.InfoBinaryOperator operatorInfo,
CommonExpression leftSide,
CommonExpression rightSide,
Token token)
public BinaryOperator getOperator()
getOperator in interface BinaryExpressionpublic CommonExpression getLeftOperand()
getLeftOperand in interface BinaryExpressionpublic CommonExpression getRightOperand()
getRightOperand in interface BinaryExpressionpublic EdmType getEdmType()
getEdmType in interface CommonExpressionpublic CommonExpression setEdmType(EdmType edmType)
setEdmType in interface CommonExpressionpublic ExpressionKind getKind()
getKind in interface CommonExpressionpublic String getUriLiteral()
getUriLiteral in interface CommonExpressionpublic Object accept(ExpressionVisitor visitor) throws ExceptionVisitExpression, ODataApplicationException
accept in interface VisitableExceptionVisitExpressionODataApplicationExceptionpublic Token getToken()
Copyright © 2013-2023 The Apache Software Foundation. All Rights Reserved.