public final class FunctionVariableExpression extends Object implements QueryExpression, Cloneable
| Constructor and Description | 
|---|
FunctionVariableExpression(String text,
                          ExpressionReturnType returnType)
Creates a new function node expression. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Expression | 
copy()
Creates a copy of the expression. 
 | 
Variable | 
getOwner()
Gets the current owner, if assigned to a variable. 
 | 
ExpressionReturnType | 
getReturnType()
Gets the return type of the expression. 
 | 
String | 
getText()
Gets the expression text. 
 | 
void | 
setReturnType(ExpressionReturnType value) | 
void | 
setText(String value)
Sets the expression text. 
 | 
static void | 
validateSyntax(String expr)
Validates the syntax of a function expression. 
 | 
public FunctionVariableExpression(String text, ExpressionReturnType returnType)
text - The expression text.returnType - The return type of the expression.public Expression copy()
copy in interface Expressionpublic static void validateSyntax(String expr)
expr - The expression string to test.public String getText()
getText in interface Expressionpublic void setText(String value)
setText in interface Expressionpublic Variable getOwner()
getOwner in interface QueryExpressionpublic ExpressionReturnType getReturnType()
getReturnType in interface Expressionpublic void setReturnType(ExpressionReturnType value)
Copyright © 2021. All rights reserved.