EclipseLink 2.4.0, build 'v20120608-r11652' API Reference

org.eclipse.persistence.jpa.jpql
Class EclipseLinkContentAssistVisitor.OrderByClauseSelectStatementHelper

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.AbstractContentAssistVisitor.OrderByClauseSelectStatementHelper
      extended by org.eclipse.persistence.jpa.jpql.EclipseLinkContentAssistVisitor.OrderByClauseSelectStatementHelper
All Implemented Interfaces:
AbstractContentAssistVisitor.SelectStatementHelper<SelectStatement,OrderByClause>
Enclosing class:
EclipseLinkContentAssistVisitor

protected class EclipseLinkContentAssistVisitor.OrderByClauseSelectStatementHelper
extends AbstractContentAssistVisitor.OrderByClauseSelectStatementHelper


Constructor Summary
protected EclipseLinkContentAssistVisitor.OrderByClauseSelectStatementHelper()
           
 
Method Summary
 void appendNextClauseProposals(SelectStatement expression, OrderByClause clause, int position, boolean complete)
          The position of the cursor is at the end of the given clause, requests to add the clauses' identifiers that can be added as proposals.
 EclipseLinkContentAssistVisitor.UnionClauseSelectStatementHelper getNextHelper()
          Returns the AbstractContentAssistVisitor.AbstractFromClauseSelectStatementHelper that will scan the following clause, which is based on the grammar and not on the actual existence of the clause in the parsed tree.
 boolean hasSpaceAfterClause(SelectStatement expression)
          Determines whether there is a space (owned by the SELECT statement) after the clause being scanned by this helper.
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.AbstractContentAssistVisitor.OrderByClauseSelectStatementHelper
addClauseProposal, getClause, getClauseExpression, getPreviousHelper, hasClause, hasClauseExpression, hasSpaceBeforeClause, isClauseExpressionComplete
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EclipseLinkContentAssistVisitor.OrderByClauseSelectStatementHelper

protected EclipseLinkContentAssistVisitor.OrderByClauseSelectStatementHelper()
Method Detail

appendNextClauseProposals

public void appendNextClauseProposals(SelectStatement expression,
                                      OrderByClause clause,
                                      int position,
                                      boolean complete)
The position of the cursor is at the end of the given clause, requests to add the clauses' identifiers that can be added as proposals.

Specified by:
appendNextClauseProposals in interface AbstractContentAssistVisitor.SelectStatementHelper<SelectStatement,OrderByClause>
Overrides:
appendNextClauseProposals in class AbstractContentAssistVisitor.OrderByClauseSelectStatementHelper
Parameters:
expression - The AbstractSelectStatement being visited
clause - The clause being scanned
position - The position of the cursor within the AbstractSelectStatement
complete - Determines whether the clause's expression is complete or not

getNextHelper

public EclipseLinkContentAssistVisitor.UnionClauseSelectStatementHelper getNextHelper()
Returns the AbstractContentAssistVisitor.AbstractFromClauseSelectStatementHelper that will scan the following clause, which is based on the grammar and not on the actual existence of the clause in the parsed tree.

Specified by:
getNextHelper in interface AbstractContentAssistVisitor.SelectStatementHelper<SelectStatement,OrderByClause>
Overrides:
getNextHelper in class AbstractContentAssistVisitor.OrderByClauseSelectStatementHelper
Returns:
The AbstractContentAssistVisitor.AbstractFromClauseSelectStatementHelper for the next clause

hasSpaceAfterClause

public boolean hasSpaceAfterClause(SelectStatement expression)
Determines whether there is a space (owned by the SELECT statement) after the clause being scanned by this helper.

Specified by:
hasSpaceAfterClause in interface AbstractContentAssistVisitor.SelectStatementHelper<SelectStatement,OrderByClause>
Overrides:
hasSpaceAfterClause in class AbstractContentAssistVisitor.OrderByClauseSelectStatementHelper
Parameters:
expression - The AbstractSelectStatement being visited
Returns:
true if a space follows the clause; false otherwise

EclipseLink 2.4.0, build 'v20120608-r11652' API Reference