public abstract class AbstractPathResolver extends Resolver
Resolver
is responsible to resolve a single path of a path expression (state field
path expression, singled valued object field, or a collection-valued path expression).CollectionValuedFieldResolver
,
StateFieldResolver
Modifier and Type | Method and Description |
---|---|
IManagedType |
getManagedType()
Returns the
IManagedType associated with the field handled by this Resolver . |
IMapping |
getMapping()
Returns the
IMapping for the wrapped field. |
java.lang.String |
getPath()
Returns the single path represented by this
Resolver . |
java.lang.String |
toString() |
addChild, getChild, getParent, getParentManagedType, getParentMapping, getParentType, getParentTypeDeclaration, getProvider, getQuery, getType, getType, getType, getTypeDeclaration, getTypeHelper, getTypeRepository, isNullAllowed, setNullAllowed
public IManagedType getManagedType()
IManagedType
associated with the field handled by this Resolver
.
If this Resolver
does not handle a field that has a IManagedType
, then
null
should be returned.
For example: "SELECT e FROM Employee e
", the Resolver
for
e would be returning the IManagedType
for Employee.
getManagedType
in class Resolver
IManagedType
, if it could be resolved; null
otherwisepublic final IMapping getMapping()
IMapping
for the wrapped field.getMapping
in class Resolver
IMapping
or null
if none existspublic final java.lang.String getPath()
Resolver
.Resolver
public java.lang.String toString()
toString
in class java.lang.Object
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference