public class MethodCallExpr extends Object implements BooleanExpr, ArithmeticExpr, TemporalExpr, TextExpr
| Constructor and Description |
|---|
MethodCallExpr(String name,
Expr... parameter)
Create a new
MethodCallExpr. |
MethodCallExpr(String name,
List<Expr> parameters)
Create a new
MethodCallExpr. |
| Modifier and Type | Method and Description |
|---|---|
<T,X extends Throwable> |
accept(ExprVisitor<T,X> visitor)
Accepts
visitor for this expression. |
Optional<MethodCallExpr> |
asMethodCall()
Get this expression as a method call expression
|
boolean |
equals(Object o) |
String |
getName()
Get the name of the method.
|
List<Expr> |
getParameters()
Get the parameters of this method call.
|
int |
hashCode() |
boolean |
isMethodCall()
Check if this expression is a method call expression.
|
String |
toODataString() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitasBoolean, isBooleanasArithmetic, isArithmeticasTime, isTimeasTextValue, isTextValueasBinary, asBooleanBinary, asBooleanUnary, asComparison, asGeometry, asMember, asNumericValue, asUnary, isBinary, isBooleanBinary, isBooleanUnary, isComparison, isGeometry, isMember, isNumericValue, isUnarypublic MethodCallExpr(String name, List<Expr> parameters)
MethodCallExpr.name - the method nameparameters - the parameterspublic String getName()
public List<Expr> getParameters()
public boolean isMethodCall()
ExprisMethodCall in interface Exprpublic Optional<MethodCallExpr> asMethodCall()
ExprasMethodCall in interface ExprOptional.empty() if the type does not matchpublic String toODataString()
toODataString in interface ODataExprpublic <T,X extends Throwable> T accept(ExprVisitor<T,X> visitor) throws X extends Throwable
Exprvisitor for this expression.Copyright © 2015–2020 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.