| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.2) on Wed Apr 22 10:19:16 CDT 2020 --> |
| <title>AbstractContentAssistVisitor.ConcatExpressionCollectionHelper (EclipseLink 3.0.0, API Reference)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2020-04-22"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../../jquery/jquery-3.3.1.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jquery-migrate-3.0.1.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="AbstractContentAssistVisitor.ConcatExpressionCollectionHelper (EclipseLink 3.0.0, API Reference)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../index.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.0, API Reference</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </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> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.eclipse.persistence.jpa.jpql.tools</a></div> |
| <h2 title="Class AbstractContentAssistVisitor.ConcatExpressionCollectionHelper" class="title">Class AbstractContentAssistVisitor.ConcatExpressionCollectionHelper</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor.ConcatExpressionCollectionHelper</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html" title="interface in org.eclipse.persistence.jpa.jpql.tools">AbstractContentAssistVisitor.CollectionExpressionHelper</a><<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a>></code></dd> |
| </dl> |
| <dl> |
| <dt>Enclosing class:</dt> |
| <dd><a href="AbstractContentAssistVisitor.html" title="class in org.eclipse.persistence.jpa.jpql.tools">AbstractContentAssistVisitor</a></dd> |
| </dl> |
| <hr> |
| <pre>protected static final class <span class="typeNameLabel">AbstractContentAssistVisitor.ConcatExpressionCollectionHelper</span> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> |
| implements <a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html" title="interface in org.eclipse.persistence.jpa.jpql.tools">AbstractContentAssistVisitor.CollectionExpressionHelper</a><<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a>></pre> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier</th> |
| <th class="colSecond" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor)">ConcatExpressionCollectionHelper</a></span>​(<a href="AbstractContentAssistVisitor.html" title="class in org.eclipse.persistence.jpa.jpql.tools">AbstractContentAssistVisitor</a> visitor)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addAtTheEndOfChild(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression,org.eclipse.persistence.jpa.jpql.parser.CollectionExpression,int,boolean,boolean)">addAtTheEndOfChild</a></span>​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression, |
| <a href="../parser/CollectionExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">CollectionExpression</a> collectionExpression, |
| int index, |
| boolean hasComma, |
| boolean virtualSpace)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds the proposals because the cursor is at the end of the child at the given position.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addIdentifier(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression,java.lang.String)">addIdentifier</a></span>​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> identifier)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds the given JPQL identifier as a valid proposal.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addTheBeginningOfChild(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression,org.eclipse.persistence.jpa.jpql.parser.CollectionExpression,int,boolean)">addTheBeginningOfChild</a></span>​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression, |
| <a href="../parser/CollectionExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">CollectionExpression</a> collectionExpression, |
| int index, |
| boolean hasComma)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds the proposals because the cursor is at the beginning of the child <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> |
| at the given position.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../parser/CollectionExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">CollectionExpression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#buildCollectionExpression(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression)">buildCollectionExpression</a></span>​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression)</code></th> |
| <td class="colLast"> |
| <div class="block">Either returns the given <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a>'s child, which is already a <a href="../parser/CollectionExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser"><code>CollectionExpression</code></a> |
| or requests this helper to return a "virtual" <a href="../parser/CollectionExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser"><code>CollectionExpression</code></a> that is wrapping |
| the single element.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canContinue(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression,org.eclipse.persistence.jpa.jpql.parser.CollectionExpression,int)">canContinue</a></span>​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression, |
| <a href="../parser/CollectionExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">CollectionExpression</a> collectionExpression, |
| int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Asks this helper if the search can continue even though two child expressions are not |
| separated by a comma.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasDelimiterAfterIdentifier(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression)">hasDelimiterAfterIdentifier</a></span>​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression)</code></th> |
| <td class="colLast"> |
| <div class="block">Determines whether a delimiter like a whitespace or an open parenthesis was parsed after |
| the identifier.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#maxCollectionSize(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression)">maxCollectionSize</a></span>​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the maximum number of encapsulated <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>expressions</code></a> the <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> |
| allows.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#preExpressionLength(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression)">preExpressionLength</a></span>​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the length of anything that can be defined before the first child.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="../parser/JPQLQueryBNF.html" title="class in org.eclipse.persistence.jpa.jpql.parser">JPQLQueryBNF</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#queryBNF(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression,int)">queryBNF</a></span>​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression, |
| int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the <a href="../parser/JPQLQueryBNF.html" title="class in org.eclipse.persistence.jpa.jpql.parser"><code>JPQLQueryBNF</code></a> that defines the fragment at the given position.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>(org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ConcatExpressionCollectionHelper</h4> |
| <pre>protected ConcatExpressionCollectionHelper​(<a href="AbstractContentAssistVisitor.html" title="class in org.eclipse.persistence.jpa.jpql.tools">AbstractContentAssistVisitor</a> visitor)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="addAtTheEndOfChild(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression,org.eclipse.persistence.jpa.jpql.parser.CollectionExpression,int,boolean,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addAtTheEndOfChild</h4> |
| <pre class="methodSignature">public void addAtTheEndOfChild​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression, |
| <a href="../parser/CollectionExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">CollectionExpression</a> collectionExpression, |
| int index, |
| boolean hasComma, |
| boolean virtualSpace)</pre> |
| <div class="block">Adds the proposals because the cursor is at the end of the child at the given position.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html#addAtTheEndOfChild(T,org.eclipse.persistence.jpa.jpql.parser.CollectionExpression,int,boolean,boolean)">addAtTheEndOfChild</a></code> in interface <code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html" title="interface in org.eclipse.persistence.jpa.jpql.tools">AbstractContentAssistVisitor.CollectionExpressionHelper</a><<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>expression</code> - The <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> being visited</dd> |
| <dd><code>collectionExpression</code> - The <a href="../parser/CollectionExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser"><code>CollectionExpression</code></a> is either the child of the |
| given <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> or a temporary generated one that usually contains a single item</dd> |
| <dd><code>index</code> - The position of that child in the collection of children</dd> |
| <dd><code>hasComma</code> - Indicates whether a comma is present before the child at the given position; |
| if the index is 0, then this is <code>false</code> by default</dd> |
| <dd><code>virtualSpace</code> - Indicates if this method is called because the cursor is at the end of |
| the child at the specified index but by considering there is a virtual space at the end of |
| that child</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="addIdentifier(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addIdentifier</h4> |
| <pre class="methodSignature">public void addIdentifier​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> identifier)</pre> |
| <div class="block">Adds the given JPQL identifier as a valid proposal.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html#addIdentifier(T,java.lang.String)">addIdentifier</a></code> in interface <code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html" title="interface in org.eclipse.persistence.jpa.jpql.tools">AbstractContentAssistVisitor.CollectionExpressionHelper</a><<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>expression</code> - The <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> being visited</dd> |
| <dd><code>identifier</code> - The JPQL identifier to add as a valid proposal</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="addTheBeginningOfChild(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression,org.eclipse.persistence.jpa.jpql.parser.CollectionExpression,int,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addTheBeginningOfChild</h4> |
| <pre class="methodSignature">public void addTheBeginningOfChild​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression, |
| <a href="../parser/CollectionExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">CollectionExpression</a> collectionExpression, |
| int index, |
| boolean hasComma)</pre> |
| <div class="block">Adds the proposals because the cursor is at the beginning of the child <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> |
| at the given position.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html#addTheBeginningOfChild(T,org.eclipse.persistence.jpa.jpql.parser.CollectionExpression,int,boolean)">addTheBeginningOfChild</a></code> in interface <code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html" title="interface in org.eclipse.persistence.jpa.jpql.tools">AbstractContentAssistVisitor.CollectionExpressionHelper</a><<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>expression</code> - The <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> being visited</dd> |
| <dd><code>collectionExpression</code> - The <a href="../parser/CollectionExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser"><code>CollectionExpression</code></a> is either the child of the |
| given <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> or a temporary generated one that usually contains a single item. |
| This can be null if the position is at the beginning</dd> |
| <dd><code>index</code> - The position of the child that was scanned</dd> |
| <dd><code>hasComma</code> - Indicates whether a comma is present before the child at the given position; |
| if the index is 0, then this is <code>false</code> by default</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="buildCollectionExpression(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildCollectionExpression</h4> |
| <pre class="methodSignature">public <a href="../parser/CollectionExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">CollectionExpression</a> buildCollectionExpression​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression)</pre> |
| <div class="block">Either returns the given <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a>'s child, which is already a <a href="../parser/CollectionExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser"><code>CollectionExpression</code></a> |
| or requests this helper to return a "virtual" <a href="../parser/CollectionExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser"><code>CollectionExpression</code></a> that is wrapping |
| the single element.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html#buildCollectionExpression(T)">buildCollectionExpression</a></code> in interface <code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html" title="interface in org.eclipse.persistence.jpa.jpql.tools">AbstractContentAssistVisitor.CollectionExpressionHelper</a><<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>expression</code> - The parent of the children to retrieve</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The given expression's child or a "virtual" one</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="canContinue(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression,org.eclipse.persistence.jpa.jpql.parser.CollectionExpression,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>canContinue</h4> |
| <pre class="methodSignature">public boolean canContinue​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression, |
| <a href="../parser/CollectionExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">CollectionExpression</a> collectionExpression, |
| int index)</pre> |
| <div class="block">Asks this helper if the search can continue even though two child expressions are not |
| separated by a comma.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html#canContinue(T,org.eclipse.persistence.jpa.jpql.parser.CollectionExpression,int)">canContinue</a></code> in interface <code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html" title="interface in org.eclipse.persistence.jpa.jpql.tools">AbstractContentAssistVisitor.CollectionExpressionHelper</a><<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>expression</code> - The <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> being visited</dd> |
| <dd><code>collectionExpression</code> - The <a href="../parser/CollectionExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser"><code>CollectionExpression</code></a></dd> |
| <dd><code>index</code> - The position of the child being scanned</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the check can continue even though the previous child was not |
| separated by a comma; <code>false</code> to stop the check</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="hasDelimiterAfterIdentifier(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasDelimiterAfterIdentifier</h4> |
| <pre class="methodSignature">public boolean hasDelimiterAfterIdentifier​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression)</pre> |
| <div class="block">Determines whether a delimiter like a whitespace or an open parenthesis was parsed after |
| the identifier.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html#hasDelimiterAfterIdentifier(T)">hasDelimiterAfterIdentifier</a></code> in interface <code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html" title="interface in org.eclipse.persistence.jpa.jpql.tools">AbstractContentAssistVisitor.CollectionExpressionHelper</a><<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>expression</code> - The <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> being visited</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if something is present; <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="maxCollectionSize(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>maxCollectionSize</h4> |
| <pre class="methodSignature">public int maxCollectionSize​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression)</pre> |
| <div class="block">Returns the maximum number of encapsulated <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>expressions</code></a> the <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> |
| allows. Some expression only allow 2, others 3 and others allow an unlimited number.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html#maxCollectionSize(T)">maxCollectionSize</a></code> in interface <code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html" title="interface in org.eclipse.persistence.jpa.jpql.tools">AbstractContentAssistVisitor.CollectionExpressionHelper</a><<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>expression</code> - The <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> for which its maximum number of children</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The maximum number of children the expression can have</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="preExpressionLength(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>preExpressionLength</h4> |
| <pre class="methodSignature">public int preExpressionLength​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression)</pre> |
| <div class="block">Returns the length of anything that can be defined before the first child. An example can |
| be "<code>DISTINCT </code>" in "<code>AVG(DISTINCT e.name)</code>".</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html#preExpressionLength(T)">preExpressionLength</a></code> in interface <code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html" title="interface in org.eclipse.persistence.jpa.jpql.tools">AbstractContentAssistVisitor.CollectionExpressionHelper</a><<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>expression</code> - The <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> being visited</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The length of anything that was parsed before the first child or 0 if nothing was parsed</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="queryBNF(org.eclipse.persistence.jpa.jpql.parser.ConcatExpression,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>queryBNF</h4> |
| <pre class="methodSignature">public <a href="../parser/JPQLQueryBNF.html" title="class in org.eclipse.persistence.jpa.jpql.parser">JPQLQueryBNF</a> queryBNF​(<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a> expression, |
| int index)</pre> |
| <div class="block">Returns the <a href="../parser/JPQLQueryBNF.html" title="class in org.eclipse.persistence.jpa.jpql.parser"><code>JPQLQueryBNF</code></a> that defines the fragment at the given position.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html#queryBNF(T,int)">queryBNF</a></code> in interface <code><a href="AbstractContentAssistVisitor.CollectionExpressionHelper.html" title="interface in org.eclipse.persistence.jpa.jpql.tools">AbstractContentAssistVisitor.CollectionExpressionHelper</a><<a href="../parser/ConcatExpression.html" title="class in org.eclipse.persistence.jpa.jpql.parser">ConcatExpression</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>expression</code> - The <a href="../parser/Expression.html" title="interface in org.eclipse.persistence.jpa.jpql.parser"><code>Expression</code></a> being visited</dd> |
| <dd><code>index</code> - The position of the element to retrieve the BNF defined in the JPQL grammar</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The <a href="../parser/JPQLQueryBNF.html" title="class in org.eclipse.persistence.jpa.jpql.parser"><code>JPQLQueryBNF</code></a> that defines the fragment at the given position</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../index.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.0, API Reference</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses.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> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2017–2020 <a href="http://www.eclipse.org/eclipselink">Eclipse.org - EclipseLink Project</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |