public class UnaryImpl extends Object implements Unary
| Constructor and Description |
|---|
UnaryImpl(UnaryOperatorKind operator,
Expression expression,
EdmType type) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(ExpressionVisitor<T> visitor)
Method
VisitableExpression.accept(ExpressionVisitor) is called when traversing the expression tree. |
Expression |
getOperand() |
UnaryOperatorKind |
getOperator() |
EdmType |
getType() |
String |
toString() |
public UnaryImpl(UnaryOperatorKind operator, Expression expression, EdmType type)
public UnaryOperatorKind getOperator()
getOperator in interface Unarypublic Expression getOperand()
getOperand in interface UnaryUnaryOperatorKindpublic EdmType getType()
public <T> T accept(ExpressionVisitor<T> visitor) throws ExpressionVisitException, ODataApplicationException
VisitableExpressionVisitableExpression.accept(ExpressionVisitor) is called when traversing the expression tree. This method is invoked on
each expression used as node in an expression tree. The implementations should
behave as follows:
ExpressionVisitor instance and provide the stored return objects
to that instance
accept in interface VisitableExpressionvisitor - Visitor object (implementing ExpressionVisitor) whose methods are called during traversing a
expression node of the expression tree.ExpressionVisitException - Exception occurred in the OData library while traversing the treeODataApplicationException - Exception thrown by the application who implemented the visitorCopyright © 2023. All rights reserved.