| Package | Description |
|---|---|
| org.eclipse.persistence.jpa.jpql.tools | |
| org.eclipse.persistence.jpa.jpql.tools.model.query |
This package contains the
StateObject classes that represents a JPQL query. |
| org.eclipse.persistence.jpa.jpql.tools.resolver | |
| org.eclipse.persistence.jpa.jpql.tools.spi |
The Hermes SPI defines how the parser and its related features can retrieve information about
the JPA managed types from the application.
|
| Modifier and Type | Field and Description |
|---|---|
protected IType |
AbstractContentAssistVisitor.AcceptableTypeVisitor.type
The type that is retrieved based on the expression, it determines what is acceptable.
|
protected IType |
AbstractContentAssistVisitor.MappingTypeFilter.type
The type used to determine if the mapping's type is a valid type.
|
| Modifier and Type | Method and Description |
|---|---|
IType |
TypeHelper.bigDecimal()
Retrieves the
IType for BigDecimal. |
IType |
GenericTypeHelper.bigDecimal()
Retrieves the;@link IType} for;@link BigDecimal}.
|
IType |
TypeHelper.bigInteger()
Retrieves the
IType for BigInteger. |
IType |
GenericTypeHelper.bigInteger()
Retrieves the;@link IType} for;@link BigInteger}.
|
IType |
TypeHelper.booleanType()
|
IType |
GenericTypeHelper.booleanType()
Retrieves the;@link IType} for;@link Boolean}.
|
IType |
TypeHelper.byteType()
|
IType |
GenericTypeHelper.byteType()
Retrieves the;@link IType} for;@link Byte}.
|
IType |
TypeHelper.characterType()
|
IType |
GenericTypeHelper.characterType()
Retrieves the;@link IType} for;@link Character}.
|
IType |
TypeHelper.collectionType()
Retrieves the
IType for Collection. |
IType |
GenericTypeHelper.collectionType()
Retrieves the;@link IType} for;@link Collection}.
|
IType |
TypeHelper.convertPrimitive(IType type)
Converts the given
IType, if it's representing a primitive type, into the class of the
same type. |
IType |
GenericTypeHelper.convertPrimitive(Object type)
Converts the given;@link IType}, if it's representing a primitive type, into the class of the
same type.
|
IType |
TypeHelper.dateType()
|
IType |
GenericTypeHelper.dateType()
Retrieves the;@link IType} for;@link Date}.
|
IType |
TypeHelper.doubleType()
|
IType |
GenericTypeHelper.doubleType()
Retrieves the;@link IType} for;@link Double}.
|
IType |
TypeHelper.enumType()
|
IType |
GenericTypeHelper.enumType()
Retrieves the;@link IType} for;@link Enum}.
|
IType |
ContentAssistProposals.EnumProposals.enumType()
The
IType representing the enum type. |
IType |
TypeHelper.floatType()
|
IType |
GenericTypeHelper.floatType()
Retrieves the;@link IType} for;@link Float}.
|
protected IType |
AbstractContentAssistVisitor.getAcceptableType(Expression expression)
Determines the root
IType that any type should be assignable. |
IType |
JPQLQueryContext.getEnumType(String enumTypeName)
Returns the
IType representing the possible given enum type. |
IType |
GenericSemanticValidatorHelper.getMappingType(Object mapping)
Returns the type of the given mapping object.
|
IType |
JPQLQueryContext.getParameterType(InputParameter inputParameter)
Retrieves, if it can be determined, the type of the given
InputParameter. |
IType |
AbstractJPQLQueryHelper.getParameterType(String parameterName)
Retrieves, if it can be determined, the type of the given input parameter with the given name.
|
IType |
AbstractJPQLQueryHelper.getResultType()
Calculates the type of the query result of the JPQL query.
|
IType |
EclipseLinkParameterTypeVisitor.getType()
Returns the type, if it can be determined, of the input parameter.
|
IType |
DefaultParameterTypeVisitor.getType()
Returns the type, if it can be determined, of the input parameter.
|
IType |
TypeHelper.getType(Class<?> type)
Returns the
IType of the given Java type. |
IType |
JPQLQueryContext.getType(Class<?> type)
Retrieves the external type for the given Java type.
|
IType |
GenericTypeHelper.getType(Class<?> type)
Returns the;@link IType} of the given Java type.
|
IType |
AbstractJPQLQueryHelper.getType(Class<?> type)
Returns the
IType representing the given Java type. |
IType |
JPQLQueryContext.getType(Expression expression)
Returns the
IType of the given Expression. |
IType |
GenericSemanticValidatorHelper.getType(Expression expression)
Returns the type by resolving the given
Expression. |
IType |
GenericSemanticValidatorHelper.getType(Object typeDeclaration)
Returns the type defined for the Java member.
|
IType |
TypeHelper.getType(String typeName)
Retrieves the external class for the given fully qualified class name.
|
IType |
JPQLQueryContext.getType(String typeName)
Retrieves the external class with the given fully qualified class name.
|
IType |
GenericTypeHelper.getType(String typeName)
Retrieves the external class for the given fully qualified class name.
|
IType |
GenericSemanticValidatorHelper.getType(String typeName)
Retrieves the class with the given fully qualified name.
|
IType |
TypeHelper.integerType()
|
IType |
GenericTypeHelper.integerType()
Retrieves the;@link IType} for;@link Integer}.
|
IType |
TypeHelper.longType()
|
IType |
GenericTypeHelper.longType()
Retrieves the;@link IType} for;@link Long}.
|
IType |
TypeHelper.longType(IType type)
Converts the given
IType, if it's the primitive long, into the Long type. |
IType |
GenericTypeHelper.longType(Object type)
Converts the given;@link IType}, if it's the primitive long, into the
Long type. |
IType |
TypeHelper.mapType()
|
IType |
GenericTypeHelper.mapType()
Retrieves the;@link IType} for;@link Map}.
|
IType |
TypeHelper.numberType()
|
IType |
GenericTypeHelper.numberType()
Retrieves the;@link IType} for;@link Number}.
|
IType |
TypeHelper.objectType()
|
IType |
GenericTypeHelper.objectType()
Retrieves the;@link IType} for;@link Object}.
|
IType |
TypeHelper.primitiveBoolean()
Retrieves the
IType for the primitive boolean. |
IType |
GenericTypeHelper.primitiveBoolean()
Retrieves the;@link IType} for the primitive boolean.
|
IType |
TypeHelper.primitiveByte()
Retrieves the
IType for the primitive byte. |
IType |
GenericTypeHelper.primitiveByte()
Retrieves the;@link IType} for the primitive byte.
|
IType |
TypeHelper.primitiveChar()
Retrieves the
IType for the primitive char. |
IType |
GenericTypeHelper.primitiveChar()
Retrieves the;@link IType} for the primitive char.
|
IType |
TypeHelper.primitiveDouble()
Retrieves the
IType for the primitive double. |
IType |
GenericTypeHelper.primitiveDouble()
Retrieves the;@link IType} for the primitive double.
|
IType |
TypeHelper.primitiveFloat()
Retrieves the
IType for the primitive float. |
IType |
GenericTypeHelper.primitiveFloat()
Retrieves the;@link IType} for the primitive float.
|
IType |
TypeHelper.primitiveInteger()
Retrieves the
IType for the primitive int. |
IType |
GenericTypeHelper.primitiveInteger()
Retrieves the;@link IType} for the primitive int.
|
IType |
TypeHelper.primitiveLong()
Retrieves the
IType for the primitive long. |
IType |
GenericTypeHelper.primitiveLong()
Retrieves the;@link IType} for the primitive long.
|
IType |
TypeHelper.primitiveShort()
Retrieves the
IType for the primitive short. |
IType |
GenericTypeHelper.primitiveShort()
Retrieves the;@link IType} for the primitive short.
|
IType |
TypeHelper.shortType()
|
IType |
GenericTypeHelper.shortType()
Retrieves the;@link IType} for;@link Short}.
|
IType |
TypeHelper.stringType()
|
IType |
GenericTypeHelper.stringType()
Retrieves the;@link IType} for;@link String}.
|
IType |
TypeHelper.timestampType()
|
IType |
GenericTypeHelper.timestampType()
Retrieves the;@link IType} for;@link Timestamp}.
|
IType |
TypeHelper.toBooleanType(IType type)
Converts the given
IType, if it's the primitive boolean, into the Boolean
type. |
IType |
GenericTypeHelper.toBooleanType(Object type)
Converts the given;@link IType}, if it's the primitive boolean, into the
Boolean
type. |
IType |
TypeHelper.toByteType(IType type)
Converts the given
IType, if it's the primitive byte, into the Byte
type. |
IType |
GenericTypeHelper.toByteType(Object type)
Converts the given;@link IType}, if it's the primitive byte, into the
Byte
type. |
IType |
TypeHelper.toDoubleType(IType type)
Converts the given
IType, if it's the primitive double, into the Double
type. |
IType |
GenericTypeHelper.toDoubleType(Object type)
Converts the given;@link IType}, if it's the primitive double, into the
Double
type. |
IType |
TypeHelper.toFloatType(IType type)
Converts the given
IType, if it's the primitive float, into the Float
type. |
IType |
GenericTypeHelper.toFloatType(Object type)
Converts the given;@link IType}, if it's the primitive float, into the
Float
type. |
IType |
TypeHelper.toIntegerType(IType type)
Converts the given
IType, if it's the primitive int, into the Integer
type. |
IType |
GenericTypeHelper.toIntegerType(Object type)
Converts the given;@link IType}, if it's the primitive int, into the
Integer
type. |
IType |
TypeHelper.toShortType(IType type)
Converts the given
IType, if it's the primitive short, into the Short
type. |
IType |
GenericTypeHelper.toShortType(Object type)
Converts the given;@link IType}, if it's the primitive short, into the
Short
type. |
IType |
TypeHelper.unknownType()
Retrieves the
IType that represents an unknown type. |
IType |
GenericTypeHelper.unknownType()
Retrieves the;@link IType} that represents an unknown type.
|
| Modifier and Type | Method and Description |
|---|---|
protected Comparator<IType> |
AbstractJPQLQueryHelper.buildNumericTypeComparator()
Creates the
Comparator that can sort ITypes based on the numerical
priority. |
| Modifier and Type | Method and Description |
|---|---|
protected 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 given
IType. |
void |
DefaultContentAssistProposals.addEnumConstant(IType enumType,
String enumConstant)
Adds the constants of the given enum constant as a valid proposal.
|
protected void |
AbstractContentAssistVisitor.addEnumConstant(IType enumType,
String enumConstant)
Adds 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 |
NumericTypeComparator.compare(IType type1,
IType type2) |
IType |
TypeHelper.convertPrimitive(IType type)
Converts the given
IType, 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 given
IType is an instance of Collection. |
boolean |
TypeHelper.isDateType(IType type)
|
boolean |
TypeHelper.isEnumType(IType type)
|
boolean |
TypeHelper.isFloatingType(IType type)
Determines whether the given
IType is an instance of a floating type, which is either
Float, Double, float or double. |
boolean |
TypeHelper.isIntegralType(IType type)
Determines whether the given
IType is an instance of a floating type, which is either
Integer, Long, int or float. |
boolean |
TypeHelper.isMapType(IType type)
|
boolean |
TypeHelper.isNumericType(IType type)
|
boolean |
TypeHelper.isObjectType(IType type)
|
boolean |
TypeHelper.isPrimitiveType(IType type)
Determines whether the given
IType represents a primitive type. |
boolean |
TypeHelper.isStringType(IType type)
Determines whether the given
IType represents the String class. |
IType |
TypeHelper.longType(IType type)
Converts the given
IType, if it's the primitive long, into the Long 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.
|
IType |
TypeHelper.toBooleanType(IType type)
Converts the given
IType, if it's the primitive boolean, into the Boolean
type. |
IType |
TypeHelper.toByteType(IType type)
Converts the given
IType, if it's the primitive byte, into the Byte
type. |
IType |
TypeHelper.toDoubleType(IType type)
Converts the given
IType, if it's the primitive double, into the Double
type. |
IType |
TypeHelper.toFloatType(IType type)
Converts the given
IType, if it's the primitive float, into the Float
type. |
IType |
TypeHelper.toIntegerType(IType type)
Converts the given
IType, if it's the primitive int, into the Integer
type. |
IType |
TypeHelper.toShortType(IType type)
Converts the given
IType, if it's the primitive short, into the Short
type. |
| Modifier and Type | Field and Description |
|---|---|
protected IType |
StateFieldPathExpressionStateObject.MapManagedType.mapType |
| Modifier and Type | Method and Description |
|---|---|
IType |
StateFieldPathExpressionStateObject.MapManagedType.getType()
Returns the external representation of the class used by this managed type.
|
IType |
IdentificationVariableStateObject.getType()
Returns the
IType of the field handled by this object. |
IType |
EncapsulatedIdentificationVariableExpressionStateObject.getType()
Returns the
IType of the field handled by this object. |
IType |
ConstructorExpressionStateObject.getType()
Returns the actual
IType that was resolved or null if it could not be resolved. |
IType |
AbstractPathExpressionStateObject.getType()
Returns the
IType of the field handled by this object. |
IType |
AbstractStateObject.getType(Class<?> type)
Retrieves the external type for the given Java type.
|
IType |
AbstractStateObject.getType(String typeName)
Retrieves the external class for the given fully qualified class name.
|
protected IType |
ValueExpressionStateObject.resolveType()
Resolves the
IType of the property handled by this object. |
protected IType |
StateFieldPathExpressionStateObject.resolveType()
Resolves the
IType of the property handled by this object. |
protected IType |
KeyExpressionStateObject.resolveType()
Resolves the
IType of the property handled by this object. |
protected IType |
IdentificationVariableStateObject.resolveType()
Resolves the
IType of the property handled by this object. |
protected IType |
EncapsulatedIdentificationVariableExpressionStateObject.resolveType()
Resolves the
IType of the property handled by this object. |
protected IType |
ConstructorExpressionStateObject.resolveType()
Resolves the actual
IType based on the class name. |
protected IType |
CollectionValuedPathExpressionStateObject.resolveType()
Resolves the
IType of the property handled by this object. |
protected abstract IType |
AbstractPathExpressionStateObject.resolveType()
Resolves the
IType of the property handled by this object. |
| Modifier and Type | Method and Description |
|---|---|
void |
ConstructorExpressionStateObject.setType(IType type)
Sets the actual
IType and updates the class name. |
| Constructor and Description |
|---|
MapManagedType(IManagedTypeProvider provider,
IType mapType) |
| Modifier and Type | Field and Description |
|---|---|
protected IType |
CollectionValuedFieldResolver.MapManagedType.mapType |
| Modifier and Type | Method and Description |
|---|---|
protected IType |
ValueResolver.buildType()
|
protected IType |
SumFunctionResolver.buildType()
|
protected IType |
SubqueryEntityResolver.buildType()
|
protected IType |
StateFieldResolver.buildType()
|
protected IType |
Resolver.buildType()
|
protected IType |
NumericResolver.buildType()
|
protected IType |
NullResolver.buildType()
|
protected IType |
KeyResolver.buildType()
|
IType |
IdentificationVariableResolver.buildType()
|
protected IType |
FromSubqueryResolver.buildType()
|
protected IType |
EnumLiteralResolver.buildType()
|
protected IType |
EntityResolver.buildType()
|
protected IType |
DeclarationResolver.buildType()
|
protected IType |
CollectionValuedFieldResolver.buildType()
|
protected IType |
CollectionEquivalentResolver.buildType()
|
protected IType |
ClassResolver.buildType()
|
protected IType |
ClassNameResolver.buildType()
|
protected IType |
AbsFunctionResolver.buildType()
|
IType |
Resolver.getParentType()
Returns the type of the parent resolver.
|
IType |
Resolver.getType()
|
IType |
FromSubqueryResolver.VirtualManagedType.getType()
Returns the external representation of the class used by this managed type.
|
IType |
FromSubqueryResolver.VirtualMapping.getType()
Returns the type of this mapping.
|
IType |
CollectionValuedFieldResolver.MapManagedType.getType()
Returns the external representation of the class used by this managed type.
|
IType |
Resolver.getType(Class<?> type)
Returns the
IType of the given Java type. |
IType |
Resolver.getType(String typeName)
Retrieves the external class for the given fully qualified class name.
|
| Modifier and Type | Method and Description |
|---|---|
protected Resolver |
ResolverBuilder.buildEnumResolver(AbstractPathExpression expression,
IType type,
String enumLiteral)
Creates a new
Resolver that will resolve the given enum literal. |
| Constructor and Description |
|---|
EnumLiteralResolver(Resolver parent,
IType type,
String enumLiteral)
Creates a new
EnumLiteralResolver. |
MapManagedType(IManagedTypeProvider provider,
IType mapType) |
| Modifier and Type | Method and Description |
|---|---|
IType |
ITypeRepository.getEnumType(String enumTypeName)
Returns the
IType representing the possible given enum constant. |
IType |
ITypeDeclaration.getType()
Returns the type defined for the Java member.
|
IType |
IMapping.getType()
Returns the type of this mapping.
|
IType |
IManagedType.getType()
Returns the external representation of the class used by this managed type.
|
IType |
ITypeRepository.getType(Class<?> type)
Retrieves the external type for the given Java type.
|
IType |
ITypeRepository.getType(String typeName)
Retrieves the external class for the given fully qualified class name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IType.equals(IType type)
Determines whether the given type represents the same Java type thank this
one.
|
IEmbeddable |
IManagedTypeProvider.getEmbeddable(IType type)
Retrieves the
IEmbeddable with the given IType. |
IEntity |
IManagedTypeProvider.getEntity(IType type)
|
IManagedType |
IManagedTypeProvider.getManagedType(IType type)
Retrieves the
IManagedType for the given IType. |
IMappedSuperclass |
IManagedTypeProvider.getMappedSuperclass(IType type)
Retrieves the
IEmbeddable with the given IType. |
boolean |
IType.isAssignableTo(IType type)
Determines whether this type is an instance of the given type.
|
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.