public class ConstructorNode extends Node implements AliasableNode
Purpose: Represent a constructor node (NEW)
Responsibilities:
Modifier and Type | Field and Description |
---|---|
java.util.List |
constructorItems
The list of constructor call argument nodes
|
shouldGenerateExpression
Constructor and Description |
---|
ConstructorNode(java.lang.String className)
Return a new ConstructorNode
|
Modifier and Type | Method and Description |
---|---|
void |
addConstructorItem(java.lang.Object theNode)
INTERNAL
Add an Order By Item to this node
|
void |
applyToQuery(ObjectLevelReadQuery theQuery,
GenerationContext context)
INTERNAL
Apply this node to the passed query
|
java.lang.String |
getAsString()
INTERNAL
Get the string representation of this node.
|
java.util.List |
getConstructorItems()
INTERNAL
Get the list of constructor items of this node.
|
boolean |
isAliasableNode() |
boolean |
isConstructorNode()
INTERNAL
Is this node a ConstructorNode
|
void |
setConstructorItems(java.util.List items)
INTERNAL
Set the list of constructor items of this node.
|
void |
validate(ParseTreeContext context)
INTERNAL
Validate node and calculate its type.
|
addToExpression, appendExpression, generateExpression, getAlias, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAttributeNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMapKeyNode, isMinusNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, qualifyAttributeAccess, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAlias, setAlias
public java.util.List constructorItems
public ConstructorNode(java.lang.String className)
public void applyToQuery(ObjectLevelReadQuery theQuery, GenerationContext context)
applyToQuery
in class Node
public void validate(ParseTreeContext context)
public boolean isConstructorNode()
isConstructorNode
in class Node
public void addConstructorItem(java.lang.Object theNode)
public void setConstructorItems(java.util.List items)
public java.util.List getConstructorItems()
public java.lang.String getAsString()
getAsString
in class Node
public boolean isAliasableNode()
isAliasableNode
in class Node
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference