EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql
Class AbstractContentAssistVisitor.DeclarationVisitor

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

protected class AbstractContentAssistVisitor.DeclarationVisitor
extends AnonymousExpressionVisitor


Field Summary
protected  boolean declaration
          Indicates if the visited CollectionValuedPathExpression is found within a declaration expression.
 
Constructor Summary
protected AbstractContentAssistVisitor.DeclarationVisitor()
           
 
Method Summary
 void dispose()
          Disposes of the internal data.
 boolean isDeclaration()
          Determines whether the visited path expression is found within a declaration expression.
 void visit(CollectionValuedPathExpression expression)
          Visits the CollectionValuedPathExpression expression.
 void visit(RangeVariableDeclaration expression)
          Visits the RangeVariableDeclaration 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, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

declaration

protected boolean declaration
Indicates if the visited CollectionValuedPathExpression is found within a declaration expression.

Constructor Detail

AbstractContentAssistVisitor.DeclarationVisitor

protected AbstractContentAssistVisitor.DeclarationVisitor()
Method Detail

dispose

public void dispose()
Disposes of the internal data.


isDeclaration

public boolean isDeclaration()
Determines whether the visited path expression is found within a declaration expression.

Returns:
true if the visited CollectionValuedPathExpression is owned by a RangeVariableDeclaration, which indicates it is used to define the "root" object; false if it is not

visit

public void visit(CollectionValuedPathExpression expression)
Visits the CollectionValuedPathExpression 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

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference