Uses of Interface
org.eclipse.persistence.jpa.jpql.tools.spi.IType
Package
Description
This package contains the
StateObject
classes that represents a JPQL query.The Hermes SPI defines how the parser and its related features can retrieve information about
the JPA managed types from the application.
-
Uses of IType in org.eclipse.persistence.jpa.jpql.tools
Modifier and TypeFieldDescriptionprotected IType
AbstractContentAssistVisitor.AcceptableTypeVisitor.type
The type that is retrieved based on the expression, it determines what is acceptable.protected final IType
AbstractContentAssistVisitor.MappingTypeFilter.type
The type used to determine if the mapping's type is a valid type.Modifier and TypeMethodDescriptionGenericTypeHelper.bigDecimal()
TypeHelper.bigDecimal()
Retrieves theIType
forBigDecimal
.GenericTypeHelper.bigInteger()
TypeHelper.bigInteger()
Retrieves theIType
forBigInteger
.GenericTypeHelper.booleanType()
TypeHelper.booleanType()
GenericTypeHelper.byteType()
TypeHelper.byteType()
GenericTypeHelper.characterType()
TypeHelper.characterType()
GenericTypeHelper.collectionType()
TypeHelper.collectionType()
Retrieves theIType
forCollection
.GenericTypeHelper.convertPrimitive
(Object type) TypeHelper.convertPrimitive
(IType type) Converts the givenIType
, if it's representing a primitive type, into the class of the same type.GenericTypeHelper.dateType()
TypeHelper.dateType()
GenericTypeHelper.doubleType()
TypeHelper.doubleType()
ContentAssistProposals.EnumProposals.enumType()
TheIType
representing the enum type.GenericTypeHelper.enumType()
TypeHelper.enumType()
GenericTypeHelper.floatType()
TypeHelper.floatType()
protected IType
AbstractContentAssistVisitor.getAcceptableType
(Expression expression) Determines the rootIType
that any type should be assignable.JPQLQueryContext.getEnumType
(String enumTypeName) Returns theIType
representing the possible given enum type.GenericSemanticValidatorHelper.getMappingType
(Object mapping) AbstractJPQLQueryHelper.getParameterType
(String parameterName) Retrieves, if it can be determined, the type of the given input parameter with the given name.JPQLQueryContext.getParameterType
(InputParameter inputParameter) Retrieves, if it can be determined, the type of the givenInputParameter
.AbstractJPQLQueryHelper.getResultType()
Calculates the type of the query result of the JPQL query.Returns theIType
representing the given Java type.DefaultParameterTypeVisitor.getType()
EclipseLinkParameterTypeVisitor.getType()
GenericSemanticValidatorHelper.getType
(Expression expression) Retrieves the external type for the given Java type.Retrieves the external class with the given fully qualified class name.JPQLQueryContext.getType
(Expression expression) Returns theIType
of the givenExpression
.Returns theIType
of the given Java type.Retrieves the external class for the given fully qualified class name.GenericTypeHelper.integerType()
TypeHelper.integerType()
GenericTypeHelper.longType()
TypeHelper.longType()
Converts the givenIType
, if it's the primitive long, into theLong
type.GenericTypeHelper.mapType()
TypeHelper.mapType()
GenericTypeHelper.numberType()
TypeHelper.numberType()
GenericTypeHelper.objectType()
TypeHelper.objectType()
GenericTypeHelper.primitiveBoolean()
TypeHelper.primitiveBoolean()
Retrieves theIType
for the primitive boolean.GenericTypeHelper.primitiveByte()
TypeHelper.primitiveByte()
Retrieves theIType
for the primitive byte.GenericTypeHelper.primitiveChar()
TypeHelper.primitiveChar()
Retrieves theIType
for the primitive char.GenericTypeHelper.primitiveDouble()
TypeHelper.primitiveDouble()
Retrieves theIType
for the primitive double.GenericTypeHelper.primitiveFloat()
TypeHelper.primitiveFloat()
Retrieves theIType
for the primitive float.GenericTypeHelper.primitiveInteger()
TypeHelper.primitiveInteger()
Retrieves theIType
for the primitive int.GenericTypeHelper.primitiveLong()
TypeHelper.primitiveLong()
Retrieves theIType
for the primitive long.GenericTypeHelper.primitiveShort()
TypeHelper.primitiveShort()
Retrieves theIType
for the primitive short.GenericTypeHelper.shortType()
TypeHelper.shortType()
GenericTypeHelper.stringType()
TypeHelper.stringType()
GenericTypeHelper.timestampType()
TypeHelper.timestampType()
GenericTypeHelper.toBooleanType
(Object type) TypeHelper.toBooleanType
(IType type) Converts the givenIType
, if it's the primitive boolean, into theBoolean
type.GenericTypeHelper.toByteType
(Object type) TypeHelper.toByteType
(IType type) Converts the givenIType
, if it's the primitive byte, into theByte
type.GenericTypeHelper.toDoubleType
(Object type) TypeHelper.toDoubleType
(IType type) Converts the givenIType
, if it's the primitive double, into theDouble
type.GenericTypeHelper.toFloatType
(Object type) TypeHelper.toFloatType
(IType type) Converts the givenIType
, if it's the primitive float, into theFloat
type.GenericTypeHelper.toIntegerType
(Object type) TypeHelper.toIntegerType
(IType type) Converts the givenIType
, if it's the primitive int, into theInteger
type.GenericTypeHelper.toShortType
(Object type) TypeHelper.toShortType
(IType type) Converts the givenIType
, if it's the primitive short, into theShort
type.GenericTypeHelper.unknownType()
TypeHelper.unknownType()
Retrieves theIType
that represents an unknown type.Modifier and TypeMethodDescriptionprotected Comparator
<IType> AbstractJPQLQueryHelper.buildNumericTypeComparator()
Creates theComparator
that can sortITypes
based on the numerical priority.Modifier and TypeMethodDescriptionprotected void
AbstractContentAssistVisitor.addEntities
(IType type) Adds the entities as possible content assist proposals but will be filtered using the current word and the entity's type will have to be assignable from the givenIType
.protected void
AbstractContentAssistVisitor.addEnumConstant
(IType enumType, String enumConstant) Adds the given enum constant as a valid proposal.void
DefaultContentAssistProposals.addEnumConstant
(IType enumType, String enumConstant) Adds the constants of the given enum constant as a valid proposal.protected void
AbstractContentAssistVisitor.addEnumConstants
(IType enumType, String word) Adds the constants of the given enum type as valid proposals if the beginning starts with the given word.int
TypeHelper.convertPrimitive
(IType type) Converts the givenIType
, if it's representing a primitive type, into the class of the same type.boolean
TypeHelper.isBooleanType
(IType type) boolean
TypeHelper.isCollectionType
(IType type) Determines whether the givenIType
is an instance ofCollection
.boolean
TypeHelper.isDateType
(IType type) boolean
TypeHelper.isEnumType
(IType type) boolean
TypeHelper.isFloatingType
(IType type) Determines whether the givenIType
is an instance of a floating type, which is eitherFloat
,Double
, float or double.boolean
TypeHelper.isIntegralType
(IType type) Determines whether the givenIType
is an instance of a floating type, which is eitherInteger
,Long
, int or float.boolean
boolean
TypeHelper.isNumericType
(IType type) boolean
TypeHelper.isObjectType
(IType type) boolean
TypeHelper.isPrimitiveType
(IType type) Determines whether the givenIType
represents a primitive type.boolean
TypeHelper.isStringType
(IType type) Determines whether the givenIType
represents theString
class.Converts the givenIType
, if it's the primitive long, into theLong
type.void
BasicRefactoringTool.renameAttribute
(IType type, String oldAttributeName, String newAttributeName) Renames the attribute (persistent field or persistent property) from the given type.void
RefactoringTool.renameField
(IType type, String oldFieldName, String newFieldName) Renames a field from the given type.TypeHelper.toBooleanType
(IType type) Converts the givenIType
, if it's the primitive boolean, into theBoolean
type.TypeHelper.toByteType
(IType type) Converts the givenIType
, if it's the primitive byte, into theByte
type.TypeHelper.toDoubleType
(IType type) Converts the givenIType
, if it's the primitive double, into theDouble
type.TypeHelper.toFloatType
(IType type) Converts the givenIType
, if it's the primitive float, into theFloat
type.TypeHelper.toIntegerType
(IType type) Converts the givenIType
, if it's the primitive int, into theInteger
type.TypeHelper.toShortType
(IType type) Converts the givenIType
, if it's the primitive short, into theShort
type. -
Uses of IType in org.eclipse.persistence.jpa.jpql.tools.model.query
Modifier and TypeFieldDescriptionprotected final IType
StateFieldPathExpressionStateObject.MapManagedType.mapType
Modifier and TypeMethodDescriptionAbstractPathExpressionStateObject.getType()
Returns theIType
of the field handled by this object.Retrieves the external type for the given Java type.Retrieves the external class for the given fully qualified class name.ConstructorExpressionStateObject.getType()
Returns the actualIType
that was resolved ornull
if it could not be resolved.EncapsulatedIdentificationVariableExpressionStateObject.getType()
Returns theIType
of the field handled by this object.IdentificationVariableStateObject.getType()
Returns theIType
of the field handled by this object.StateFieldPathExpressionStateObject.MapManagedType.getType()
protected abstract IType
AbstractPathExpressionStateObject.resolveType()
Resolves theIType
of the property handled by this object.protected IType
CollectionValuedPathExpressionStateObject.resolveType()
protected IType
ConstructorExpressionStateObject.resolveType()
Resolves the actualIType
based on the class name.protected IType
EncapsulatedIdentificationVariableExpressionStateObject.resolveType()
Resolves theIType
of the property handled by this object.protected IType
IdentificationVariableStateObject.resolveType()
Resolves theIType
of the property handled by this object.protected IType
KeyExpressionStateObject.resolveType()
protected IType
StateFieldPathExpressionStateObject.resolveType()
protected IType
ValueExpressionStateObject.resolveType()
ModifierConstructorDescriptionprotected
MapManagedType
(IManagedTypeProvider provider, IType mapType) -
Uses of IType in org.eclipse.persistence.jpa.jpql.tools.resolver
Modifier and TypeFieldDescriptionprotected final IType
CollectionValuedFieldResolver.MapManagedType.mapType
Modifier and TypeMethodDescriptionprotected IType
AbsFunctionResolver.buildType()
protected IType
ClassNameResolver.buildType()
protected IType
ClassResolver.buildType()
protected IType
CollectionEquivalentResolver.buildType()
protected IType
CollectionValuedFieldResolver.buildType()
protected IType
DeclarationResolver.buildType()
protected IType
EntityResolver.buildType()
protected IType
EnumLiteralResolver.buildType()
protected IType
FromSubqueryResolver.buildType()
IdentificationVariableResolver.buildType()
protected IType
KeyResolver.buildType()
protected IType
MathFunctionResolver.buildType()
protected IType
NullResolver.buildType()
protected IType
NumericResolver.buildType()
protected IType
Resolver.buildType()
protected IType
StateFieldResolver.buildType()
protected IType
SubqueryEntityResolver.buildType()
protected IType
SumFunctionResolver.buildType()
protected IType
ValueResolver.buildType()
final IType
Resolver.getParentType()
Returns the type of the parent resolver.CollectionValuedFieldResolver.MapManagedType.getType()
FromSubqueryResolver.VirtualManagedType.getType()
FromSubqueryResolver.VirtualMapping.getType()
final IType
Resolver.getType()
final IType
Returns theIType
of the given Java type.final IType
Retrieves the external class for the given fully qualified class name.Modifier and TypeMethodDescriptionprotected Resolver
ResolverBuilder.buildEnumResolver
(AbstractPathExpression expression, IType type, String enumLiteral) Creates a newResolver
that will resolve the given enum literal.ModifierConstructorDescriptionEnumLiteralResolver
(Resolver parent, IType type, String enumLiteral) Creates a newEnumLiteralResolver
.protected
MapManagedType
(IManagedTypeProvider provider, IType mapType) -
Uses of IType in org.eclipse.persistence.jpa.jpql.tools.spi
Modifier and TypeMethodDescriptionITypeRepository.getEnumType
(String enumTypeName) Returns theIType
representing the possible given enum constant.IManagedType.getType()
Returns the external representation of the class used by this managed type.IMapping.getType()
Returns the type of this mapping.ITypeDeclaration.getType()
Returns the type defined for the Java member.Retrieves the external type for the given Java type.Retrieves the external class for the given fully qualified class name.Modifier and TypeMethodDescriptionboolean
Determines whether the given type represents the same Java type thank this one.IManagedTypeProvider.getEmbeddable
(IType type) Retrieves theIEmbeddable
with the givenIType
.IManagedTypeProvider.getManagedType
(IType type) Retrieves theIManagedType
for the givenIType
.IManagedTypeProvider.getMappedSuperclass
(IType type) Retrieves theIEmbeddable
with the givenIType
.boolean
IType.isAssignableTo
(IType type) Determines whether this type is an instance of the given type.