SemanticValidatorHelper, which directly accesses
EclipseLink objects without using Hermes SPI.
| Modifier and Type | Field and Description |
|---|---|
| private final JPQLQueryContext | queryContext
The context used to query information about the JPQL query. |
| Access | Constructor and Description |
|---|---|
| pack-priv | EclipseLinkSemanticValidatorHelper(JPQLQueryContext
The context used to query information about the JPQL query queryContext)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| private void | addIdentificationVariable(IdentificationVariable identificationVariable, Map<String, List<IdentificationVariable>> identificationVariables)
|
| public void | collectAllDeclarationIdentificationVariables(Map<String, List<IdentificationVariable>>
The identificationVariables)Map used to store the variablesImplements org. FROM clause of the
current query and from the parent queries.
|
| private void | collectLocalDeclarationIdentificationVariables(JPQLQueryContext queryContext, Map<String, List<IdentificationVariable>> identificationVariables)
|
| public void | collectLocalDeclarationIdentificationVariables(Map<String, List<IdentificationVariable>>
The identificationVariables)Map used to store the variablesImplements org. FROM clause of the
current query.
|
| public void | disposeSubqueryContext()
Implements org. |
| public String[] | entityNames()
Implements org. |
| public List | getAllDeclarations()
Implements org. JPQLQueryDeclaration, which contain the information
contained in the query's FROM clause.
|
| public Object[] | getConstructors(Object type)
Implements org. |
| public List | getDeclarations()
Implements org. JPQLQueryDeclaration, which contain the information
contained in the query's FROM clause.
|
| public ClassDescriptor | getEmbeddable(Object
The Java type of the embeddable to retrieve type)Implements org. |
| public ClassDescriptor | getEntityNamed(String
The abstract schema name of the entity to retrieve entityName)Implements org. |
| public String[] | getEnumConstants(Object
The type)Enum typeImplements org. Enum type.
|
| public JPQLGrammar | getGrammar()
Implements org. JPQLGrammar that defines how the JPQL query was parsed.
|
| public Object | getManagedType(Expression expression)
Implements org. Expression.
|
| public Object | getMappingNamed(Object
The managed type that has a mapping with the given name entity, String The name of the mapping to retrieve name)Implements org. |
| public Class | getMappingType(Object
The mapping object mapping)Implements org. |
| public Type[] | getMethodParameterTypeDeclarations(Object
The constructor to return its parameter types constructor)Implements org. |
| public Object | getReferenceManagedType(Object
The relationship mapping mapping)Implements org. |
| public Class | getType(Expression
The expression)Expression to resolveImplements org. Expression.
|
| public Object | getType(Object typeDeclaration)
Implements org. |
| public Class | getType(String
The fully qualified name of the class to retrieve className)Implements org. |
| public Object | getTypeDeclaration(Expression
The expression)Expression to resolveImplements org. Expression's type.
|
| public ITypeHelper | getTypeHelper()
Implements org. |
| public String | getTypeName(Object
The type to retrieve its name type)Implements org. |
| public boolean | isAssignableTo(Object
The type to check if it is an instance of type 2 type1, Object The type used to determine if the class represented by type 1 is an instance
of with one type2)Implements org. |
| public boolean | isCollectionIdentificationVariable(String
The identification variable to check for what it maps variableName)Implements org. |
| public boolean | isCollectionMapping(Object
The mapping object to verify if it represents a collection mapping mapping)Implements org. |
| public boolean | isEmbeddableMapping(Object
The mapping object to verify if it represents an embeddable mapping mapping)Implements org. |
| public boolean | isEnumType(Object type)
Implements org. Enum.
|
| public boolean | isIdentificationVariableValidInComparison(IdentificationVariable
The expression)IdentificationVariable that is mapped to either an entity, a
singled-object value field, a collection-valued object fieldImplements org. |
| public boolean | isManagedTypeResolvable(Object managedType)
Implements org. |
| public boolean | isPropertyMapping(Object
The mapping object to verify if it represents a property mapping mapping)Implements org. |
| public boolean | isRelationshipMapping(Object
The mapping object to verify if it represents a relationship mapping mapping)Implements org. |
| public boolean | isResultVariable(String
The variable to check if it's a result variable variableName)Implements org. |
| public boolean | isTransient(Object
The mapping object to verify if it represents a transient attribute mapping)Implements org. |
| public boolean | isTypeDeclarationAssignableTo(Object
The type declaration to check if it is an instance of type declaration 2 typeDeclaration1, Object The type used to determine if the class represented by type
declaration 1 is an instance of with one typeDeclaration2)Implements org. |
| public boolean | isTypeResolvable(Object type)
Implements org. |
| public void | newSubqueryContext(SimpleSelectStatement
The parsed tree representation of the subquery that will become the current query expression)Implements org. |
| public Object | resolveMapping(Expression
The expression)Expression representing a state field path expression or a
collection-valued path expressionImplements org. Expression.
|
| public Object | resolveMapping(String
The identification variable that is defined in the variableName, String FROM
clause of the query (which can be in the current subquery) or in one of the parent queries.The name of the persistent field to retrieve name)Implements org. |