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
-
public class CollectionValuedFieldResolver extends AbstractPathResolver
ThisResolver
is responsible to resolve the type of a collection-valued field.- Version:
- 2.5
- Author:
- Pascal Filion
- Since:
- 2.3
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
CollectionValuedFieldResolver.MapManagedType
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.jpa.jpql.tools.resolver.AbstractPathResolver
path
-
-
Constructor Summary
Constructors Constructor Description CollectionValuedFieldResolver(Resolver parent, java.lang.String path)
Creates a newCollectionValuedFieldResolver
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IType
buildType()
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
-
-
-
-
Method Detail
-
buildType
protected IType buildType()
-
resolveManagedType
protected IManagedType resolveManagedType(IMapping mapping)
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
-
-