org.eclipse.persistence.jpa.jpql
Interface AbstractContentAssistVisitor.CompoundTypeFilter
- Enclosing class:
- AbstractContentAssistVisitor
protected static interface AbstractContentAssistVisitor.CompoundTypeFilter
|
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. |
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.
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