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
Fields Modifier and Type Field Description boolean
leftIdentificationVariable
boolean
leftIdentificationVariableValid
boolean
leftStateFieldPathExpression
boolean
leftStateFieldPathExpressionValid
boolean
rightIdentificationVariable
boolean
rightIdentificationVariableValid
boolean
rightStateFieldPathExpression
boolean
rightStateFieldPathExpressionValid
boolean
validatingLeftExpression
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 Detail
-
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 Detail
-
visit
protected void visit(Expression expression)
Blindly visit the givenExpression
.- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(IdentificationVariable expression)
Visits theIdentificationVariable
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(StateFieldPathExpression expression)
Visits theStateFieldPathExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
-