Class CollectionValuedFieldResolver
java.lang.Object
org.eclipse.persistence.jpa.jpql.tools.resolver.Resolver
org.eclipse.persistence.jpa.jpql.tools.resolver.AbstractPathResolver
org.eclipse.persistence.jpa.jpql.tools.resolver.CollectionValuedFieldResolver
This
Resolver
is responsible to resolve the type of a collection-valued field.- Since:
- 2.3
- Version:
- 2.5
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
-
Field Summary
Fields inherited from class org.eclipse.persistence.jpa.jpql.tools.resolver.AbstractPathResolver
path
-
Constructor Summary
ConstructorDescriptionCollectionValuedFieldResolver
(Resolver parent, String path) Creates a newCollectionValuedFieldResolver
. -
Method Summary
Modifier and TypeMethodDescriptionprotected IType
protected IManagedType
resolveManagedType
(IMapping mapping) Resolves this path'sIManagedType
by using the givenIMapping
.Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.resolver.AbstractPathResolver
buildTypeDeclaration, getManagedType, getMapping, getPath, resolveMapping, toString
Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.resolver.Resolver
addChild, checkParent, getChild, getParent, getParentManagedType, getParentMapping, getParentType, getParentTypeDeclaration, getProvider, getQuery, getType, getType, getType, getTypeDeclaration, getTypeHelper, getTypeRepository, isNullAllowed, setNullAllowed
-
Constructor Details
-
CollectionValuedFieldResolver
Creates a newCollectionValuedFieldResolver
.- Parameters:
parent
- The parentResolver
, which is nevernull
path
- A single segment of the collection-valued path expression
-
-
Method Details
-
buildType
Description copied from class:Resolver
-
resolveManagedType
Description copied from class:AbstractPathResolver
Resolves this path'sIManagedType
by using the givenIMapping
.- Specified by:
resolveManagedType
in classAbstractPathResolver
- Parameters:
mapping
- TheIMapping
, which is nevernull
, is used to calculate theIManagedType
- Returns:
- The
IManagedType
for the givenIMapping
, if it has one;null
if the type is a primitive
-