Top Description Constructors Methods
org.eclipse.persistence.internal.jpa.parsing

public Class GreaterThanEqualToNode

extends BinaryOperatorNode
Class Inheritance
Imports
org.eclipse.persistence.expressions.Expression

INTERNAL

Purpose: Represent a '>=' in EJBQL

Responsibilities:

Author
Jon Driscoll and Joel Lucuik
Since
TopLink 4.0

Constructor Summary

AccessConstructor and Description
public
GreaterThanEqualToNode()

GreaterThanEqualToNode constructor comment.

Method Summary

Modifier and TypeMethod and Description
public Expression
public String
getAsString()

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.getAsString.

INTERNAL Get the string representation of this node.
public void
validate(ParseTreeContext context)

Overrides org.eclipse.persistence.internal.jpa.parsing.BinaryOperatorNode.validate.

INTERNAL Validate the current node and calculates its type.

Constructor Detail

GreaterThanEqualToNodeback to summary
public GreaterThanEqualToNode()

GreaterThanEqualToNode constructor comment.

Method Detail

generateExpressionback to summary
public Expression generateExpression(GenerationContext context)

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.generateExpression.

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

Annotations
@Override
getAsStringback to summary
public String getAsString()

Overrides org.eclipse.persistence.internal.jpa.parsing.Node.getAsString.

INTERNAL Get the string representation of this node.

Annotations
@Override
validateback to summary
public void validate(ParseTreeContext context)

Overrides org.eclipse.persistence.internal.jpa.parsing.BinaryOperatorNode.validate.

INTERNAL Validate the current node and calculates its type.

Annotations
@Override