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

public Class OrNode

extends LogicalOperatorNode
Class Inheritance
Imports
java.util.*, org.eclipse.persistence.expressions.*

INTERNAL

Purpose: Represent an OR

Responsibilities:

Author
Jon Driscoll and Joel Lucuik
Since
TopLink 4.0

Field Summary

Modifier and TypeField and Description
private Set<String>
private Set<String>

Constructor Summary

AccessConstructor and Description
public
OrNode()

Return a new OrNode.

Method Summary

Modifier and TypeMethod and Description
private Expression
appendOuterScopeVariableJoins(Expression expr, Set<String> outerScopeVariables, GenerationContext context)

INTERNAL

public Expression
generateExpression(GenerationContext context)

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

INTERNAL Return a EclipseLink expression by 'OR'ing the expressions from the left and right nodes
public void
validate(ParseTreeContext context)

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

INTERNAL Validate node and calculate its type.

Field Detail

leftOuterScopeVariablesback to summary
private Set<String> leftOuterScopeVariables
rightOuterScopeVariablesback to summary
private Set<String> rightOuterScopeVariables

Constructor Detail

OrNodeback to summary
public OrNode()

Return a new OrNode.

Method Detail

appendOuterScopeVariableJoinsback to summary
private Expression appendOuterScopeVariableJoins(Expression expr, Set<String> outerScopeVariables, GenerationContext context)

INTERNAL

generateExpressionback to summary
public Expression generateExpression(GenerationContext context)

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

INTERNAL Return a EclipseLink expression by 'OR'ing the expressions from the left and right nodes

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

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

INTERNAL Validate node and calculate its type.

Annotations
@Override