|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
org.eclipse.persistence.jpa.internal.jpql.ContentAssistVisitor.UpdateItemCollectionHelper
private class ContentAssistVisitor.UpdateItemCollectionHelper
| Constructor Summary | |
|---|---|
private |
ContentAssistVisitor.UpdateItemCollectionHelper() |
| Method Summary | |
|---|---|
void |
addAtTheEndOfChild(UpdateClause expression, Expression child, int index)Adds the proposals because the cursor is at the end of the given child Expression. |
void |
addProposals(UpdateClause expression, int index)Adds |
CollectionExpression |
buildCollectionExpression(UpdateClause expression)Either returns the given Expression's child, which is already a CollectionExpression or requests this helper to return a "virtual" CollectionExpression that is wrapping the single element. |
boolean |
hasDelimiterAfterIdentifier(UpdateClause expression)Determines whether |
int |
maxCollectionSize(UpdateClause expression)Returns the maximum number of encapsulated expressions the Expression allows. |
int |
preExpressionLength(UpdateClause expression)Returns the length to add to |
JPQLQueryBNF |
queryBNF(UpdateClause expression, int index)Returns the |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
private ContentAssistVisitor.UpdateItemCollectionHelper()
| Method Detail |
|---|
public void addAtTheEndOfChild(UpdateClause expression,
Expression child,
int index)
Expression.addAtTheEndOfChild in interface ContentAssistVisitor.CollectionExpressionHelper<UpdateClause>expression - The Expression being visitedchild - The child of the parent Expression for which proposals can be added at the endindex - The position of that child in the collection of children
public void addProposals(UpdateClause expression,
int index)
addProposals in interface ContentAssistVisitor.CollectionExpressionHelper<UpdateClause>public CollectionExpression buildCollectionExpression(UpdateClause expression)
Expression's child, which is already a CollectionExpression or requests this helper to return a "virtual" CollectionExpression that is wrapping the single element.buildCollectionExpression in interface ContentAssistVisitor.CollectionExpressionHelper<UpdateClause>expression - The parent of the children to retrievepublic boolean hasDelimiterAfterIdentifier(UpdateClause expression)
hasDelimiterAfterIdentifier in interface ContentAssistVisitor.CollectionExpressionHelper<UpdateClause>public int maxCollectionSize(UpdateClause expression)
expressions the Expression allows. Some expression only allow 2, others 3 and others allow an unlimited number.maxCollectionSize in interface ContentAssistVisitor.CollectionExpressionHelper<UpdateClause>expression - The Expression for which its maximum number of childrenpublic int preExpressionLength(UpdateClause expression)
preExpressionLength in interface ContentAssistVisitor.CollectionExpressionHelper<UpdateClause>
public JPQLQueryBNF queryBNF(UpdateClause expression,
int index)
queryBNF in interface ContentAssistVisitor.CollectionExpressionHelper<UpdateClause>
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||