|
EclipseLink 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
protected static interface AbstractContentAssistVisitor.CollectionExpressionHelper<T extends Expression>
Method Summary | |
---|---|
void |
addAtTheEndOfChild(T expression,
Expression child,
int index)
Adds the proposals because the cursor is at the end of the given child Expression . |
void |
addProposals(T expression,
int index)
Adds |
CollectionExpression |
buildCollectionExpression(T 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(T expression)
Determines whether |
int |
maxCollectionSize(T expression)
Returns the maximum number of encapsulated expressions the Expression allows. |
int |
preExpressionLength(T expression)
Returns the length to add to |
JPQLQueryBNF |
queryBNF(T expression,
int index)
Returns the |
Method Detail |
---|
void addAtTheEndOfChild(T expression, Expression child, int index)
Expression
.
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 childrenvoid addProposals(T expression, int index)
expression
- index
- CollectionExpression buildCollectionExpression(T expression)
Expression
's child, which is already a CollectionExpression
or requests this helper to return a "virtual" CollectionExpression
that is wrapping
the single element.
expression
- The parent of the children to retrieve
boolean hasDelimiterAfterIdentifier(T expression)
expression
-
int maxCollectionSize(T expression)
expressions
the Expression
allows. Some expression only allow 2, others 3 and others allow an unlimited
number.
expression
- The Expression
for which its maximum number of children
int preExpressionLength(T expression)
JPQLQueryBNF queryBNF(T expression, int index)
expression
-
|
EclipseLink 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |