Class AndNode
- java.lang.Object
-
- org.eclipse.persistence.internal.jpa.parsing.Node
-
- org.eclipse.persistence.internal.jpa.parsing.LogicalOperatorNode
-
- org.eclipse.persistence.internal.jpa.parsing.AndNode
-
public class AndNode extends LogicalOperatorNode
INTERNALPurpose: Represent an AND in EJBQL
Responsibilities:
- Generate the correct expression for an AND in EJBQL
- Since:
- TopLink 4.0
- Author:
- Jon Driscoll and Joel Lucuik
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
alias, left, right, shouldGenerateExpression
-
-
Constructor Summary
Constructors Constructor Description AndNode()
AndNode constructor comment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
generateExpression(GenerationContext context)
INTERNAL Return a EclipseLink expression by 'AND'ing the expressions from the left and right nodes-
Methods inherited from class org.eclipse.persistence.internal.jpa.parsing.LogicalOperatorNode
validate
-
Methods inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
addToExpression, appendExpression, applyToQuery, getAlias, getAsString, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAliasableNode, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMapKeyNode, isMinusNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, qualifyAttributeAccess, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
-
-
-
-
Method Detail
-
generateExpression
public Expression generateExpression(GenerationContext context)
INTERNAL Return a EclipseLink expression by 'AND'ing the expressions from the left and right nodes- Overrides:
generateExpression
in classNode
-
-