Purpose: Represent a '+' in EJBQL
Responsibilities:
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | applyToQuery(ObjectLevelReadQuery theQuery, GenerationContext context)
Overrides org. |
| public Expression | generateExpression(GenerationContext context)
Overrides org. |
| public boolean | |
| public boolean | isPlusNode()
Overrides org. |
| public void | validate(ParseTreeContext context)
Overrides org. |
| PlusNode | back to summary |
|---|---|
| public PlusNode() | |
| applyToQuery | back to summary |
|---|---|
| public void applyToQuery(ObjectLevelReadQuery theQuery, GenerationContext context) Overrides org. INTERNAL Apply this node to the passed query
| |
| generateExpression | back to summary |
|---|---|
| public Expression generateExpression(GenerationContext context) Overrides org. INTERNAL Generate the expression. The steps are: 1. Generate the expression for the left node 2. Add the .plus to the where clause returned from step 1 3. Generate the expression for the right side and use it as the parameter for the .plus() 4. Return the completed where clause to the caller
| |
| isAliasableNode | back to summary |
|---|---|
| public boolean isAliasableNode() Overrides org.
| |
| isPlusNode | back to summary |
|---|---|
| public boolean isPlusNode() Overrides org. Doc from org. INTERNAL Is this node a Plus node
| |
| validate | back to summary |
|---|---|
| public void validate(ParseTreeContext context) Overrides org. INTERNAL Validate node and calculates its type.
| |