|
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 | ||||||||
java.lang.Objectorg.eclipse.persistence.jpa.jpql.AbstractContentAssistVisitor.ConstrutorCollectionHelper
protected class AbstractContentAssistVisitor.ConstrutorCollectionHelper
| Constructor Summary | |
|---|---|
protected |
AbstractContentAssistVisitor.ConstrutorCollectionHelper()
|
| Method Summary | |
|---|---|
void |
addAtTheEndOfChild(ConstructorExpression expression,
Expression child,
int index)
Adds the proposals because the cursor is at the end of the given child Expression. |
void |
addProposals(ConstructorExpression expression,
int index)
Adds |
CollectionExpression |
buildCollectionExpression(ConstructorExpression 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(ConstructorExpression expression)
Determines whether |
int |
maxCollectionSize(ConstructorExpression expression)
Returns the maximum number of encapsulated expressions the Expression allows. |
int |
preExpressionLength(ConstructorExpression expression)
Returns the length to add to |
JPQLQueryBNF |
queryBNF(ConstructorExpression 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 |
|---|
protected AbstractContentAssistVisitor.ConstrutorCollectionHelper()
| Method Detail |
|---|
public void addAtTheEndOfChild(ConstructorExpression expression,
Expression child,
int index)
Expression.
addAtTheEndOfChild in interface AbstractContentAssistVisitor.CollectionExpressionHelper<ConstructorExpression>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(ConstructorExpression expression,
int index)
addProposals in interface AbstractContentAssistVisitor.CollectionExpressionHelper<ConstructorExpression>public CollectionExpression buildCollectionExpression(ConstructorExpression 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 AbstractContentAssistVisitor.CollectionExpressionHelper<ConstructorExpression>expression - The parent of the children to retrieve
public boolean hasDelimiterAfterIdentifier(ConstructorExpression expression)
hasDelimiterAfterIdentifier in interface AbstractContentAssistVisitor.CollectionExpressionHelper<ConstructorExpression>public int maxCollectionSize(ConstructorExpression expression)
expressions the Expression allows. Some expression only allow 2, others 3 and others allow an unlimited
number.
maxCollectionSize in interface AbstractContentAssistVisitor.CollectionExpressionHelper<ConstructorExpression>expression - The Expression for which its maximum number of children
public int preExpressionLength(ConstructorExpression expression)
preExpressionLength in interface AbstractContentAssistVisitor.CollectionExpressionHelper<ConstructorExpression>
public JPQLQueryBNF queryBNF(ConstructorExpression expression,
int index)
queryBNF in interface AbstractContentAssistVisitor.CollectionExpressionHelper<ConstructorExpression>
|
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 | ||||||||