EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

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

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.parser.AbstractExpressionVisitor
      extended by org.eclipse.persistence.jpa.jpql.AbstractContentAssistVisitor.CompletenessVisitor
All Implemented Interfaces:
ExpressionVisitor
Direct Known Subclasses:
AbstractContentAssistVisitor.IncompleteCollectionExpressionVisitor, AbstractContentAssistVisitor.TrailingCompletenessVisitor
Enclosing class:
AbstractContentAssistVisitor

protected abstract class AbstractContentAssistVisitor.CompletenessVisitor
extends AbstractExpressionVisitor

This visitor is meant to be subclassed and for its behavior to be completed, which is basically to determine if the Expression is complete or not.


Field Summary
protected  boolean complete
          Determines whether an Expression that was visited is complete or if some part is missing.
 
Constructor Summary
protected AbstractContentAssistVisitor.CompletenessVisitor()
           
 
Method Summary
 void dispose()
          Disposes of the internal data.
 boolean isComplete()
          Determines whether an Expression that was visited is complete or if some part is missing.
 void visit(CollectionExpression expression)
          Visits the CollectionExpression expression.
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractExpressionVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, 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

complete

protected boolean complete
Determines whether an Expression that was visited is complete or if some part is missing.

Constructor Detail

AbstractContentAssistVisitor.CompletenessVisitor

protected AbstractContentAssistVisitor.CompletenessVisitor()
Method Detail

dispose

public void dispose()
Disposes of the internal data.


isComplete

public boolean isComplete()
Determines whether an Expression that was visited is complete or if some part is missing.

Returns:
true if the visited Expression is grammatically complete; false if it is incomplete

visit

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

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

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference