public final class StateFieldResolver extends Resolver
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
Modifier and Type | Method and Description |
---|---|
void |
accept(ResolverVisitor visitor)
|
IMapping |
getMapping()
Returns the
IMapping for the wrapped field. |
java.lang.String |
getPath()
Returns the single path represented by this
Resolver . |
java.lang.String |
getStateFieldPath()
Returns
|
boolean |
isEnumType()
Determines whether the state field path expression is actually an enum type.
|
java.lang.String |
toString() |
getManagedType, getParent, getType, isNullAllowed, setNullAllowed
public void accept(ResolverVisitor visitor)
public java.lang.String getStateFieldPath()
public boolean isEnumType()
true
if the path represents the fully qualified enum type with the enum
constant; false
to indicate it's a real state field path expressionpublic java.lang.String toString()
toString
in class java.lang.Object
public final IMapping getMapping()
IMapping
for the wrapped field.getMapping
in class Resolver
IMapping
or null
if none existsEclipseLink 2.3.2, "build v20111125-r10461" API Reference