Class GreaterThanEqualToNode


  • public class GreaterThanEqualToNode
    extends BinaryOperatorNode
    INTERNAL

    Purpose: Represent a '>=' in EJBQL

    Responsibilities:

    • Generate the correct expression for a '>='
    Since:
    TopLink 4.0
    Author:
    Jon Driscoll and Joel Lucuik
    • Constructor Detail

      • GreaterThanEqualToNode

        public GreaterThanEqualToNode()
        GreaterThanEqualToNode constructor comment.
    • Method Detail

      • generateExpression

        public Expression generateExpression​(GenerationContext context)
        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 .greaterThanEqualTo to the where clause returned from step 2 4. Generate the expression for the right side and use it as the parameter for the .greaterThanEqualTo() 5. Return the completed where clause to the caller
        Overrides:
        generateExpression in class Node
      • getAsString

        public String getAsString()
        INTERNAL Get the string representation of this node.
        Overrides:
        getAsString in class Node