Package org.eclipse.persistence.jpa.jpql
Class AbstractSemanticValidator.ComparisonExpressionVisitor
java.lang.Object
org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
org.eclipse.persistence.jpa.jpql.AbstractSemanticValidator.ComparisonExpressionVisitor
- All Implemented Interfaces:
ExpressionVisitor
- Enclosing class:
- AbstractSemanticValidator
protected static final class AbstractSemanticValidator.ComparisonExpressionVisitor
extends AnonymousExpressionVisitor
This visitor compares the left and right expressions of a comparison expression and gathers
information about those expressions if they are an identification variable or a path expression.
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
visit
(Expression expression) Blindly visit the givenExpression
.void
visit
(IdentificationVariable expression) Visits theIdentificationVariable
expression.void
visit
(StateFieldPathExpression expression) Visits theStateFieldPathExpression
expression.Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Field Details
-
leftIdentificationVariable
public boolean leftIdentificationVariable -
leftIdentificationVariableValid
public boolean leftIdentificationVariableValid -
leftStateFieldPathExpression
public boolean leftStateFieldPathExpression -
leftStateFieldPathExpressionValid
public boolean leftStateFieldPathExpressionValid -
rightIdentificationVariable
public boolean rightIdentificationVariable -
rightIdentificationVariableValid
public boolean rightIdentificationVariableValid -
rightStateFieldPathExpression
public boolean rightStateFieldPathExpression -
rightStateFieldPathExpressionValid
public boolean rightStateFieldPathExpressionValid -
validatingLeftExpression
public boolean validatingLeftExpression
-
-
Method Details
-
visit
Description copied from class:AnonymousExpressionVisitor
Blindly visit the givenExpression
.- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:ExpressionVisitor
Visits theIdentificationVariable
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:ExpressionVisitor
Visits theStateFieldPathExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-