public class StateFieldResolver extends AbstractPathResolver
Resolver
is responsible to resolve the type of a state field, which is the leaf of
the state field path expression.
It is possible the state field path expression is actually an enum type, which will be
path
Constructor and Description |
---|
StateFieldResolver(Resolver parent,
java.lang.String path)
Creates a new
StateFieldResolver . |
Modifier and Type | Method and Description |
---|---|
protected IType |
buildType()
|
protected IManagedType |
resolveManagedType(IMapping mapping)
Resolves this path's
IManagedType by using the given IMapping . |
buildTypeDeclaration, getManagedType, getMapping, getPath, resolveMapping, toString
addChild, checkParent, getChild, getParent, getParentManagedType, getParentMapping, getParentType, getParentTypeDeclaration, getProvider, getQuery, getType, getType, getType, getTypeDeclaration, getTypeHelper, getTypeRepository, isNullAllowed, setNullAllowed
protected IType buildType()
protected IManagedType resolveManagedType(IMapping mapping)
IManagedType
by using the given IMapping
.resolveManagedType
in class AbstractPathResolver
mapping
- 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