EclipseLink 2.5.0, build 'v20130425-368d603' API Reference

org.eclipse.persistence.jpa.jpql.tools
Interface AbstractContentAssistVisitor.CompoundTypeFilter

Enclosing class:
AbstractContentAssistVisitor

protected static interface AbstractContentAssistVisitor.CompoundTypeFilter


Field Summary
static AbstractContentAssistVisitor.CompoundTypeFilter INVALID_INSTANCE
          This instance is used to say the Expression is invalid without doing anything.
static AbstractContentAssistVisitor.CompoundTypeFilter VALID_INSTANCE
          This instance is used to say the Expression is valid without doing anything.
 
Method Summary
 boolean isValid(Expression expression)
          Validates the addition of the compound identifier by determining if the given Expression can be followed by that compound identifier.
 

Field Detail

INVALID_INSTANCE

static final AbstractContentAssistVisitor.CompoundTypeFilter INVALID_INSTANCE
This instance is used to say the Expression is invalid without doing anything.


VALID_INSTANCE

static final AbstractContentAssistVisitor.CompoundTypeFilter VALID_INSTANCE
This instance is used to say the Expression is valid without doing anything.

Method Detail

isValid

boolean isValid(Expression expression)
Validates the addition of the compound identifier by determining if the given Expression can be followed by that compound identifier.

Parameters:
expression - The Expression that is present before the position of the cursor
Returns:
true if the given Expression can be followed by the compound identifier managed by this filter; false otherwise

EclipseLink 2.5.0, build 'v20130425-368d603' API Reference