|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.jpa.jpql.AbstractContentAssistVisitor.DeleteClauseStatementHelper
protected class AbstractContentAssistVisitor.DeleteClauseStatementHelper
| Constructor Summary | |
|---|---|
protected |
AbstractContentAssistVisitor.DeleteClauseStatementHelper()
|
| Method Summary | |
|---|---|
void |
addClauseProposals()
Adds the JPQL identifier of the clause being scanned by this helper. |
void |
addInternalClauseProposals(DeleteStatement expression)
Adds the JPQL identifier of the internal clause being scanned by this helper. |
Expression |
getClause(DeleteStatement expression)
Returns the clause being scanned by this helper. |
AbstractContentAssistVisitor.WhereClauseDeleteStatementHelper |
getNextHelper()
Returns the AbstractContentAssistVisitor.AbstractFromClauseStatementHelper 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 |
hasClause(DeleteStatement expression)
Determines whether the clause exists in the parsed tree. |
boolean |
hasSpaceAfterClause(DeleteStatement expression)
Determines whether there is a space (owned by the SELECT statement) after the clause being scanned by this helper. |
boolean |
isClauseComplete(DeleteStatement expression)
Determines whether the clause being scanned is complete or not. |
boolean |
isRequired()
Determines whether the clause is required in order to make the JPQL query grammatically valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractContentAssistVisitor.DeleteClauseStatementHelper()
| Method Detail |
|---|
public void addClauseProposals()
Note: The identifier should not be added directly to the list, it needs to be filtered out based on the location of the cursor, it can be within a word.
addClauseProposals in interface AbstractContentAssistVisitor.StatementHelper<DeleteStatement>public void addInternalClauseProposals(DeleteStatement expression)
FROM clause could add its own sub-clauses.
Note: The identifier should not be added directly to the list, it needs to be filtered out based on the location of the cursor, it can be within a word.
addInternalClauseProposals in interface AbstractContentAssistVisitor.StatementHelper<DeleteStatement>expression - The AbstractSelectStatement being visitedpublic Expression getClause(DeleteStatement expression)
#hasClause(AbstractSelectStatement) is called before this one.
getClause in interface AbstractContentAssistVisitor.StatementHelper<DeleteStatement>expression - The AbstractSelectStatement being visited
public AbstractContentAssistVisitor.WhereClauseDeleteStatementHelper getNextHelper()
AbstractContentAssistVisitor.AbstractFromClauseStatementHelper 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.
getNextHelper in interface AbstractContentAssistVisitor.StatementHelper<DeleteStatement>AbstractContentAssistVisitor.AbstractFromClauseStatementHelper for the next clausepublic boolean hasClause(DeleteStatement expression)
hasClause in interface AbstractContentAssistVisitor.StatementHelper<DeleteStatement>expression - The AbstractSelectStatement being visited
true if the clause has been parsed; false otherwisepublic boolean hasSpaceAfterClause(DeleteStatement expression)
hasSpaceAfterClause in interface AbstractContentAssistVisitor.StatementHelper<DeleteStatement>expression - The AbstractSelectStatement being visited
true if a space follows the clause; false otherwisepublic boolean isClauseComplete(DeleteStatement expression)
isClauseComplete in interface AbstractContentAssistVisitor.StatementHelper<DeleteStatement>expression - The AbstractSelectStatement being visited
true if the clause is complete; false otherwisepublic boolean isRequired()
isRequired in interface AbstractContentAssistVisitor.StatementHelper<DeleteStatement>true if the clause has to be defined; false if the clause
is optional
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||