public class MethodImpl extends Object implements Method
| Constructor and Description |
|---|
MethodImpl(MethodKind method,
List<Expression> parameters) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(ExpressionVisitor<T> visitor)
Method
VisitableExpression.accept(ExpressionVisitor) is called when traversing the expression tree. |
MethodKind |
getMethod() |
List<Expression> |
getParameters() |
EdmType |
getType() |
String |
toString() |
public MethodImpl(MethodKind method, List<Expression> parameters)
public MethodKind getMethod()
getMethod in interface MethodMethodKindpublic EdmType getType()
public List<Expression> getParameters()
getParameters in interface Methodpublic <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.