Purpose: Represent a constructor node (NEW)
Responsibilities:
| Modifier and Type | Field and Description |
|---|---|
| private String | className
The name of the constructor class. |
| public List | constructorItems
The list of constructor call argument nodes |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | applyToQuery(ObjectLevelReadQuery theQuery, GenerationContext context)
Overrides org. |
| public String | getAsString()
Overrides org. |
| private Class | getConstructorClass(ParseTreeContext context)
Check the specific constructor class and return its class instance. |
| public List | |
| public boolean | |
| public boolean | isConstructorNode()
Overrides org. |
| private boolean | |
| public void | |
| public void | validate(ParseTreeContext context)
Overrides org. |
| className | back to summary |
|---|---|
| private String className The name of the constructor class. | |
| constructorItems | back to summary |
|---|---|
| public List<Node> constructorItems The list of constructor call argument nodes | |
| ConstructorNode | back to summary |
|---|---|
| public ConstructorNode(String className) Return a new ConstructorNode | |
| addConstructorItem | back to summary |
|---|---|
| public void addConstructorItem(Node theNode) INTERNAL Add an Order By Item to this node | |
| applyToQuery | back to summary |
|---|---|
| public void applyToQuery(ObjectLevelReadQuery theQuery, GenerationContext context) Overrides org. INTERNAL Apply this node to the passed query
| |
| getAsString | back to summary |
|---|---|
| public String getAsString() Overrides org. INTERNAL Get the string representation of this node.
| |
| getConstructorClass | back to summary |
|---|---|
| private Class Check the specific constructor class and return its class instance.
| |
| getConstructorItems | back to summary |
|---|---|
| public List INTERNAL Get the list of constructor items of this node. | |
| isAliasableNode | back to summary |
|---|---|
| public boolean isAliasableNode() Overrides org.
| |
| isConstructorNode | back to summary |
|---|---|
| public boolean isConstructorNode() Overrides org. INTERNAL Is this node a ConstructorNode
| |
| selectingRelationshipField | back to summary |
|---|---|
| private boolean selectingRelationshipField(Node node, GenerationContext context) INTERNAL | |
| setConstructorItems | back to summary |
|---|---|
| public void setConstructorItems(List<Node> items) INTERNAL Set the list of constructor items of this node. | |
| validate | back to summary |
|---|---|
| public void validate(ParseTreeContext context) Overrides org. INTERNAL Validate node and calculate its type.
| |