|
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.FilteringMappingCollector
protected class AbstractContentAssistVisitor.FilteringMappingCollector
This AbstractContentAssistVisitor.DefaultMappingCollector
returns the possible mappings (non-collection type or
collection type) from a managed type.
Field Summary | |
---|---|
protected Filter<IMapping> |
filter
The Filter used to filter out either the collection type properties or the non-
collection type properties. |
protected Resolver |
resolver
This resolver is used to retrieve the managed type, which is the parent path of this one. |
protected java.lang.String |
suffix
The suffix is used to determine if the mapping name needs to be filtered out or not. |
Method Summary | |
---|---|
protected void |
addFilteredMappings(IManagedType managedType,
java.util.List<IMapping> mappings)
|
protected Filter<IMapping> |
buildFilter(java.lang.String suffix)
|
protected Filter<IMapping> |
buildMappingNameFilter(java.lang.String suffix)
|
java.util.Collection<IMapping> |
buildProposals()
Retrieves the possible proposals that can be used to complete a path expression based on the position of the cursor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Filter<IMapping> filter
Filter
used to filter out either the collection type properties or the non-
collection type properties.
protected final Resolver resolver
protected final java.lang.String suffix
Method Detail |
---|
protected void addFilteredMappings(IManagedType managedType, java.util.List<IMapping> mappings)
protected Filter<IMapping> buildFilter(java.lang.String suffix)
protected Filter<IMapping> buildMappingNameFilter(java.lang.String suffix)
public java.util.Collection<IMapping> buildProposals()
buildProposals
in interface AbstractContentAssistVisitor.MappingCollector
|
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 |