blob: 20de297483dc082a706b0c66b14eab9b13fb0275 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.10) on Mon Dec 05 10:27:04 MSK 2022 -->
<title>ToManyList (cayenne-doc: Cayenne Documentation 4.2.RC2 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-12-05">
<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.5.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="ToManyList (cayenne-doc: Cayenne Documentation 4.2.RC2 API)";
}
}
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 = false;
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="class-use/ToManyList.html">Use</a></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"><a href="http://cayenne.apache.org" target="top">Apache Cayenne</a></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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">&nbsp;</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>&nbsp;<a href="package-summary.html">org.apache.cayenne.access</a></div>
<h2 title="Class ToManyList" class="title">Class ToManyList&lt;E&gt;</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><a href="../util/RelationshipFault.html" title="class in org.apache.cayenne.util">org.apache.cayenne.util.RelationshipFault</a>&lt;E&gt;</li>
<li>
<ul class="inheritance">
<li><a href="../util/PersistentObjectList.html" title="class in org.apache.cayenne.util">org.apache.cayenne.util.PersistentObjectList</a>&lt;E&gt;</li>
<li>
<ul class="inheritance">
<li>org.apache.cayenne.access.ToManyList&lt;E&gt;</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;E&gt;</code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;E&gt;</code>, <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>&lt;E&gt;</code>, <code><a href="../util/PersistentObjectCollection.html" title="interface in org.apache.cayenne.util">PersistentObjectCollection</a>&lt;E&gt;</code>, <code><a href="../ValueHolder.html" title="interface in org.apache.cayenne">ValueHolder</a>&lt;<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>&lt;E&gt;&gt;</code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">ToManyList&lt;E&gt;</span>
extends <a href="../util/PersistentObjectList.html" title="class in org.apache.cayenne.util">PersistentObjectList</a>&lt;E&gt;
implements <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></pre>
<div class="block">A list that holds objects for to-many relationships. All operations, except for
resolving the list from DB, are not synchronized. The safest way to implement custom
synchronization is to synchronize on parent ObjectStore.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../serialized-form.html#org.apache.cayenne.access.ToManyList">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.cayenne.util.PersistentObjectList">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.cayenne.util.<a href="../util/PersistentObjectList.html" title="class in org.apache.cayenne.util">PersistentObjectList</a></h3>
<code><a href="../util/PersistentObjectList.html#addedToUnresolved">addedToUnresolved</a>, <a href="../util/PersistentObjectList.html#objectList">objectList</a>, <a href="../util/PersistentObjectList.html#removedFromUnresolved">removedFromUnresolved</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.cayenne.util.RelationshipFault">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.cayenne.util.<a href="../util/RelationshipFault.html" title="class in org.apache.cayenne.util">RelationshipFault</a></h3>
<code><a href="../util/RelationshipFault.html#relationshipName">relationshipName</a>, <a href="../util/RelationshipFault.html#relationshipOwner">relationshipOwner</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">&nbsp;</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.apache.cayenne.Persistent,java.lang.String)">ToManyList</a></span>&#8203;(<a href="../Persistent.html" title="interface in org.apache.cayenne">Persistent</a>&nbsp;source,
<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>&nbsp;relationship)</code></th>
<td class="colLast">
<div class="block">Creates ToManyList.</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">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</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="#hashCode()">hashCode</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#postprocessAdd(E)">postprocessAdd</a></span>&#8203;(<a href="ToManyList.html" title="type parameter in ToManyList">E</a>&nbsp;addedObject)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#postprocessAdd(java.util.Collection)">postprocessAdd</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;? extends <a href="ToManyList.html" title="type parameter in ToManyList">E</a>&gt;&nbsp;collection)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#postprocessRemove(E)">postprocessRemove</a></span>&#8203;(<a href="ToManyList.html" title="type parameter in ToManyList">E</a>&nbsp;removedObject)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#postprocessRemove(java.util.Collection)">postprocessRemove</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;? extends <a href="ToManyList.html" title="type parameter in ToManyList">E</a>&gt;&nbsp;collection)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#shouldAddToRemovedFromUnresolvedList(java.lang.Object)">shouldAddToRemovedFromUnresolvedList</a></span>&#8203;(<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>&nbsp;object)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<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="#toString()">toString</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateReverse(java.util.List)">updateReverse</a></span>&#8203;(<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>&lt;<a href="ToManyList.html" title="type parameter in ToManyList">E</a>&gt;&nbsp;resolved)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.cayenne.util.PersistentObjectList">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.cayenne.util.<a href="../util/PersistentObjectList.html" title="class in org.apache.cayenne.util">PersistentObjectList</a></h3>
<code><a href="../util/PersistentObjectList.html#add(int,E)">add</a>, <a href="../util/PersistentObjectList.html#add(E)">add</a>, <a href="../util/PersistentObjectList.html#addAll(int,java.util.Collection)">addAll</a>, <a href="../util/PersistentObjectList.html#addAll(java.util.Collection)">addAll</a>, <a href="../util/PersistentObjectList.html#addDirectly(E)">addDirectly</a>, <a href="../util/PersistentObjectList.html#addLocal(E)">addLocal</a>, <a href="../util/PersistentObjectList.html#clear()">clear</a>, <a href="../util/PersistentObjectList.html#clearLocalChanges()">clearLocalChanges</a>, <a href="../util/PersistentObjectList.html#contains(java.lang.Object)">contains</a>, <a href="../util/PersistentObjectList.html#containsAll(java.util.Collection)">containsAll</a>, <a href="../util/PersistentObjectList.html#equals(java.lang.Object)">equals</a>, <a href="../util/PersistentObjectList.html#get(int)">get</a>, <a href="../util/PersistentObjectList.html#getValue()">getValue</a>, <a href="../util/PersistentObjectList.html#getValueDirectly()">getValueDirectly</a>, <a href="../util/PersistentObjectList.html#indexOf(java.lang.Object)">indexOf</a>, <a href="../util/PersistentObjectList.html#invalidate()">invalidate</a>, <a href="../util/PersistentObjectList.html#isEmpty()">isEmpty</a>, <a href="../util/PersistentObjectList.html#isFault()">isFault</a>, <a href="../util/PersistentObjectList.html#iterator()">iterator</a>, <a href="../util/PersistentObjectList.html#lastIndexOf(java.lang.Object)">lastIndexOf</a>, <a href="../util/PersistentObjectList.html#listIterator()">listIterator</a>, <a href="../util/PersistentObjectList.html#listIterator(int)">listIterator</a>, <a href="../util/PersistentObjectList.html#mergeLocalChanges(java.util.List)">mergeLocalChanges</a>, <a href="../util/PersistentObjectList.html#remove(int)">remove</a>, <a href="../util/PersistentObjectList.html#remove(java.lang.Object)">remove</a>, <a href="../util/PersistentObjectList.html#removeAll(java.util.Collection)">removeAll</a>, <a href="../util/PersistentObjectList.html#removeDirectly(E)">removeDirectly</a>, <a href="../util/PersistentObjectList.html#removeLocal(E)">removeLocal</a>, <a href="../util/PersistentObjectList.html#resolvedObjectList()">resolvedObjectList</a>, <a href="../util/PersistentObjectList.html#retainAll(java.util.Collection)">retainAll</a>, <a href="../util/PersistentObjectList.html#set(int,E)">set</a>, <a href="../util/PersistentObjectList.html#setObjectList(java.util.List)">setObjectList</a>, <a href="../util/PersistentObjectList.html#setValue(java.util.List)">setValue</a>, <a href="../util/PersistentObjectList.html#setValueDirectly(java.util.List)">setValueDirectly</a>, <a href="../util/PersistentObjectList.html#size()">size</a>, <a href="../util/PersistentObjectList.html#subList(int,int)">subList</a>, <a href="../util/PersistentObjectList.html#toArray()">toArray</a>, <a href="../util/PersistentObjectList.html#toArray(T%5B%5D)">toArray</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.cayenne.util.RelationshipFault">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.cayenne.util.<a href="../util/RelationshipFault.html" title="class in org.apache.cayenne.util">RelationshipFault</a></h3>
<code><a href="../util/RelationshipFault.html#getRelationshipName()">getRelationshipName</a>, <a href="../util/RelationshipFault.html#getRelationshipOwner()">getRelationshipOwner</a>, <a href="../util/RelationshipFault.html#isTransientParent()">isTransientParent</a>, <a href="../util/RelationshipFault.html#isUncommittedParent()">isUncommittedParent</a>, <a href="../util/RelationshipFault.html#resolveFromDB()">resolveFromDB</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;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#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#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#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>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.util.Collection">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#parallelStream()" title="class or interface in java.util" class="externalLink">parallelStream</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#removeIf(java.util.function.Predicate)" title="class or interface in java.util" class="externalLink">removeIf</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#stream()" title="class or interface in java.util" class="externalLink">stream</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#toArray(java.util.function.IntFunction)" title="class or interface in java.util" class="externalLink">toArray</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Iterable">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach(java.util.function.Consumer)" title="class or interface in java.lang" class="externalLink">forEach</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.util.List">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;java.util.<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></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#replaceAll(java.util.function.UnaryOperator)" title="class or interface in java.util" class="externalLink">replaceAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#sort(java.util.Comparator)" title="class or interface in java.util" class="externalLink">sort</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#spliterator()" title="class or interface in java.util" class="externalLink">spliterator</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="&lt;init&gt;(org.apache.cayenne.Persistent,java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ToManyList</h4>
<pre>public&nbsp;ToManyList&#8203;(<a href="../Persistent.html" title="interface in org.apache.cayenne">Persistent</a>&nbsp;source,
<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>&nbsp;relationship)</pre>
<div class="block">Creates ToManyList.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1</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="hashCode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#hashCode()" title="class or interface in java.util" class="externalLink">hashCode</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="ToManyList.html" title="type parameter in ToManyList">E</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#hashCode()" title="class or interface in java.util" class="externalLink">hashCode</a></code>&nbsp;in interface&nbsp;<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>&lt;<a href="ToManyList.html" title="type parameter in ToManyList">E</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../util/PersistentObjectList.html#hashCode()">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="../util/PersistentObjectList.html" title="class in org.apache.cayenne.util">PersistentObjectList</a>&lt;<a href="ToManyList.html" title="type parameter in ToManyList">E</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a id="shouldAddToRemovedFromUnresolvedList(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldAddToRemovedFromUnresolvedList</h4>
<pre class="methodSignature">protected&nbsp;boolean&nbsp;shouldAddToRemovedFromUnresolvedList&#8203;(<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>&nbsp;object)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../util/PersistentObjectList.html#shouldAddToRemovedFromUnresolvedList(E)">shouldAddToRemovedFromUnresolvedList</a></code>&nbsp;in class&nbsp;<code><a href="../util/PersistentObjectList.html" title="class in org.apache.cayenne.util">PersistentObjectList</a>&lt;<a href="ToManyList.html" title="type parameter in ToManyList">E</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>whether object should be added to <a href="../util/PersistentObjectList.html#removedFromUnresolved"><code>PersistentObjectList.removedFromUnresolved</code></a> during
removal</dd>
</dl>
</li>
</ul>
<a id="toString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre class="methodSignature">public&nbsp;<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>&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../util/PersistentObjectList.html#toString()">toString</a></code>&nbsp;in class&nbsp;<code><a href="../util/PersistentObjectList.html" title="class in org.apache.cayenne.util">PersistentObjectList</a>&lt;<a href="ToManyList.html" title="type parameter in ToManyList">E</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a id="postprocessAdd(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>postprocessAdd</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;postprocessAdd&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;? extends <a href="ToManyList.html" title="type parameter in ToManyList">E</a>&gt;&nbsp;collection)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../util/PersistentObjectList.html#postprocessAdd(java.util.Collection)">postprocessAdd</a></code>&nbsp;in class&nbsp;<code><a href="../util/PersistentObjectList.html" title="class in org.apache.cayenne.util">PersistentObjectList</a>&lt;<a href="ToManyList.html" title="type parameter in ToManyList">E</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a id="postprocessRemove(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>postprocessRemove</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;postprocessRemove&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;? extends <a href="ToManyList.html" title="type parameter in ToManyList">E</a>&gt;&nbsp;collection)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../util/PersistentObjectList.html#postprocessRemove(java.util.Collection)">postprocessRemove</a></code>&nbsp;in class&nbsp;<code><a href="../util/PersistentObjectList.html" title="class in org.apache.cayenne.util">PersistentObjectList</a>&lt;<a href="ToManyList.html" title="type parameter in ToManyList">E</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a id="postprocessAdd(java.lang.Object)">
<!-- -->
</a><a id="postprocessAdd(E)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>postprocessAdd</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;postprocessAdd&#8203;(<a href="ToManyList.html" title="type parameter in ToManyList">E</a>&nbsp;addedObject)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../util/PersistentObjectList.html#postprocessAdd(E)">postprocessAdd</a></code>&nbsp;in class&nbsp;<code><a href="../util/PersistentObjectList.html" title="class in org.apache.cayenne.util">PersistentObjectList</a>&lt;<a href="ToManyList.html" title="type parameter in ToManyList">E</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a id="postprocessRemove(java.lang.Object)">
<!-- -->
</a><a id="postprocessRemove(E)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>postprocessRemove</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;postprocessRemove&#8203;(<a href="ToManyList.html" title="type parameter in ToManyList">E</a>&nbsp;removedObject)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../util/PersistentObjectList.html#postprocessRemove(E)">postprocessRemove</a></code>&nbsp;in class&nbsp;<code><a href="../util/PersistentObjectList.html" title="class in org.apache.cayenne.util">PersistentObjectList</a>&lt;<a href="ToManyList.html" title="type parameter in ToManyList">E</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a id="updateReverse(java.util.List)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>updateReverse</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;updateReverse&#8203;(<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>&lt;<a href="ToManyList.html" title="type parameter in ToManyList">E</a>&gt;&nbsp;resolved)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../util/RelationshipFault.html#updateReverse(java.util.List)">updateReverse</a></code>&nbsp;in class&nbsp;<code><a href="../util/RelationshipFault.html" title="class in org.apache.cayenne.util">RelationshipFault</a>&lt;<a href="ToManyList.html" title="type parameter in ToManyList">E</a>&gt;</code></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="class-use/ToManyList.html">Use</a></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"><a href="http://cayenne.apache.org" target="top">Apache Cayenne</a></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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 &#169; 2001&#x2013;2022 <a href="https://cayenne.apache.org/">Apache Cayenne</a>. All rights reserved.</small></p>
</footer>
</body>
</html>