EclipseLink 2.4.0, build 'v20120608-r11652' API Reference

org.eclipse.persistence.jpa.jpql
Interface AbstractContentAssistVisitor.ClauseHelper<T extends Expression>

All Known Implementing Classes:
AbstractContentAssistVisitor.DeleteClauseHelper, AbstractContentAssistVisitor.FromClauseHelper, AbstractContentAssistVisitor.HavingClauseHelper, AbstractContentAssistVisitor.WhereClauseHelper, EclipseLinkContentAssistVisitor.WhereClauseHelper
Enclosing class:
AbstractContentAssistVisitor

protected static interface AbstractContentAssistVisitor.ClauseHelper<T extends Expression>

This helper is responsible to add the proposals


Method Summary
 void addAtTheEndOfExpression(T expression)
          Adds the proposals because the cursor is at the end of the Expression.
 void addProposals(T expression)
          Adds the possible proposals.
 Expression getClauseExpression(T expression)
          Returns the expression from the given clause.
 

Method Detail

addAtTheEndOfExpression

void addAtTheEndOfExpression(T expression)
Adds the proposals because the cursor is at the end of the Expression.

Parameters:
expression - The clause for which proposals can be added after the expression

addProposals

void addProposals(T expression)
Adds the possible proposals.

Parameters:
expression - The clause for which proposals can be added

getClauseExpression

Expression getClauseExpression(T expression)
Returns the expression from the given clause.

Parameters:
expression - The clause for which its expression is needed
Returns:
The clause's expression

EclipseLink 2.4.0, build 'v20120608-r11652' API Reference