Class EclipseLinkContentAssistVisitor.FromClauseCollectionHelper
- java.lang.Object
- 
- org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor.FromClauseCollectionHelper
- 
- org.eclipse.persistence.jpa.jpql.tools.EclipseLinkContentAssistVisitor.FromClauseCollectionHelper
 
 
- 
- All Implemented Interfaces:
- AbstractContentAssistVisitor.CollectionExpressionHelper<AbstractFromClause>
 - Enclosing class:
- EclipseLinkContentAssistVisitor
 
 protected class EclipseLinkContentAssistVisitor.FromClauseCollectionHelper extends AbstractContentAssistVisitor.FromClauseCollectionHelper 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedFromClauseCollectionHelper(AbstractContentAssistVisitor visitor)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAtTheEndOfChild(AbstractFromClause expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace)Adds the proposals because the cursor is at the end of the child at the given position.voidaddTheBeginningOfChild(AbstractFromClause expression, CollectionExpression collectionExpression, int index, boolean hasComma)Adds the proposals because the cursor is at the beginning of the childExpressionat the given position.- 
Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor.FromClauseCollectionHelperaddIdentifier, buildCollectionExpression, canContinue, hasDelimiterAfterIdentifier, maxCollectionSize, preExpressionLength, queryBNF
 
- 
 
- 
- 
- 
Constructor Detail- 
FromClauseCollectionHelperprotected FromClauseCollectionHelper(AbstractContentAssistVisitor visitor) 
 
- 
 - 
Method Detail- 
addAtTheEndOfChildpublic void addAtTheEndOfChild(AbstractFromClause expression, CollectionExpression collectionExpression, int index, boolean hasComma, boolean virtualSpace) Adds the proposals because the cursor is at the end of the child at the given position.- Specified by:
- addAtTheEndOfChildin interface- AbstractContentAssistVisitor.CollectionExpressionHelper<AbstractFromClause>
- Overrides:
- addAtTheEndOfChildin class- AbstractContentAssistVisitor.FromClauseCollectionHelper
- Parameters:
- expression- The- Expressionbeing visited
- collectionExpression- The- CollectionExpressionis either the child of the given- Expressionor a temporary generated one that usually contains a single item
- index- The position of that child in the collection of children
- hasComma- Indicates whether a comma is present before the child at the given position; if the index is 0, then this is- falseby default
- virtualSpace- Indicates if this method is called because the cursor is at the end of the child at the specified index but by considering there is a virtual space at the end of that child
 
 - 
addTheBeginningOfChildpublic void addTheBeginningOfChild(AbstractFromClause expression, CollectionExpression collectionExpression, int index, boolean hasComma) Adds the proposals because the cursor is at the beginning of the childExpressionat the given position.- Specified by:
- addTheBeginningOfChildin interface- AbstractContentAssistVisitor.CollectionExpressionHelper<AbstractFromClause>
- Overrides:
- addTheBeginningOfChildin class- AbstractContentAssistVisitor.FromClauseCollectionHelper
- Parameters:
- expression- The- Expressionbeing visited
- collectionExpression- The- CollectionExpressionis either the child of the given- Expressionor a temporary generated one that usually contains a single item. This can be null if the position is at the beginning
- index- The position of the child that was scanned
- hasComma- Indicates whether a comma is present before the child at the given position; if the index is 0, then this is- falseby default
 
 
- 
 
-