| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_252) on Fri Jul 16 09:39:03 UTC 2021 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>SemanticValidatorHelper (EclipseLink 3.0.2, API Reference)</title> |
| <meta name="date" content="2021-07-16"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="SemanticValidatorHelper (EclipseLink 3.0.2, API Reference)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage">EclipseLink 3.0.2, API Reference</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/eclipse/persistence/jpa/jpql/ParameterTypeVisitor.html" title="class in org.eclipse.persistence.jpa.jpql"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/eclipse/persistence/jpa/jpql/WordParser.html" title="class in org.eclipse.persistence.jpa.jpql"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html" target="_top">Frames</a></li> |
| <li><a href="SemanticValidatorHelper.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.eclipse.persistence.jpa.jpql</div> |
| <h2 title="Interface SemanticValidatorHelper" class="title">Interface SemanticValidatorHelper</h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public interface <span class="typeNameLabel">SemanticValidatorHelper</span></pre> |
| <div class="block">This helper is used by <a href="../../../../../org/eclipse/persistence/jpa/jpql/AbstractSemanticValidator.html" title="class in org.eclipse.persistence.jpa.jpql"><code>AbstractSemanticValidator</code></a> in order to retrieve JPA information. |
| This helper allows third party adopter to write an instance of this helper that directly access |
| the JPA information without having to implement Hermes SPI, which can improve performance. |
| <p> |
| <code>GenericSemanticValidatorHelper</code> is a default implementation that uses Hermes SPI. |
| <p> |
| Provisional API: This interface is part of an interim API that is still under development and |
| expected to change significantly before reaching stability. It is available at this early stage |
| to solicit feedback from pioneering adopters on the understanding that any code that uses this |
| API will almost certainly be broken (repeatedly) as the API evolves.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Version:</span></dt> |
| <dd>2.5</dd> |
| <dt><span class="simpleTagLabel">Author:</span></dt> |
| <dd>Pascal Filion</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.4</dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#collectAllDeclarationIdentificationVariables-java.util.Map-">collectAllDeclarationIdentificationVariables</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/IdentificationVariable.html" title="class in org.eclipse.persistence.jpa.jpql.parser">IdentificationVariable</a>>> identificationVariables)</code> |
| <div class="block">Collects the identification variables that are defined in the <code>FROM</code> clause of the |
| current query and from the parent queries.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#collectLocalDeclarationIdentificationVariables-java.util.Map-">collectLocalDeclarationIdentificationVariables</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/IdentificationVariable.html" title="class in org.eclipse.persistence.jpa.jpql.parser">IdentificationVariable</a>>> identificationVariables)</code> |
| <div class="block">Collects the identification variables that are defined in the <code>FROM</code> clause of the |
| current query.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#disposeSubqueryContext--">disposeSubqueryContext</a></span>()</code> |
| <div class="block">Disposes this context, which is the current context being used by a subquery.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#entityNames--">entityNames</a></span>()</code> |
| <div class="block">Returns the name of the all entities that are present in the context of a persistence unit.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/jpa/jpql/JPQLQueryDeclaration.html" title="interface in org.eclipse.persistence.jpa.jpql">JPQLQueryDeclaration</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getAllDeclarations--">getAllDeclarations</a></span>()</code> |
| <div class="block">Returns the ordered list of <a href="../../../../../org/eclipse/persistence/jpa/jpql/JPQLQueryDeclaration.html" title="interface in org.eclipse.persistence.jpa.jpql"><code>JPQLQueryDeclaration</code></a>, which contain the information |
| contained in the query's <code>FROM</code> clause.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getConstructors-java.lang.Object-">getConstructors</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> type)</code> |
| <div class="block">Returns the constructors for the given type.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/jpa/jpql/JPQLQueryDeclaration.html" title="interface in org.eclipse.persistence.jpa.jpql">JPQLQueryDeclaration</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getDeclarations--">getDeclarations</a></span>()</code> |
| <div class="block">Returns the ordered list of <a href="../../../../../org/eclipse/persistence/jpa/jpql/JPQLQueryDeclaration.html" title="interface in org.eclipse.persistence.jpa.jpql"><code>JPQLQueryDeclaration</code></a>, which contain the information |
| contained in the query's <code>FROM</code> clause.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getEmbeddable-java.lang.Object-">getEmbeddable</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> type)</code> |
| <div class="block">Retrieves the embeddable with the given type.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getEntityNamed-java.lang.String-">getEntityNamed</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> entityName)</code> |
| <div class="block">Retrieves the entity with the given entity name.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getEnumConstants-java.lang.Object-">getEnumConstants</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> type)</code> |
| <div class="block">Returns the constant names for the given <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><code>Enum</code></a> type.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/JPQLGrammar.html" title="interface in org.eclipse.persistence.jpa.jpql.parser">JPQLGrammar</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getGrammar--">getGrammar</a></span>()</code> |
| <div class="block">Returns the <a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/JPQLGrammar.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>JPQLGrammar</code></a> that defines how the JPQL query was parsed.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getManagedType-org.eclipse.persistence.jpa.jpql.parser.Expression-">getManagedType</a></span>(<a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser">Expression</a> expression)</code> |
| <div class="block">Returns the managed type by resolving the given <a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getMappingNamed-java.lang.Object-java.lang.String-">getMappingNamed</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> managedType, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> |
| <div class="block">Returns the mapping with the given name.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getMappingType-java.lang.Object-">getMappingType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> mapping)</code> |
| <div class="block">Returns the type of the given mapping object.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getMethodParameterTypeDeclarations-java.lang.Object-">getMethodParameterTypeDeclarations</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> constructor)</code> |
| <div class="block">Returns the list of type declarations representing the given constructor's parameter types.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getReferenceManagedType-java.lang.Object-">getReferenceManagedType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> relationshipMapping)</code> |
| <div class="block">Returns the reference managed type from the given relationship mapping.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getType-org.eclipse.persistence.jpa.jpql.parser.Expression-">getType</a></span>(<a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser">Expression</a> expression)</code> |
| <div class="block">Returns the type by resolving the given <a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getType-java.lang.Object-">getType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> typeDeclaration)</code> |
| <div class="block">Returns the type defined for the Java member.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getType-java.lang.String-">getType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> typeName)</code> |
| <div class="block">Retrieves the class with the given fully qualified name.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getTypeDeclaration-org.eclipse.persistence.jpa.jpql.parser.Expression-">getTypeDeclaration</a></span>(<a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser">Expression</a> expression)</code> |
| <div class="block">Returns the type declaration for the given <a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a>'s type.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/persistence/jpa/jpql/ITypeHelper.html" title="interface in org.eclipse.persistence.jpa.jpql">ITypeHelper</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getTypeHelper--">getTypeHelper</a></span>()</code> |
| <div class="block">Returns the helper that gives access to the most common class metadata.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#getTypeName-java.lang.Object-">getTypeName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> type)</code> |
| <div class="block">Returns the fully qualified class name of the given type.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#isAssignableTo-java.lang.Object-java.lang.Object-">isAssignableTo</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> type1, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> type2)</code> |
| <div class="block">Determines whether type 1 is an instance of type 2.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#isCollectionIdentificationVariable-java.lang.String-">isCollectionIdentificationVariable</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> variableName)</code> |
| <div class="block">Determines whether the given identification variable is defining a join or a collection member |
| declaration expressions.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#isCollectionMapping-java.lang.Object-">isCollectionMapping</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> mapping)</code> |
| <div class="block">Determines whether the given mapping is a collection type mapping.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#isEmbeddableMapping-java.lang.Object-">isEmbeddableMapping</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> mapping)</code> |
| <div class="block">Determines whether the given mapping is an embeddable type mapping.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#isEnumType-java.lang.Object-">isEnumType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> type)</code> |
| <div class="block">Determines whether the given type represents an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><code>Enum</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#isIdentificationVariableValidInComparison-org.eclipse.persistence.jpa.jpql.parser.IdentificationVariable-">isIdentificationVariableValidInComparison</a></span>(<a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/IdentificationVariable.html" title="class in org.eclipse.persistence.jpa.jpql.parser">IdentificationVariable</a> expression)</code> |
| <div class="block">Determines whether an identification variable can be used in a comparison expression when the |
| operator is either '<', '<=', '>', '>='.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#isManagedTypeResolvable-java.lang.Object-">isManagedTypeResolvable</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> managedType)</code> |
| <div class="block">Determines whether the given managed type actually exists.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#isPropertyMapping-java.lang.Object-">isPropertyMapping</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> mapping)</code> |
| <div class="block">Determines whether the given mapping is a property type mapping.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#isRelationshipMapping-java.lang.Object-">isRelationshipMapping</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> mapping)</code> |
| <div class="block">Determines whether the given mapping is a relationship type mapping.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#isResultVariable-java.lang.String-">isResultVariable</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> variableName)</code> |
| <div class="block">Determines if the given variable is a result variable.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#isTransient-java.lang.Object-">isTransient</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> mapping)</code> |
| <div class="block">Determines whether the given mapping is a transient attribute.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#isTypeDeclarationAssignableTo-java.lang.Object-java.lang.Object-">isTypeDeclarationAssignableTo</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> typeDeclaration1, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> typeDeclaration2)</code> |
| <div class="block">Determines whether type declaration 1 is an instance of type declaration 2.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#isTypeResolvable-java.lang.Object-">isTypeResolvable</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> type)</code> |
| <div class="block">Determines whether the given type actually exists.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#newSubqueryContext-org.eclipse.persistence.jpa.jpql.parser.SimpleSelectStatement-">newSubqueryContext</a></span>(<a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/SimpleSelectStatement.html" title="class in org.eclipse.persistence.jpa.jpql.parser">SimpleSelectStatement</a> expression)</code> |
| <div class="block">Changes the state of this helper to use the given subquery.</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#resolveMapping-org.eclipse.persistence.jpa.jpql.parser.Expression-">resolveMapping</a></span>(<a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser">Expression</a> expression)</code> |
| <div class="block">Returns the mapping for the field represented by the given <a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#resolveMapping-java.lang.String-java.lang.String-">resolveMapping</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> identificationVariable, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> |
| <div class="block">Returns the mapping that should be a persistence field from the entity defined by the given |
| identification variable.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="collectAllDeclarationIdentificationVariables-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>collectAllDeclarationIdentificationVariables</h4> |
| <pre>void collectAllDeclarationIdentificationVariables(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/IdentificationVariable.html" title="class in org.eclipse.persistence.jpa.jpql.parser">IdentificationVariable</a>>> identificationVariables)</pre> |
| <div class="block">Collects the identification variables that are defined in the <code>FROM</code> clause of the |
| current query and from the parent queries.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>identificationVariables</code> - The <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> used to store the variables</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="collectLocalDeclarationIdentificationVariables-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>collectLocalDeclarationIdentificationVariables</h4> |
| <pre>void collectLocalDeclarationIdentificationVariables(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/IdentificationVariable.html" title="class in org.eclipse.persistence.jpa.jpql.parser">IdentificationVariable</a>>> identificationVariables)</pre> |
| <div class="block">Collects the identification variables that are defined in the <code>FROM</code> clause of the |
| current query.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>identificationVariables</code> - The <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> used to store the variables</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="disposeSubqueryContext--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>disposeSubqueryContext</h4> |
| <pre>void disposeSubqueryContext()</pre> |
| <div class="block">Disposes this context, which is the current context being used by a subquery. Once it is |
| disposed, any information retrieved will be for the subquery's parent query.</div> |
| </li> |
| </ul> |
| <a name="entityNames--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>entityNames</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] entityNames()</pre> |
| <div class="block">Returns the name of the all entities that are present in the context of a persistence unit.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The list of entity names</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAllDeclarations--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAllDeclarations</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/jpa/jpql/JPQLQueryDeclaration.html" title="interface in org.eclipse.persistence.jpa.jpql">JPQLQueryDeclaration</a>> getAllDeclarations()</pre> |
| <div class="block">Returns the ordered list of <a href="../../../../../org/eclipse/persistence/jpa/jpql/JPQLQueryDeclaration.html" title="interface in org.eclipse.persistence.jpa.jpql"><code>JPQLQueryDeclaration</code></a>, which contain the information |
| contained in the query's <code>FROM</code> clause.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The list of <a href="../../../../../org/eclipse/persistence/jpa/jpql/JPQLQueryDeclaration.html" title="interface in org.eclipse.persistence.jpa.jpql"><code>JPQLQueryDeclaration</code></a> of the current query that was parsed and from |
| the parent queries</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getConstructors-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConstructors</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] getConstructors(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> type)</pre> |
| <div class="block">Returns the constructors for the given type. All public, protected, default (package) access, |
| and private constructors should be included. |
| <p> |
| If it was going through Hermes SPI, the type of the argument would be <code>IType</code> and the return type would be <code>IConstructor</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The declared constructors</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getDeclarations--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDeclarations</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/jpa/jpql/JPQLQueryDeclaration.html" title="interface in org.eclipse.persistence.jpa.jpql">JPQLQueryDeclaration</a>> getDeclarations()</pre> |
| <div class="block">Returns the ordered list of <a href="../../../../../org/eclipse/persistence/jpa/jpql/JPQLQueryDeclaration.html" title="interface in org.eclipse.persistence.jpa.jpql"><code>JPQLQueryDeclaration</code></a>, which contain the information |
| contained in the query's <code>FROM</code> clause.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The list of <a href="../../../../../org/eclipse/persistence/jpa/jpql/JPQLQueryDeclaration.html" title="interface in org.eclipse.persistence.jpa.jpql"><code>JPQLQueryDeclaration</code></a> of the current query that was parsed</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getEmbeddable-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEmbeddable</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getEmbeddable(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> type)</pre> |
| <div class="block">Retrieves the embeddable with the given type.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>type</code> - The Java type of the embeddable to retrieve</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The embeddable for the given type if it's representing an embeddable; <code>null</code> |
| otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getEntityNamed-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEntityNamed</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getEntityNamed(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> entityName)</pre> |
| <div class="block">Retrieves the entity with the given entity name.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>entityName</code> - The abstract schema name of the entity to retrieve</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The entity with the given name; <code>null</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getEnumConstants-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEnumConstants</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] getEnumConstants(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> type)</pre> |
| <div class="block">Returns the constant names for the given <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><code>Enum</code></a> type. |
| <p> |
| If it was going through Hermes SPI, the type of the argument would be |
| <code>IType</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>type</code> - The <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><code>Enum</code></a> type</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The list of constant names</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getGrammar--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getGrammar</h4> |
| <pre><a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/JPQLGrammar.html" title="interface in org.eclipse.persistence.jpa.jpql.parser">JPQLGrammar</a> getGrammar()</pre> |
| <div class="block">Returns the <a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/JPQLGrammar.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>JPQLGrammar</code></a> that defines how the JPQL query was parsed.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The <a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/JPQLGrammar.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>JPQLGrammar</code></a> that was used to parse the JPQL query</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getManagedType-org.eclipse.persistence.jpa.jpql.parser.Expression-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getManagedType</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getManagedType(<a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser">Expression</a> expression)</pre> |
| <div class="block">Returns the managed type by resolving the given <a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a>. |
| <p> |
| If it was going through Hermes SPI, the return type would be |
| <code>IManagedType</code>.</div> |
| </li> |
| </ul> |
| <a name="getMappingNamed-java.lang.Object-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMappingNamed</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getMappingNamed(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> managedType, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> |
| <div class="block">Returns the mapping with the given name. |
| <p> |
| If it was going through Hermes SPI, the type of the argument would be |
| <code>IManagedType</code> |
| and the return type would be <code>IMapping</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>managedType</code> - The managed type that has a mapping with the given name</dd> |
| <dd><code>name</code> - The name of the mapping to retrieve</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Either the mapping or <code>null</code> if it could not be found</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMappingType-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMappingType</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getMappingType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> mapping)</pre> |
| <div class="block">Returns the type of the given mapping object. |
| <p> |
| If it was going through Hermes SPI, the type of the argument would be <code>IMapping</code> and the return type |
| would be <code>IType</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping</code> - The mapping object</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The type of the given mapping</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMethodParameterTypeDeclarations-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMethodParameterTypeDeclarations</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] getMethodParameterTypeDeclarations(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> constructor)</pre> |
| <div class="block">Returns the list of type declarations representing the given constructor's parameter types. |
| If this is the default constructor, then an empty array should be returned. |
| <p> |
| If it was going through Hermes SPI, the type of the argument would be <code>IConstructor</code> and the return type would be |
| <code>ITypeDeclaration</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>constructor</code> - The constructor to return its parameter types</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The list of parameter types or an empty list</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getReferenceManagedType-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReferenceManagedType</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getReferenceManagedType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> relationshipMapping)</pre> |
| <div class="block">Returns the reference managed type from the given relationship mapping. |
| <p> |
| If it was going through Hermes SPI, the type of the argument would be <code>IMapping</code> and the return type would be <code>IManagedType</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>relationshipMapping</code> - The relationship mapping</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The managed type referenced by the given relationship mapping</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getType-org.eclipse.persistence.jpa.jpql.parser.Expression-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getType</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getType(<a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser">Expression</a> expression)</pre> |
| <div class="block">Returns the type by resolving the given <a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a>. |
| <p> |
| If it was going through Hermes SPI, the return type would be |
| <code>IType</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>expression</code> - The <a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> to resolve</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The type of the given <a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> or <code>null</code> if it could not be |
| validated</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getType-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getType</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> typeDeclaration)</pre> |
| <div class="block">Returns the type defined for the Java member. |
| <p> |
| If it was going through Hermes SPI, the type of the argument would be <code>ITypeDeclaration</code> and the return type would be |
| <code>IType</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The type defined for the Java member</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getType-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getType</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> typeName)</pre> |
| <div class="block">Retrieves the class with the given fully qualified name. |
| <p> |
| If it was going through Hermes SPI, an <code>IType</code> would be returned.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>typeName</code> - The fully qualified name of the class to retrieve</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The class to retrieve</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTypeDeclaration-org.eclipse.persistence.jpa.jpql.parser.Expression-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTypeDeclaration</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getTypeDeclaration(<a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser">Expression</a> expression)</pre> |
| <div class="block">Returns the type declaration for the given <a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a>'s type. |
| <p> |
| If it was going through Hermes SPI, the type of the argument would be |
| <code>ITypeDeclaration</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>expression</code> - The <a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> to resolve</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Either the type declaration that was resolved for the given <a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTypeHelper--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTypeHelper</h4> |
| <pre><a href="../../../../../org/eclipse/persistence/jpa/jpql/ITypeHelper.html" title="interface in org.eclipse.persistence.jpa.jpql">ITypeHelper</a> getTypeHelper()</pre> |
| <div class="block">Returns the helper that gives access to the most common class metadata.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A helper containing a collection of methods related to class metadata</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTypeName-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTypeName</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getTypeName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> type)</pre> |
| <div class="block">Returns the fully qualified class name of the given type. |
| <p> |
| If it was going through Hermes SPI, the type of the argument would be |
| <code>IType</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>type</code> - The type to retrieve its name</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The name of the class represented by this one</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isAssignableTo-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isAssignableTo</h4> |
| <pre>boolean isAssignableTo(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> type1, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> type2)</pre> |
| <div class="block">Determines whether type 1 is an instance of type 2. |
| <p> |
| If it was going through Hermes SPI, the type of the arguments would be |
| <code>IType</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>type1</code> - The type to check if it is an instance of type 2</dd> |
| <dd><code>type2</code> - The type used to determine if the class represented by type 1 is an instance |
| of with one</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if type 1 is an instance of the type 2; <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isCollectionIdentificationVariable-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isCollectionIdentificationVariable</h4> |
| <pre>boolean isCollectionIdentificationVariable(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> variableName)</pre> |
| <div class="block">Determines whether the given identification variable is defining a join or a collection member |
| declaration expressions.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>variableName</code> - The identification variable to check for what it maps</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the given identification variable maps a collection-valued field |
| defined in a <code>JOIN</code> or <code>IN</code> expression; <code>false</code> if it's not |
| defined or it's mapping an abstract schema name</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isCollectionMapping-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isCollectionMapping</h4> |
| <pre>boolean isCollectionMapping(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> mapping)</pre> |
| <div class="block">Determines whether the given mapping is a collection type mapping. |
| <p> |
| If it was going through Hermes SPI, the type of the arguments would be |
| <code>IMapping</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping</code> - The mapping object to verify if it represents a collection mapping</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the given mapping is a collection mapping; <code>false</code> |
| otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isEmbeddableMapping-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isEmbeddableMapping</h4> |
| <pre>boolean isEmbeddableMapping(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> mapping)</pre> |
| <div class="block">Determines whether the given mapping is an embeddable type mapping. |
| <p> |
| If it was going through Hermes SPI, the type of the arguments would be |
| <code>IMapping</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping</code> - The mapping object to verify if it represents an embeddable mapping</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the given mapping is an embeddable mapping; <code>false</code> |
| otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isEnumType-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isEnumType</h4> |
| <pre>boolean isEnumType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> type)</pre> |
| <div class="block">Determines whether the given type represents an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><code>Enum</code></a>. |
| <p> |
| If it was going through Hermes SPI, the type of the argument would be |
| <code>IType</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the given type is an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><code>Enum</code></a>; <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isIdentificationVariableValidInComparison-org.eclipse.persistence.jpa.jpql.parser.IdentificationVariable-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isIdentificationVariableValidInComparison</h4> |
| <pre>boolean isIdentificationVariableValidInComparison(<a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/IdentificationVariable.html" title="class in org.eclipse.persistence.jpa.jpql.parser">IdentificationVariable</a> expression)</pre> |
| <div class="block">Determines whether an identification variable can be used in a comparison expression when the |
| operator is either '<', '<=', '>', '>='.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>expression</code> - The <a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/IdentificationVariable.html" title="class in org.eclipse.persistence.jpa.jpql.parser"><code>IdentificationVariable</code></a> that is mapped to either an entity, a |
| singled-object value field, a collection-valued object field</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if it can be used in a ordering comparison expression; <code>false</code> |
| if it can't</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isManagedTypeResolvable-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isManagedTypeResolvable</h4> |
| <pre>boolean isManagedTypeResolvable(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> managedType)</pre> |
| <div class="block">Determines whether the given managed type actually exists. |
| <p> |
| If it was going through Hermes SPI, the type of the argument would be |
| <code>IManagedType</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the given managed type can be located; <code>false</code> if it |
| could not be found</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isPropertyMapping-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isPropertyMapping</h4> |
| <pre>boolean isPropertyMapping(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> mapping)</pre> |
| <div class="block">Determines whether the given mapping is a property type mapping. |
| <p> |
| If it was going through Hermes SPI, the type of the arguments would be |
| <code>IMapping</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping</code> - The mapping object to verify if it represents a property mapping</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the given mapping is a property mapping; <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isRelationshipMapping-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isRelationshipMapping</h4> |
| <pre>boolean isRelationshipMapping(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> mapping)</pre> |
| <div class="block">Determines whether the given mapping is a relationship type mapping. |
| <p> |
| If it was going through Hermes SPI, the type of the arguments would be |
| <code>IMapping</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping</code> - The mapping object to verify if it represents a relationship mapping</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the given mapping is a relationship mapping; <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isResultVariable-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isResultVariable</h4> |
| <pre>boolean isResultVariable(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> variableName)</pre> |
| <div class="block">Determines if the given variable is a result variable.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>variableName</code> - The variable to check if it's a result variable</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the given variable is defined as a result variable; |
| <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isTransient-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isTransient</h4> |
| <pre>boolean isTransient(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> mapping)</pre> |
| <div class="block">Determines whether the given mapping is a transient attribute. |
| <p> |
| If it was going through Hermes SPI, the type of the arguments would be |
| <code>IMapping</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mapping</code> - The mapping object to verify if it represents a transient attribute</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the given attribute is a transient mapping; <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isTypeDeclarationAssignableTo-java.lang.Object-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isTypeDeclarationAssignableTo</h4> |
| <pre>boolean isTypeDeclarationAssignableTo(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> typeDeclaration1, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> typeDeclaration2)</pre> |
| <div class="block">Determines whether type declaration 1 is an instance of type declaration 2. |
| <p> |
| If it was going through Hermes SPI, the type of the arguments would be |
| <code>ITypeDeclaration</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>typeDeclaration1</code> - The type declaration to check if it is an instance of type declaration 2</dd> |
| <dd><code>typeDeclaration2</code> - The type used to determine if the class represented by type |
| declaration 1 is an instance of with one</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if type declaration 1 is an instance of the type declaration 2; |
| <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isTypeResolvable-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isTypeResolvable</h4> |
| <pre>boolean isTypeResolvable(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> type)</pre> |
| <div class="block">Determines whether the given type actually exists. |
| <p> |
| If it was going through Hermes SPI, the type of the argument would be |
| <code>IType</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the actual class exists; <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="newSubqueryContext-org.eclipse.persistence.jpa.jpql.parser.SimpleSelectStatement-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newSubqueryContext</h4> |
| <pre>void newSubqueryContext(<a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/SimpleSelectStatement.html" title="class in org.eclipse.persistence.jpa.jpql.parser">SimpleSelectStatement</a> expression)</pre> |
| <div class="block">Changes the state of this helper to use the given subquery.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>expression</code> - The parsed tree representation of the subquery that will become the current query</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html#disposeSubqueryContext--"><code>disposeSubqueryContext()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="resolveMapping-org.eclipse.persistence.jpa.jpql.parser.Expression-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>resolveMapping</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> resolveMapping(<a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser">Expression</a> expression)</pre> |
| <div class="block">Returns the mapping for the field represented by the given <a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a>. |
| <p> |
| If it was going through Hermes SPI, the return type would be |
| <code>IMapping</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>expression</code> - The <a href="../../../../../org/eclipse/persistence/jpa/jpql/parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> representing a state field path expression or a |
| collection-valued path expression</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Either the mapping or <code>null</code> if none exists</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="resolveMapping-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>resolveMapping</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> resolveMapping(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> identificationVariable, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> |
| <div class="block">Returns the mapping that should be a persistence field from the entity defined by the given |
| identification variable. |
| <p> |
| If it was going through Hermes SPI, the return type would be |
| <code>IMapping</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>identificationVariable</code> - The identification variable that is defined in the <code>FROM</code> |
| clause of the query (which can be in the current subquery) or in one of the parent queries.</dd> |
| <dd><code>name</code> - The name of the persistent field to retrieve</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The persistence field with the given name or <code>null</code> if it could not be found</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage">EclipseLink 3.0.2, API Reference</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/eclipse/persistence/jpa/jpql/ParameterTypeVisitor.html" title="class in org.eclipse.persistence.jpa.jpql"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/eclipse/persistence/jpa/jpql/WordParser.html" title="class in org.eclipse.persistence.jpa.jpql"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/persistence/jpa/jpql/SemanticValidatorHelper.html" target="_top">Frames</a></li> |
| <li><a href="SemanticValidatorHelper.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2007–2021 <a href="http://www.eclipse.org/eclipselink">Eclipse.org - EclipseLink Project</a>. All rights reserved.</small></p> |
| </body> |
| </html> |