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

public Class BetweenNode

extends SimpleConditionalExpressionNode
Class Inheritance
Imports
org.eclipse.persistence.expressions.*

INTERNAL

Purpose: Represent a BETWEEN in EJBQL

Responsibilities:

Author
Jon Driscoll and Joel Lucuik
Since
TopLink 4.0

Field Summary

Modifier and TypeField and Description
protected Node
protected Node

Constructor Summary

AccessConstructor and Description
public
BetweenNode()

BetweenNode constructor comment.

Method Summary

Modifier and TypeMethod and Description
public Expression
generateExpression(GenerationContext context)

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

INTERNAL Return a EclipseLink expression by 'BETWEEN' and 'AND'ing the expressions from the left, rightForBetween and rightForAnd nodes
public Node
public Node
public boolean
public boolean
public Node
qualifyAttributeAccess(ParseTreeContext context)

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

INTERNAL Check the child nodes for an unqualified field access and if there are any, replace them by a qualified field access.
public void
setRightForAnd(Node newRightForAnd)

public void
setRightForBetween(Node newRightForBetween)

public void
validate(ParseTreeContext context)

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

INTERNAL Validate node and calculate its type.

Field Detail

rightForAndback to summary
protected Node rightForAnd
rightForBetweenback to summary
protected Node rightForBetween

Constructor Detail

BetweenNodeback to summary
public BetweenNode()

BetweenNode constructor comment.

Method Detail

generateExpressionback to summary
public Expression generateExpression(GenerationContext context)

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

INTERNAL Return a EclipseLink expression by 'BETWEEN' and 'AND'ing the expressions from the left, rightForBetween and rightForAnd nodes

Annotations
@Override
getRightForAndback to summary
public Node getRightForAnd()
getRightForBetweenback to summary
public Node getRightForBetween()
hasRightForAndback to summary
public boolean hasRightForAnd()
hasRightForBetweenback to summary
public boolean hasRightForBetween()
qualifyAttributeAccessback to summary
public Node qualifyAttributeAccess(ParseTreeContext context)

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

INTERNAL Check the child nodes for an unqualified field access and if there are any, replace them by a qualified field access.

Annotations
@Override
setRightForAndback to summary
public void setRightForAnd(Node newRightForAnd)
setRightForBetweenback to summary
public void setRightForBetween(Node newRightForBetween)
validateback to summary
public void validate(ParseTreeContext context)

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

INTERNAL Validate node and calculate its type.

Annotations
@Override