|
EclipseLink 2.4.0, build 'v20120608-r11652' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.jpa.jpql.AbstractContentAssistVisitor.AbstractHavingClauseSelectStatementHelper<T>
protected abstract class AbstractContentAssistVisitor.AbstractHavingClauseSelectStatementHelper<T extends AbstractSelectStatement>
Constructor Summary | |
---|---|
protected |
AbstractContentAssistVisitor.AbstractHavingClauseSelectStatementHelper()
|
Method Summary | |
---|---|
void |
addClauseProposal()
Adds the JPQL identifier of the clause being scanned by this helper. |
HavingClause |
getClause(AbstractSelectStatement expression)
Returns the clause being scanned by this helper. |
Expression |
getClauseExpression(HavingClause clause)
Returns the clause's expression. |
boolean |
hasClause(AbstractSelectStatement expression)
Determines whether the clause exists in the parsed tree. |
boolean |
hasClauseExpression(HavingClause clause)
Determines whether the clause's expression exists in the parsed tree. |
boolean |
hasSpaceBeforeClause(AbstractSelectStatement expression)
Determines whether there is a space (owned by the SELECT statement) before the clause being scanned by this helper. |
boolean |
isClauseExpressionComplete(Expression expression)
Determines whether the clause's expression is complete or incomplete. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.persistence.jpa.jpql.AbstractContentAssistVisitor.SelectStatementHelper |
---|
appendNextClauseProposals, getNextHelper, getPreviousHelper, hasSpaceAfterClause |
Constructor Detail |
---|
protected AbstractContentAssistVisitor.AbstractHavingClauseSelectStatementHelper()
Method Detail |
---|
public void addClauseProposal()
addClauseProposal
in interface AbstractContentAssistVisitor.SelectStatementHelper<T extends AbstractSelectStatement,HavingClause>
public HavingClause getClause(AbstractSelectStatement expression)
AbstractContentAssistVisitor.SelectStatementHelper.hasClause(AbstractSelectStatement)
is called before this one.
getClause
in interface AbstractContentAssistVisitor.SelectStatementHelper<T extends AbstractSelectStatement,HavingClause>
expression
- The AbstractSelectStatement
being visited
public Expression getClauseExpression(HavingClause clause)
getClauseExpression
in interface AbstractContentAssistVisitor.SelectStatementHelper<T extends AbstractSelectStatement,HavingClause>
clause
- The AbstractSelectStatement
being visited
public boolean hasClause(AbstractSelectStatement expression)
hasClause
in interface AbstractContentAssistVisitor.SelectStatementHelper<T extends AbstractSelectStatement,HavingClause>
expression
- The AbstractSelectStatement
being visited
true
if the clause has been parsed; false
otherwisepublic boolean hasClauseExpression(HavingClause clause)
hasClauseExpression
in interface AbstractContentAssistVisitor.SelectStatementHelper<T extends AbstractSelectStatement,HavingClause>
clause
- The clause being scanned
true
if the clause has its expression or a portion of it parsed;
false
if nothing was parsedpublic boolean hasSpaceBeforeClause(AbstractSelectStatement expression)
hasSpaceBeforeClause
in interface AbstractContentAssistVisitor.SelectStatementHelper<T extends AbstractSelectStatement,HavingClause>
expression
- The AbstractSelectStatement
being visited
true
if a space precedes the clause; false
otherwisepublic boolean isClauseExpressionComplete(Expression expression)
isClauseExpressionComplete
in interface AbstractContentAssistVisitor.SelectStatementHelper<T extends AbstractSelectStatement,HavingClause>
expression
- The clause's expression to verify its completeness
true
if the Expression
is complete based on its content versus
what the grammar expects; false
otherwise
|
EclipseLink 2.4.0, build 'v20120608-r11652' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |