EclipseLink 2.5.0, build 'v20130226-e0971b1' API Reference

org.eclipse.persistence.jpa.jpql.tools
Class AbstractContentAssistVisitor.AbstractConditionalClauseHelper

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor.AbstractConditionalClauseHelper
All Implemented Interfaces:
AbstractContentAssistVisitor.ClauseHelper<AbstractConditionalClause>
Enclosing class:
AbstractContentAssistVisitor

protected class AbstractContentAssistVisitor.AbstractConditionalClauseHelper
extends java.lang.Object
implements AbstractContentAssistVisitor.ClauseHelper<AbstractConditionalClause>


Constructor Summary
protected AbstractContentAssistVisitor.AbstractConditionalClauseHelper()
           
 
Method Summary
 void addAtTheEndOfExpression(AbstractConditionalClause expression)
          Adds the proposals because the cursor is at the end of the Expression.
 void addProposals(AbstractConditionalClause expression)
          Adds the possible proposals.
 Expression getClauseExpression(AbstractConditionalClause expression)
          Returns the expression from the given clause.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractContentAssistVisitor.AbstractConditionalClauseHelper

protected AbstractContentAssistVisitor.AbstractConditionalClauseHelper()
Method Detail

addAtTheEndOfExpression

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

Specified by:
addAtTheEndOfExpression in interface AbstractContentAssistVisitor.ClauseHelper<AbstractConditionalClause>
Parameters:
expression - The clause for which proposals can be added after the expression

addProposals

public void addProposals(AbstractConditionalClause expression)
Adds the possible proposals.

Specified by:
addProposals in interface AbstractContentAssistVisitor.ClauseHelper<AbstractConditionalClause>
Parameters:
expression - The clause for which proposals can be added

getClauseExpression

public Expression getClauseExpression(AbstractConditionalClause expression)
Returns the expression from the given clause.

Specified by:
getClauseExpression in interface AbstractContentAssistVisitor.ClauseHelper<AbstractConditionalClause>
Parameters:
expression - The clause for which its expression is needed
Returns:
The clause's expression

EclipseLink 2.5.0, build 'v20130226-e0971b1' API Reference