| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.2) on Wed Apr 22 10:19:16 CDT 2020 --> |
| <title>ListChangeEvent (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="ListChangeEvent (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}; |
| 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><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </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.model</a></div> |
| <h2 title="Class ListChangeEvent" class="title">Class ListChangeEvent<T></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.model.ListChangeEvent<T></li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="IListChangeEvent.html" title="interface in org.eclipse.persistence.jpa.jpql.tools.model">IListChangeEvent</a><T></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">ListChangeEvent<T></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="IListChangeEvent.html" title="interface in org.eclipse.persistence.jpa.jpql.tools.model">IListChangeEvent</a><T></pre> |
| <div class="block">The default implementation of <a href="IListChangeListener.html" title="interface in org.eclipse.persistence.jpa.jpql.tools.model"><code>IListChangeListener</code></a> where the generics is the type of the |
| items.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Version:</span></dt> |
| <dd>2.4</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"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.persistence.jpa.jpql.tools.model.IListChangeEvent"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.persistence.jpa.jpql.tools.model.<a href="IListChangeEvent.html" title="interface in org.eclipse.persistence.jpa.jpql.tools.model">IListChangeEvent</a></h3> |
| <code><a href="IListChangeEvent.EventType.html" title="enum in org.eclipse.persistence.jpa.jpql.tools.model">IListChangeEvent.EventType</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== 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">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.persistence.jpa.jpql.tools.model.query.StateObject,java.util.List,org.eclipse.persistence.jpa.jpql.tools.model.IListChangeEvent.EventType,java.lang.String,java.util.List,int,int)">ListChangeEvent</a></span>​(<a href="query/StateObject.html" title="interface in org.eclipse.persistence.jpa.jpql.tools.model.query">StateObject</a> source, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><? extends <a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>> list, |
| <a href="IListChangeEvent.EventType.html" title="enum in org.eclipse.persistence.jpa.jpql.tools.model">IListChangeEvent.EventType</a> eventType, |
| <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> listName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><? extends <a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>> items, |
| int startIndex, |
| int endIndex)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a new <code>ListChangeEvent</code>.</div> |
| </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>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEndIndex()">getEndIndex</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the index of where the change occurred in the list.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="IListChangeEvent.EventType.html" title="enum in org.eclipse.persistence.jpa.jpql.tools.model">IListChangeEvent.EventType</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEventType()">getEventType</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the type of change that occurred in the list.</div> |
| </td> |
| </tr> |
| <tr id="i2" 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" class="externalLink">List</a><<a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getList()">getList</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a copy of the actual list after the change has happened.</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" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getListName()">getListName</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the name describing the list.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><S extends <a href="query/ListHolderStateObject.html" title="interface in org.eclipse.persistence.jpa.jpql.tools.model.query">ListHolderStateObject</a><? extends <a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>>><br>S</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSource()">getSource</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the source where the modification occurred and that fired the event.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStartIndex()">getStartIndex</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the index of where the change occurred in the list.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="../../utility/iterable/ListIterable.html" title="interface in org.eclipse.persistence.jpa.jpql.utility.iterable">ListIterable</a><<a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#items()">items</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the list of items that have caused the original list to change.</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="#itemsSize()">itemsSize</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the number of items that caused the original list to change.</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.model.query.StateObject,java.util.List,org.eclipse.persistence.jpa.jpql.tools.model.IListChangeEvent.EventType,java.lang.String,java.util.List,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ListChangeEvent</h4> |
| <pre>public ListChangeEvent​(<a href="query/StateObject.html" title="interface in org.eclipse.persistence.jpa.jpql.tools.model.query">StateObject</a> source, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><? extends <a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>> list, |
| <a href="IListChangeEvent.EventType.html" title="enum in org.eclipse.persistence.jpa.jpql.tools.model">IListChangeEvent.EventType</a> eventType, |
| <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> listName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><? extends <a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>> items, |
| int startIndex, |
| int endIndex)</pre> |
| <div class="block">Creates a new <code>ListChangeEvent</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>source</code> - The source where the modification occurred and that fired the event</dd> |
| </dl> |
| </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="getEndIndex()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEndIndex</h4> |
| <pre class="methodSignature">public int getEndIndex()</pre> |
| <div class="block">Returns the index of where the change occurred in the list.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IListChangeEvent.html#getEndIndex()">getEndIndex</a></code> in interface <code><a href="IListChangeEvent.html" title="interface in org.eclipse.persistence.jpa.jpql.tools.model">IListChangeEvent</a><<a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The index of where the change occurred in the list</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getEventType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEventType</h4> |
| <pre class="methodSignature">public <a href="IListChangeEvent.EventType.html" title="enum in org.eclipse.persistence.jpa.jpql.tools.model">IListChangeEvent.EventType</a> getEventType()</pre> |
| <div class="block">Returns the type of change that occurred in the list.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IListChangeEvent.html#getEventType()">getEventType</a></code> in interface <code><a href="IListChangeEvent.html" title="interface in org.eclipse.persistence.jpa.jpql.tools.model">IListChangeEvent</a><<a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>One of the possible <a href="IListChangeEvent.EventType.html" title="enum in org.eclipse.persistence.jpa.jpql.tools.model"><code>types</code></a> of changes</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getList()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getList</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>> getList()</pre> |
| <div class="block">Returns a copy of the actual list after the change has happened.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IListChangeEvent.html#getList()">getList</a></code> in interface <code><a href="IListChangeEvent.html" title="interface in org.eclipse.persistence.jpa.jpql.tools.model">IListChangeEvent</a><<a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The copy of the list that got changed</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getListName()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getListName</h4> |
| <pre class="methodSignature">public <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> getListName()</pre> |
| <div class="block">Returns the name describing the list.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IListChangeEvent.html#getListName()">getListName</a></code> in interface <code><a href="IListChangeEvent.html" title="interface in org.eclipse.persistence.jpa.jpql.tools.model">IListChangeEvent</a><<a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The name of the list for which <a href="IListChangeListener.html" title="interface in org.eclipse.persistence.jpa.jpql.tools.model"><code>IListChangeListeners</code></a> have |
| been registered with the source to be notified upon changes</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getSource()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSource</h4> |
| <pre class="methodSignature">public <S extends <a href="query/ListHolderStateObject.html" title="interface in org.eclipse.persistence.jpa.jpql.tools.model.query">ListHolderStateObject</a><? extends <a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>>> S getSource()</pre> |
| <div class="block">Returns the source where the modification occurred and that fired the event.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IListChangeEvent.html#getSource()">getSource</a></code> in interface <code><a href="IListChangeEvent.html" title="interface in org.eclipse.persistence.jpa.jpql.tools.model">IListChangeEvent</a><<a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>></code></dd> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>S</code> - The type of the source owning the list</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The source of the event</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getStartIndex()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStartIndex</h4> |
| <pre class="methodSignature">public int getStartIndex()</pre> |
| <div class="block">Returns the index of where the change occurred in the list.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IListChangeEvent.html#getStartIndex()">getStartIndex</a></code> in interface <code><a href="IListChangeEvent.html" title="interface in org.eclipse.persistence.jpa.jpql.tools.model">IListChangeEvent</a><<a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The index of where the change occurred in the list</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="items()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>items</h4> |
| <pre class="methodSignature">public <a href="../../utility/iterable/ListIterable.html" title="interface in org.eclipse.persistence.jpa.jpql.utility.iterable">ListIterable</a><<a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>> items()</pre> |
| <div class="block">Returns the list of items that have caused the original list to change. Depending on the even |
| type: |
| <ul> |
| <li>items that have been added (<a href="IListChangeEvent.EventType.html#ADDED"><code>IListChangeEvent.EventType.ADDED</code></a>); |
| <li>items that have been removed (<a href="IListChangeEvent.EventType.html#REMOVED"><code>IListChangeEvent.EventType.REMOVED</code></a>); |
| <li>items that have been moved up (<a href="IListChangeEvent.EventType.html#MOVED_UP"><code>IListChangeEvent.EventType.MOVED_UP</code></a>); |
| <li>items that have been down (<a href="IListChangeEvent.EventType.html#MOVED_DOWN"><code>IListChangeEvent.EventType.MOVED_DOWN</code></a>); |
| <li>a single item that has been replaced (<a href="IListChangeEvent.EventType.html#REPLACED"><code>IListChangeEvent.EventType.REPLACED</code></a>); |
| <li>the items that were in the list before it got totally changed (<a href="IListChangeEvent.EventType.html#CHANGED"><code>IListChangeEvent.EventType.CHANGED</code></a>). |
| </ul></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IListChangeEvent.html#items()">items</a></code> in interface <code><a href="IListChangeEvent.html" title="interface in org.eclipse.persistence.jpa.jpql.tools.model">IListChangeEvent</a><<a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The list of items associated with the <a href="IListChangeEvent.EventType.html" title="enum in org.eclipse.persistence.jpa.jpql.tools.model"><code>IListChangeEvent.EventType</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="itemsSize()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>itemsSize</h4> |
| <pre class="methodSignature">public int itemsSize()</pre> |
| <div class="block">Returns the number of items that caused the original list to change.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IListChangeEvent.html#itemsSize()">itemsSize</a></code> in interface <code><a href="IListChangeEvent.html" title="interface in org.eclipse.persistence.jpa.jpql.tools.model">IListChangeEvent</a><<a href="ListChangeEvent.html" title="type parameter in ListChangeEvent">T</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The count of items triggering this event</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><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </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> |