EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

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

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.AbstractContentAssistVisitor.FollowingClausesVisitor
All Implemented Interfaces:
ExpressionVisitor
Enclosing class:
AbstractContentAssistVisitor

protected class AbstractContentAssistVisitor.FollowingClausesVisitor
extends AbstractTraverseParentVisitor


Field Summary
protected  java.lang.String afterIdentifier
          The JPQL identifier of the clause used to determine if there is any clause defined after it.
protected  java.lang.String beforeIdentifier
          The JPQL identifier of the clause used to determine if there is any clause defined before it.
protected  boolean hasFollowUpClauses
          Determines whether there is at least one clause defined after the clause defined by #identifier.
 
Constructor Summary
protected AbstractContentAssistVisitor.FollowingClausesVisitor()
           
 
Method Summary
 void dispose()
          Disposes of the internal data.
protected  boolean hasFromClause(AbstractSelectStatement expression)
          Determines if the FROM clause has been defined or not.
 void visit(SelectStatement expression)
          Visits the SelectStatement expression.
 void visit(SimpleFromClause expression)
          Visits the SimpleFromClause expression.
 void visit(SimpleSelectStatement expression)
          Visits the SimpleSelectStatement 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, 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

afterIdentifier

protected java.lang.String afterIdentifier
The JPQL identifier of the clause used to determine if there is any clause defined after it.


beforeIdentifier

protected java.lang.String beforeIdentifier
The JPQL identifier of the clause used to determine if there is any clause defined before it.


hasFollowUpClauses

protected boolean hasFollowUpClauses
Determines whether there is at least one clause defined after the clause defined by #identifier.

Constructor Detail

AbstractContentAssistVisitor.FollowingClausesVisitor

protected AbstractContentAssistVisitor.FollowingClausesVisitor()
Method Detail

dispose

public void dispose()
Disposes of the internal data.


hasFromClause

protected boolean hasFromClause(AbstractSelectStatement expression)
Determines if the FROM clause has been defined or not. The end limit of the check is also taken into consideration.

Parameters:
expression - The SELECT expression being scanned for what has been defined between the range of clauses
Returns:
true if the FROM clause is defined; false otherwise

visit

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

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

visit

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

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

visit

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