public class ParameterNode extends Node
Purpose: This node represnts a Parameter (?1) in an EJBQL
Responsibilities:
shouldGenerateExpression| Constructor and Description |
|---|
ParameterNode()
Return a new ParameterNode.
|
ParameterNode(java.lang.String newParameterName)
INTERNAL
Create a new ParameterNode with the passed string.
|
| Modifier and Type | Method and Description |
|---|---|
Expression |
generateExpression(GenerationContext context)
Generate the result expression, must use the base builder
to avoid getting multiple builders.
|
java.lang.String |
getAsString()
INTERNAL
Return the parameterName
|
java.lang.String |
getParameterName()
INTERNAL
Return the parameter name
|
boolean |
isParameterNode()
INTERNAL
Yes this is a Parameter node
|
void |
setParameterName(java.lang.String name) |
void |
validateParameter(ParseTreeContext context,
java.lang.Object contextType)
INTERNAL
|
addToExpression, appendExpression, applyToQuery, getAlias, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAliasableNode, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMapKeyNode, isMinusNode, isMultiplyNode, isNotNode, isPlusNode, isSubqueryNode, isVariableNode, qualifyAttributeAccess, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validatepublic ParameterNode()
public ParameterNode(java.lang.String newParameterName)
newVariableName - java.lang.Stringpublic void validateParameter(ParseTreeContext context, java.lang.Object contextType)
validateParameter in class Nodepublic Expression generateExpression(GenerationContext context)
generateExpression in class Nodepublic java.lang.String getAsString()
getAsString in class Nodepublic java.lang.String getParameterName()
public void setParameterName(java.lang.String name)
public boolean isParameterNode()
isParameterNode in class NodeEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference