Class EnumLiteralResolver
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.tools.resolver.Resolver
-
- org.eclipse.persistence.jpa.jpql.tools.resolver.EnumLiteralResolver
-
-
Constructor Summary
Constructors Constructor Description EnumLiteralResolver(Resolver parent, IType type, String enumLiteral)
Creates a newEnumLiteralResolver
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getConstantName()
Returns the name of the constant constant.String
toString()
-
Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.resolver.Resolver
addChild, getChild, getManagedType, getMapping, getParent, getParentManagedType, getParentMapping, getParentType, getParentTypeDeclaration, getProvider, getQuery, getType, getType, getType, getTypeDeclaration, getTypeHelper, getTypeRepository, isNullAllowed, setNullAllowed
-
-
-
-
Constructor Detail
-
EnumLiteralResolver
public EnumLiteralResolver(Resolver parent, IType type, String enumLiteral)
Creates a newEnumLiteralResolver
.- Parameters:
parent
- The parent of this resolver, which is nevernull
type
- TheIType
of the enum typeenumLiteral
- The fully qualified name of the enum constant- Throws:
NullPointerException
- If the parent isnull
-
-