Constructor and Description |
---|
EnumLiteralResolver(Resolver parent,
IType type,
java.lang.String enumLiteral)
Creates a new
EnumLiteralResolver . |
Modifier and Type | Method and Description |
---|---|
protected IType |
buildType()
|
protected ITypeDeclaration |
buildTypeDeclaration()
Resolves the
ITypeDeclaration of the property handled by this Resolver . |
java.lang.String |
getConstantName()
Returns the name of the constant constant.
|
java.lang.String |
toString() |
addChild, checkParent, getChild, getManagedType, getMapping, getParent, getParentManagedType, getParentMapping, getParentType, getParentTypeDeclaration, getProvider, getQuery, getType, getType, getType, getTypeDeclaration, getTypeHelper, getTypeRepository, isNullAllowed, setNullAllowed
public EnumLiteralResolver(Resolver parent, IType type, java.lang.String enumLiteral)
EnumLiteralResolver
.parent
- The parent of this resolver, which is never null
type
- The IType
of the enum typeenumLiteral
- The fully qualified name of the enum constantjava.lang.NullPointerException
- If the parent is null
protected IType buildType()
protected ITypeDeclaration buildTypeDeclaration()
ITypeDeclaration
of the property handled by this Resolver
.buildTypeDeclaration
in class Resolver
ITypeDeclaration
that was resolved by this Resolver
or the
ITypeDeclaration
for IType.UNRESOLVABLE_TYPE
if it could not be resolvedpublic java.lang.String getConstantName()
public java.lang.String toString()
toString
in class java.lang.Object