|
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.Resolver
org.eclipse.persistence.jpa.jpql.AbstractPathResolver
org.eclipse.persistence.jpa.jpql.CollectionValuedFieldResolver
public class CollectionValuedFieldResolver
This Resolver is responsible to resolve the type of a collection-valued field.
| Nested Class Summary | |
|---|---|
protected static class |
CollectionValuedFieldResolver.MapManagedType
|
| Field Summary |
|---|
| Fields inherited from class org.eclipse.persistence.jpa.jpql.AbstractPathResolver |
|---|
path |
| Constructor Summary | |
|---|---|
CollectionValuedFieldResolver(Resolver parent,
java.lang.String path)
Creates a new CollectionValuedFieldResolver. |
|
| Method Summary | |
|---|---|
void |
accept(ResolverVisitor visitor)
Visits this Resolver by the given visitor. |
protected IType |
buildType()
Resolves the IType of the property handled by this Resolver. |
protected IManagedType |
resolveManagedType(IMapping mapping)
Resolves this path's IManagedType by using the given IMapping. |
| Methods inherited from class org.eclipse.persistence.jpa.jpql.AbstractPathResolver |
|---|
buildTypeDeclaration, getManagedType, getMapping, getPath, resolveMapping, toString |
| Methods inherited from class org.eclipse.persistence.jpa.jpql.Resolver |
|---|
addChild, checkParent, getChild, getParent, getParentManagedType, getParentMapping, getParentType, getParentTypeDeclaration, getProvider, getQuery, getType, getType, getType, getTypeDeclaration, getTypeHelper, getTypeRepository, isNullAllowed, setNullAllowed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionValuedFieldResolver(Resolver parent,
java.lang.String path)
CollectionValuedFieldResolver.
parent - The parent Resolver, which is never nullpath - A single segment of the collection-valued path expression| Method Detail |
|---|
public void accept(ResolverVisitor visitor)
Resolver by the given visitor.
accept in class Resolvervisitor - The visitor to visit this objectprotected IType buildType()
IType of the property handled by this Resolver.
buildType in class ResolverIType that was resolved by this Resolver or the IType for IType.UNRESOLVABLE_TYPE if it could not be resolvedprotected IManagedType resolveManagedType(IMapping mapping)
IManagedType by using the given IMapping.
resolveManagedType in class AbstractPathResolvermapping - The IMapping, which is never null, is used to calculate
the IManagedType
IManagedType for the given IMapping, if it has one; null
if the type is a primitive
|
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 | ||||||||