Class MathFunctionResolver
java.lang.Object
org.eclipse.persistence.jpa.jpql.tools.resolver.Resolver
org.eclipse.persistence.jpa.jpql.tools.resolver.MathFunctionResolver
- Direct Known Subclasses:
MathFunctionResolver.Ceiling,MathFunctionResolver.Floor,MathFunctionResolver.Round
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTheCEILINGmath function expression resolver.static final classTheFLOORmath function expression resolver.static final classTheROUNDmath function expression resolver. -
Constructor Summary
ConstructorsConstructorDescriptionMathFunctionResolver(Resolver parent) Creates a new instance of math function expression resolver. -
Method Summary
Modifier and TypeMethodDescriptionprotected ITypeprotected ITypeDeclarationResolves theITypeDeclarationof the property handled by thisResolver.Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.resolver.Resolver
addChild, checkParent, getChild, getManagedType, getMapping, getParent, getParentManagedType, getParentMapping, getParentType, getParentTypeDeclaration, getProvider, getQuery, getType, getType, getType, getTypeDeclaration, getTypeHelper, getTypeRepository, isNullAllowed, setNullAllowed
-
Constructor Details
-
MathFunctionResolver
Creates a new instance of math function expression resolver.- Parameters:
parent- The parentResolver, which is nevernull
-
-
Method Details
-
buildType
Description copied from class:Resolver -
buildTypeDeclaration
Description copied from class:ResolverResolves theITypeDeclarationof the property handled by thisResolver.- Specified by:
buildTypeDeclarationin classResolver- Returns:
- Either the
ITypeDeclarationthat was resolved by thisResolveror theITypeDeclarationforIType.UNRESOLVABLE_TYPEif it could not be resolved
-