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 | isMinusNode()
Overrides org. |
| public void | validate(ParseTreeContext context)
Overrides org. |
| MinusNode | back to summary |
|---|---|
| public MinusNode() | |
| 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 .subtract to the where clause returned from step 1 3. Generate the expression for the right side and use it as the parameter for the .subtract() 4. Return the completed where clause to the caller
| |
| isAliasableNode | back to summary |
|---|---|
| public boolean isAliasableNode() Overrides org.
| |
| isMinusNode | back to summary |
|---|---|
| public boolean isMinusNode() Overrides org. Doc from org. INTERNAL Is this node a Minus node
| |
| validate | back to summary |
|---|---|
| public void validate(ParseTreeContext context) Overrides org. INTERNAL Validate node and calculates its type.
| |