EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql
Class DefaultSemanticValidator.VirtualIdentificationVariableFinder

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
      extended by org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseParentVisitor
          extended by org.eclipse.persistence.jpa.jpql.DefaultSemanticValidator.VirtualIdentificationVariableFinder
All Implemented Interfaces:
ExpressionVisitor
Enclosing class:
DefaultSemanticValidator

protected static class DefaultSemanticValidator.VirtualIdentificationVariableFinder
extends AbstractTraverseParentVisitor

This visitor traverses the parsed tree and retrieves the IdentificationVariable defined for a range variable declaration.


Field Summary
protected  IdentificationVariable expression
          The IdentificationVariable used to define the abstract schema name from either the UPDATE or DELETE clause.
protected  boolean traverse
          Determines if the RangeVariableDeclaration should traverse its identification variable expression or simply visit the parent hierarchy.
 
Constructor Summary
protected DefaultSemanticValidator.VirtualIdentificationVariableFinder()
           
 
Method Summary
 void visit(CollectionExpression expression)
          Visits the CollectionExpression expression.
 void visit(DeleteClause expression)
          Visits the DeleteClause expression.
 void visit(DeleteStatement expression)
          Visits the DeleteStatement expression.
 void visit(IdentificationVariable expression)
          Visits the IdentificationVariable expression.
 void visit(NullExpression expression)
          Visits the NullExpression expression.
 void visit(RangeVariableDeclaration expression)
          Visits the RangeVariableDeclaration expression.
 void visit(UpdateClause expression)
          Visits the UpdateClause expression.
 void visit(UpdateStatement expression)
          Visits the UpdateStatement expression.
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseParentVisitor
visit, visit
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expression

protected IdentificationVariable expression
The IdentificationVariable used to define the abstract schema name from either the UPDATE or DELETE clause.


traverse

protected boolean traverse
Determines if the RangeVariableDeclaration should traverse its identification variable expression or simply visit the parent hierarchy.

Constructor Detail

DefaultSemanticValidator.VirtualIdentificationVariableFinder

protected DefaultSemanticValidator.VirtualIdentificationVariableFinder()
Method Detail

visit

public void visit(CollectionExpression expression)
Visits the CollectionExpression expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The Expression to visit

visit

public void visit(DeleteClause expression)
Visits the DeleteClause expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The Expression to visit

visit

public void visit(DeleteStatement expression)
Visits the DeleteStatement expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The Expression to visit

visit

public void visit(IdentificationVariable expression)
Visits the IdentificationVariable expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The Expression to visit

visit

public void visit(NullExpression expression)
Visits the NullExpression expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The Expression to visit

visit

public void visit(RangeVariableDeclaration expression)
Visits the RangeVariableDeclaration expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The Expression to visit

visit

public void visit(UpdateClause expression)
Visits the UpdateClause expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The UpdateClause to visit

visit

public void visit(UpdateStatement expression)
Visits the UpdateStatement expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The UpdateStatement to visit

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference