Uses of Interface
org.eclipse.persistence.jpa.jpql.tools.spi.IType
Packages that use 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
Fields in org.eclipse.persistence.jpa.jpql.tools declared as ITypeModifier and TypeFieldDescriptionprotected ITypeAbstractContentAssistVisitor.AcceptableTypeVisitor.typeThe type that is retrieved based on the expression, it determines what is acceptable.protected final ITypeAbstractContentAssistVisitor.MappingTypeFilter.typeThe type used to determine if the mapping's type is a valid type.Methods in org.eclipse.persistence.jpa.jpql.tools that return ITypeModifier and TypeMethodDescriptionGenericTypeHelper.bigDecimal()TypeHelper.bigDecimal()Retrieves theITypeforBigDecimal.GenericTypeHelper.bigInteger()TypeHelper.bigInteger()Retrieves theITypeforBigInteger.GenericTypeHelper.booleanType()TypeHelper.booleanType()GenericTypeHelper.byteType()TypeHelper.byteType()GenericTypeHelper.characterType()TypeHelper.characterType()GenericTypeHelper.collectionType()TypeHelper.collectionType()Retrieves theITypeforCollection.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()TheITyperepresenting the enum type.GenericTypeHelper.enumType()TypeHelper.enumType()GenericTypeHelper.floatType()TypeHelper.floatType()protected ITypeAbstractContentAssistVisitor.getAcceptableType(Expression expression) Determines the rootITypethat any type should be assignable.JPQLQueryContext.getEnumType(String enumTypeName) Returns theITyperepresenting 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 theITyperepresenting 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 theITypeof the givenExpression.Returns theITypeof 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 theLongtype.GenericTypeHelper.mapType()TypeHelper.mapType()GenericTypeHelper.numberType()TypeHelper.numberType()GenericTypeHelper.objectType()TypeHelper.objectType()GenericTypeHelper.primitiveBoolean()TypeHelper.primitiveBoolean()Retrieves theITypefor the primitive boolean.GenericTypeHelper.primitiveByte()TypeHelper.primitiveByte()Retrieves theITypefor the primitive byte.GenericTypeHelper.primitiveChar()TypeHelper.primitiveChar()Retrieves theITypefor the primitive char.GenericTypeHelper.primitiveDouble()TypeHelper.primitiveDouble()Retrieves theITypefor the primitive double.GenericTypeHelper.primitiveFloat()TypeHelper.primitiveFloat()Retrieves theITypefor the primitive float.GenericTypeHelper.primitiveInteger()TypeHelper.primitiveInteger()Retrieves theITypefor the primitive int.GenericTypeHelper.primitiveLong()TypeHelper.primitiveLong()Retrieves theITypefor the primitive long.GenericTypeHelper.primitiveShort()TypeHelper.primitiveShort()Retrieves theITypefor 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 theBooleantype.GenericTypeHelper.toByteType(Object type) TypeHelper.toByteType(IType type) Converts the givenIType, if it's the primitive byte, into theBytetype.GenericTypeHelper.toDoubleType(Object type) TypeHelper.toDoubleType(IType type) Converts the givenIType, if it's the primitive double, into theDoubletype.GenericTypeHelper.toFloatType(Object type) TypeHelper.toFloatType(IType type) Converts the givenIType, if it's the primitive float, into theFloattype.GenericTypeHelper.toIntegerType(Object type) TypeHelper.toIntegerType(IType type) Converts the givenIType, if it's the primitive int, into theIntegertype.GenericTypeHelper.toShortType(Object type) TypeHelper.toShortType(IType type) Converts the givenIType, if it's the primitive short, into theShorttype.GenericTypeHelper.unknownType()TypeHelper.unknownType()Retrieves theITypethat represents an unknown type.Methods in org.eclipse.persistence.jpa.jpql.tools that return types with arguments of type ITypeModifier and TypeMethodDescriptionprotected Comparator<IType> AbstractJPQLQueryHelper.buildNumericTypeComparator()Creates theComparatorthat can sortITypesbased on the numerical priority.Methods in org.eclipse.persistence.jpa.jpql.tools with parameters of type ITypeModifier and TypeMethodDescriptionprotected voidAbstractContentAssistVisitor.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 voidAbstractContentAssistVisitor.addEnumConstant(IType enumType, String enumConstant) Adds the given enum constant as a valid proposal.voidDefaultContentAssistProposals.addEnumConstant(IType enumType, String enumConstant) Adds the constants of the given enum constant as a valid proposal.protected voidAbstractContentAssistVisitor.addEnumConstants(IType enumType, String word) Adds the constants of the given enum type as valid proposals if the beginning starts with the given word.intTypeHelper.convertPrimitive(IType type) Converts the givenIType, if it's representing a primitive type, into the class of the same type.booleanTypeHelper.isBooleanType(IType type) booleanTypeHelper.isCollectionType(IType type) Determines whether the givenITypeis an instance ofCollection.booleanTypeHelper.isDateType(IType type) booleanTypeHelper.isEnumType(IType type) booleanTypeHelper.isFloatingType(IType type) Determines whether the givenITypeis an instance of a floating type, which is eitherFloat,Double, float or double.booleanTypeHelper.isIntegralType(IType type) Determines whether the givenITypeis an instance of a floating type, which is eitherInteger,Long, int or float.booleanbooleanTypeHelper.isNumericType(IType type) booleanTypeHelper.isObjectType(IType type) booleanTypeHelper.isPrimitiveType(IType type) Determines whether the givenITyperepresents a primitive type.booleanTypeHelper.isStringType(IType type) Determines whether the givenITyperepresents theStringclass.Converts the givenIType, if it's the primitive long, into theLongtype.voidBasicRefactoringTool.renameAttribute(IType type, String oldAttributeName, String newAttributeName) Renames the attribute (persistent field or persistent property) from the given type.voidRefactoringTool.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 theBooleantype.TypeHelper.toByteType(IType type) Converts the givenIType, if it's the primitive byte, into theBytetype.TypeHelper.toDoubleType(IType type) Converts the givenIType, if it's the primitive double, into theDoubletype.TypeHelper.toFloatType(IType type) Converts the givenIType, if it's the primitive float, into theFloattype.TypeHelper.toIntegerType(IType type) Converts the givenIType, if it's the primitive int, into theIntegertype.TypeHelper.toShortType(IType type) Converts the givenIType, if it's the primitive short, into theShorttype. -
Uses of IType in org.eclipse.persistence.jpa.jpql.tools.model.query
Fields in org.eclipse.persistence.jpa.jpql.tools.model.query declared as ITypeModifier and TypeFieldDescriptionprotected final ITypeStateFieldPathExpressionStateObject.MapManagedType.mapTypeMethods in org.eclipse.persistence.jpa.jpql.tools.model.query that return ITypeModifier and TypeMethodDescriptionAbstractPathExpressionStateObject.getType()Returns theITypeof 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 actualITypethat was resolved ornullif it could not be resolved.EncapsulatedIdentificationVariableExpressionStateObject.getType()Returns theITypeof the field handled by this object.IdentificationVariableStateObject.getType()Returns theITypeof the field handled by this object.StateFieldPathExpressionStateObject.MapManagedType.getType()protected abstract ITypeAbstractPathExpressionStateObject.resolveType()Resolves theITypeof the property handled by this object.protected ITypeCollectionValuedPathExpressionStateObject.resolveType()protected ITypeConstructorExpressionStateObject.resolveType()Resolves the actualITypebased on the class name.protected ITypeEncapsulatedIdentificationVariableExpressionStateObject.resolveType()Resolves theITypeof the property handled by this object.protected ITypeIdentificationVariableStateObject.resolveType()Resolves theITypeof the property handled by this object.protected ITypeKeyExpressionStateObject.resolveType()protected ITypeStateFieldPathExpressionStateObject.resolveType()protected ITypeValueExpressionStateObject.resolveType()Methods in org.eclipse.persistence.jpa.jpql.tools.model.query with parameters of type ITypeConstructors in org.eclipse.persistence.jpa.jpql.tools.model.query with parameters of type ITypeModifierConstructorDescriptionprotectedMapManagedType(IManagedTypeProvider provider, IType mapType) -
Uses of IType in org.eclipse.persistence.jpa.jpql.tools.resolver
Fields in org.eclipse.persistence.jpa.jpql.tools.resolver declared as ITypeModifier and TypeFieldDescriptionprotected final ITypeCollectionValuedFieldResolver.MapManagedType.mapTypeMethods in org.eclipse.persistence.jpa.jpql.tools.resolver that return ITypeModifier and TypeMethodDescriptionprotected ITypeAbsFunctionResolver.buildType()protected ITypeClassNameResolver.buildType()protected ITypeClassResolver.buildType()protected ITypeCollectionEquivalentResolver.buildType()protected ITypeCollectionValuedFieldResolver.buildType()protected ITypeDeclarationResolver.buildType()protected ITypeEntityResolver.buildType()protected ITypeEnumLiteralResolver.buildType()protected ITypeFromSubqueryResolver.buildType()IdentificationVariableResolver.buildType()protected ITypeKeyResolver.buildType()protected ITypeMathFunctionResolver.buildType()protected ITypeNullResolver.buildType()protected ITypeNumericResolver.buildType()protected ITypeResolver.buildType()protected ITypeStateFieldResolver.buildType()protected ITypeSubqueryEntityResolver.buildType()protected ITypeSumFunctionResolver.buildType()protected ITypeValueResolver.buildType()final ITypeResolver.getParentType()Returns the type of the parent resolver.CollectionValuedFieldResolver.MapManagedType.getType()FromSubqueryResolver.VirtualManagedType.getType()FromSubqueryResolver.VirtualMapping.getType()final ITypeResolver.getType()final ITypeReturns theITypeof the given Java type.final ITypeRetrieves the external class for the given fully qualified class name.Methods in org.eclipse.persistence.jpa.jpql.tools.resolver with parameters of type ITypeModifier and TypeMethodDescriptionprotected ResolverResolverBuilder.buildEnumResolver(AbstractPathExpression expression, IType type, String enumLiteral) Creates a newResolverthat will resolve the given enum literal.Constructors in org.eclipse.persistence.jpa.jpql.tools.resolver with parameters of type ITypeModifierConstructorDescriptionEnumLiteralResolver(Resolver parent, IType type, String enumLiteral) Creates a newEnumLiteralResolver.protectedMapManagedType(IManagedTypeProvider provider, IType mapType) -
Uses of IType in org.eclipse.persistence.jpa.jpql.tools.spi
Methods in org.eclipse.persistence.jpa.jpql.tools.spi that return ITypeModifier and TypeMethodDescriptionITypeRepository.getEnumType(String enumTypeName) Returns theITyperepresenting 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.Methods in org.eclipse.persistence.jpa.jpql.tools.spi with parameters of type ITypeModifier and TypeMethodDescriptionbooleanDetermines whether the given type represents the same Java type thank this one.IManagedTypeProvider.getEmbeddable(IType type) Retrieves theIEmbeddablewith the givenIType.IManagedTypeProvider.getManagedType(IType type) Retrieves theIManagedTypefor the givenIType.IManagedTypeProvider.getMappedSuperclass(IType type) Retrieves theIEmbeddablewith the givenIType.booleanIType.isAssignableTo(IType type) Determines whether this type is an instance of the given type.