Purpose: Represent a '<' in EJBQL
Responsibilities:
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Expression | generateExpression(GenerationContext context)
Overrides org. |
| public String | getAsString()
Overrides org. |
| public void | validate(ParseTreeContext context)
Overrides org. |
| LessThanNode | back to summary |
|---|---|
| public LessThanNode() LessThanNode constructor comment. | |
| generateExpression | back to summary |
|---|---|
| public Expression generateExpression(GenerationContext context) Overrides org. INTERNAL Resolve the expression. The steps are: 1. Set the expressionBuilder for the left and right nodes 2. Generate the expression for the left node 3. Add the .lessThan to the where clause returned from step 2 4. Generate the expression for the right side and use it as the parameter for the .lessThan() 5. Return the completed where clause to the caller
| |
| getAsString | back to summary |
|---|---|
| public String getAsString() Overrides org. INTERNAL Get the string representation of this node.
| |
| validate | back to summary |
|---|---|
| public void validate(ParseTreeContext context) Overrides org. INTERNAL Validate the current node and calculates its type.
| |