public class ParameterDefinition<Type> extends LeafExpression<Type>
QueryExpression
that is a query parameter with a simple value. The name of
the parameter may be omitted. In this case a unique parameter name will be generated and the parameter may not be
referenced anywhere else in the query.Modifier and Type | Field and Description |
---|---|
protected Type |
parameterValue |
Constructor and Description |
---|
ParameterDefinition(String parameterName,
Type parameterValue) |
ParameterDefinition(Type parameterValue) |
Modifier and Type | Method and Description |
---|---|
void |
accept(QueryExpressionVisitor visitor)
This method invokes the appropriate callback of the given
visitor and delegates
it to its children if present. |
String |
getParameterName() |
Type |
getParameterValue() |
String |
toString() |
getExpressionType
protected final Type parameterValue
public ParameterDefinition(Type parameterValue)
public void accept(QueryExpressionVisitor visitor)
QueryExpression
visitor
and delegates
it to its children if present.accept
in class QueryExpression<Type>
visitor
- the visitor visiting this expressionpublic String getParameterName()
public Type getParameterValue()
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.