blob: aace6aa6e50fcbd00aed0a91666f18f516630364 [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>EntityResolver (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="EntityResolver (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,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":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/EntityResolver.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><a href="#field.detail">Field</a>&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.map</a></div>
<h2 title="Class EntityResolver" class="title">Class EntityResolver</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.apache.cayenne.map.EntityResolver</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="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">EntityResolver</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="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a>, <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">Represents a virtual shared namespace for zero or more DataMaps. Unlike
DataMap, EntityResolver is intended to work as a runtime container of
mapping. DataMaps can be added or removed dynamically at runtime.
<p>
EntityResolver is thread-safe.
</p></div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../serialized-form.html#org.apache.cayenne.map.EntityResolver">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>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../reflect/LifecycleCallbackRegistry.html" title="class in org.apache.cayenne.reflect">LifecycleCallbackRegistry</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#callbackRegistry">callbackRegistry</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../reflect/ClassDescriptorMap.html" title="class in org.apache.cayenne.reflect">ClassDescriptorMap</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#classDescriptorMap">classDescriptorMap</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="EntityResolver.html" title="class in org.apache.cayenne.map">EntityResolver</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clientEntityResolver">clientEntityResolver</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="EntitySorter.html" title="interface in org.apache.cayenne.map">EntitySorter</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#entitySorter">entitySorter</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic" class="externalLink">AtomicLong</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#incrementer">incrementer</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;<a href="LifecycleEvent.html" title="enum in org.apache.cayenne.map">LifecycleEvent</a>,&#8203;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation" class="externalLink">Annotation</a>&gt;&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LIFECYCLE_EVENT_MAP">LIFECYCLE_EVENT_MAP</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static org.slf4j.Logger</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#logger">logger</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#mappingCache">mappingCache</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <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="DataMap.html" title="class in org.apache.cayenne.map">DataMap</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#maps">maps</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../reflect/generic/ValueComparisonStrategyFactory.html" title="interface in org.apache.cayenne.reflect.generic">ValueComparisonStrategyFactory</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#valueComparisonStrategyFactory">valueComparisonStrategyFactory</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../access/types/ValueObjectTypeRegistry.html" title="interface in org.apache.cayenne.access.types">ValueObjectTypeRegistry</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#valueObjectTypeRegistry">valueObjectTypeRegistry</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</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()">EntityResolver</a></span>()</code></th>
<td class="colLast">
<div class="block">Creates new empty EntityResolver.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.util.Collection)">EntityResolver</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;<a href="DataMap.html" title="class in org.apache.cayenne.map">DataMap</a>&gt;&nbsp;dataMaps)</code></th>
<td class="colLast">
<div class="block">Creates new EntityResolver that indexes a collection of DataMaps.</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>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addDataMap(org.apache.cayenne.map.DataMap)">addDataMap</a></span>&#8203;(<a href="DataMap.html" title="class in org.apache.cayenne.map">DataMap</a>&nbsp;map)</code></th>
<td class="colLast">&nbsp;</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="#applyDBLayerDefaults()">applyDBLayerDefaults</a></span>()</code></th>
<td class="colLast">
<div class="block">Updates missing mapping artifacts that can be guessed from other mapping
information.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../reflect/LifecycleCallbackRegistry.html" title="class in org.apache.cayenne.reflect">LifecycleCallbackRegistry</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCallbackRegistry()">getCallbackRegistry</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a <a href="../reflect/LifecycleCallbackRegistry.html" title="class in org.apache.cayenne.reflect"><code>LifecycleCallbackRegistry</code></a> for handling callbacks.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../reflect/ClassDescriptor.html" title="interface in org.apache.cayenne.reflect">ClassDescriptor</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getClassDescriptor(java.lang.String)">getClassDescriptor</a></span>&#8203;(<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;entityName)</code></th>
<td class="colLast">
<div class="block">Returns ClassDescriptor for the ObjEntity matching the name.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../reflect/ClassDescriptorMap.html" title="class in org.apache.cayenne.reflect">ClassDescriptorMap</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getClassDescriptorMap()">getClassDescriptorMap</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an object that compiles and stores <a href="../reflect/ClassDescriptor.html" title="interface in org.apache.cayenne.reflect"><code>ClassDescriptor</code></a>
instances for all entities.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="EntityResolver.html" title="class in org.apache.cayenne.map">EntityResolver</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getClientEntityResolver()">getClientEntityResolver</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns ClientEntityResolver with mapping information that only includes
entities available on CWS Client Tier.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="DataMap.html" title="class in org.apache.cayenne.map">DataMap</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDataMap(java.lang.String)">getDataMap</a></span>&#8203;(<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;mapName)</code></th>
<td class="colLast">
<div class="block">Returns a DataMap matching the name.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><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="DataMap.html" title="class in org.apache.cayenne.map">DataMap</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDataMaps()">getDataMaps</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an unmodifiable collection of DataMaps.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><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="DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDbEntities()">getDbEntities</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns all DbEntities.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDbEntity(java.lang.String)">getDbEntity</a></span>&#8203;(<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;name)</code></th>
<td class="colLast">
<div class="block">Returns DbEntity for a given name, or null if no such DbEntity is found
in the MappingNamespace.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="Embeddable.html" title="class in org.apache.cayenne.map">Embeddable</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEmbeddable(java.lang.String)">getEmbeddable</a></span>&#8203;(<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;className)</code></th>
<td class="colLast">
<div class="block">Returns an <a href="Embeddable.html" title="class in org.apache.cayenne.map"><code>Embeddable</code></a> matching class name or null if such
Embeddable is not mapped.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><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="Embeddable.html" title="class in org.apache.cayenne.map">Embeddable</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEmbeddables()">getEmbeddables</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="EntitySorter.html" title="interface in org.apache.cayenne.map">EntitySorter</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEntitySorter()">getEntitySorter</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="EntityInheritanceTree.html" title="class in org.apache.cayenne.map">EntityInheritanceTree</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInheritanceTree(java.lang.String)">getInheritanceTree</a></span>&#8203;(<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;entityName)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><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="ObjEntity.html" title="class in org.apache.cayenne.map">ObjEntity</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getObjEntities()">getObjEntities</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns all ObjEntities in the namespace.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="ObjEntity.html" title="class in org.apache.cayenne.map">ObjEntity</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getObjEntity(java.lang.Class)">getObjEntity</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;?&gt;&nbsp;entityClass)</code></th>
<td class="colLast">
<div class="block">Looks in the DataMap's that this object was created with for the
ObjEntity that maps to the services the specified class</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="ObjEntity.html" title="class in org.apache.cayenne.map">ObjEntity</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getObjEntity(java.lang.Class,boolean)">getObjEntity</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;?&gt;&nbsp;entityClass,
boolean&nbsp;lookupClientResolver)</code></th>
<td class="colLast">
<div class="block">
Looks in the DataMap's that this object was created with for the
ObjEntity that maps to the services the specified class, with option to
fallback to search by name with client resolver in case entity not found.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="ObjEntity.html" title="class in org.apache.cayenne.map">ObjEntity</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getObjEntity(java.lang.String)">getObjEntity</a></span>&#8203;(<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;name)</code></th>
<td class="colLast">
<div class="block">Returns ObjEntity for a given name, or null if no such ObjEntity is found
in the MappingNamespace.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="ObjEntity.html" title="class in org.apache.cayenne.map">ObjEntity</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getObjEntity(org.apache.cayenne.Persistent)">getObjEntity</a></span>&#8203;(<a href="../Persistent.html" title="interface in org.apache.cayenne">Persistent</a>&nbsp;object)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="Procedure.html" title="class in org.apache.cayenne.map">Procedure</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getProcedure(java.lang.String)">getProcedure</a></span>&#8203;(<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;procedureName)</code></th>
<td class="colLast">
<div class="block">Returns Procedure for a given name, or null if no such Procedure is found
in the MappingNamespace.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><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="Procedure.html" title="class in org.apache.cayenne.map">Procedure</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getProcedures()">getProcedures</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns all Procedures in the namespace.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="QueryDescriptor.html" title="class in org.apache.cayenne.map">QueryDescriptor</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getQueryDescriptor(java.lang.String)">getQueryDescriptor</a></span>&#8203;(<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;name)</code></th>
<td class="colLast">
<div class="block">Returns a named query or null if no query exists for a given name.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><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="QueryDescriptor.html" title="class in org.apache.cayenne.map">QueryDescriptor</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getQueryDescriptors()">getQueryDescriptors</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns all Queries in the namespace.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="SQLResult.html" title="class in org.apache.cayenne.map">SQLResult</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getResult(java.lang.String)">getResult</a></span>&#8203;(<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;name)</code></th>
<td class="colLast">
<div class="block">Returns a named result set mapping.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><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="SQLResult.html" title="class in org.apache.cayenne.map">SQLResult</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getResults()">getResults</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="../access/types/ValueObjectTypeRegistry.html" title="interface in org.apache.cayenne.access.types">ValueObjectTypeRegistry</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getValueObjectTypeRegistry()">getValueObjectTypeRegistry</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#refreshMappingCache()">refreshMappingCache</a></span>()</code></th>
<td class="colLast">
<div class="block">Refreshes entity cache to reflect the current state of the DataMaps in
the EntityResolver.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeDataMap(org.apache.cayenne.map.DataMap)">removeDataMap</a></span>&#8203;(<a href="DataMap.html" title="class in org.apache.cayenne.map">DataMap</a>&nbsp;map)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCallbackRegistry(org.apache.cayenne.reflect.LifecycleCallbackRegistry)">setCallbackRegistry</a></span>&#8203;(<a href="../reflect/LifecycleCallbackRegistry.html" title="class in org.apache.cayenne.reflect">LifecycleCallbackRegistry</a>&nbsp;callbackRegistry)</code></th>
<td class="colLast">
<div class="block">Sets a lifecycle callbacks registry of the EntityResolver.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDataMaps(java.util.Collection)">setDataMaps</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;<a href="DataMap.html" title="class in org.apache.cayenne.map">DataMap</a>&gt;&nbsp;maps)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setEntitySorter(org.apache.cayenne.map.EntitySorter)">setEntitySorter</a></span>&#8203;(<a href="EntitySorter.html" title="interface in org.apache.cayenne.map">EntitySorter</a>&nbsp;entitySorter)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setValueComparisionStrategyFactory(org.apache.cayenne.reflect.generic.ValueComparisonStrategyFactory)">setValueComparisionStrategyFactory</a></span>&#8203;(<a href="../reflect/generic/ValueComparisonStrategyFactory.html" title="interface in org.apache.cayenne.reflect.generic">ValueComparisonStrategyFactory</a>&nbsp;valueComparisonStrategyFactory)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setValueObjectTypeRegistry(org.apache.cayenne.access.types.ValueObjectTypeRegistry)">setValueObjectTypeRegistry</a></span>&#8203;(<a href="../access/types/ValueObjectTypeRegistry.html" title="interface in org.apache.cayenne.access.types">ValueObjectTypeRegistry</a>&nbsp;valueObjectTypeRegistry)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<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#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">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="logger">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logger</h4>
<pre>protected static final&nbsp;org.slf4j.Logger logger</pre>
</li>
</ul>
<a id="incrementer">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>incrementer</h4>
<pre>protected static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic" class="externalLink">AtomicLong</a> incrementer</pre>
</li>
</ul>
<a id="LIFECYCLE_EVENT_MAP">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LIFECYCLE_EVENT_MAP</h4>
<pre>protected static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;<a href="LifecycleEvent.html" title="enum in org.apache.cayenne.map">LifecycleEvent</a>,&#8203;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation" class="externalLink">Annotation</a>&gt;&gt; LIFECYCLE_EVENT_MAP</pre>
</li>
</ul>
<a id="maps">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maps</h4>
<pre>protected&nbsp;<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="DataMap.html" title="class in org.apache.cayenne.map">DataMap</a>&gt; maps</pre>
</li>
</ul>
<a id="mappingCache">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mappingCache</h4>
<pre>protected transient&nbsp;<a href="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a> mappingCache</pre>
</li>
</ul>
<a id="clientEntityResolver">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clientEntityResolver</h4>
<pre>protected&nbsp;<a href="EntityResolver.html" title="class in org.apache.cayenne.map">EntityResolver</a> clientEntityResolver</pre>
</li>
</ul>
<a id="classDescriptorMap">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>classDescriptorMap</h4>
<pre>protected transient volatile&nbsp;<a href="../reflect/ClassDescriptorMap.html" title="class in org.apache.cayenne.reflect">ClassDescriptorMap</a> classDescriptorMap</pre>
</li>
</ul>
<a id="callbackRegistry">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>callbackRegistry</h4>
<pre>protected transient&nbsp;<a href="../reflect/LifecycleCallbackRegistry.html" title="class in org.apache.cayenne.reflect">LifecycleCallbackRegistry</a> callbackRegistry</pre>
</li>
</ul>
<a id="valueObjectTypeRegistry">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueObjectTypeRegistry</h4>
<pre>protected transient&nbsp;<a href="../access/types/ValueObjectTypeRegistry.html" title="interface in org.apache.cayenne.access.types">ValueObjectTypeRegistry</a> valueObjectTypeRegistry</pre>
</li>
</ul>
<a id="valueComparisonStrategyFactory">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueComparisonStrategyFactory</h4>
<pre>protected transient&nbsp;<a href="../reflect/generic/ValueComparisonStrategyFactory.html" title="interface in org.apache.cayenne.reflect.generic">ValueComparisonStrategyFactory</a> valueComparisonStrategyFactory</pre>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.2</dd>
</dl>
</li>
</ul>
<a id="entitySorter">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>entitySorter</h4>
<pre>protected transient&nbsp;<a href="EntitySorter.html" title="interface in org.apache.cayenne.map">EntitySorter</a> entitySorter</pre>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.2</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= 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;()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EntityResolver</h4>
<pre>public&nbsp;EntityResolver()</pre>
<div class="block">Creates new empty EntityResolver.</div>
</li>
</ul>
<a id="&lt;init&gt;(java.util.Collection)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>EntityResolver</h4>
<pre>public&nbsp;EntityResolver&#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;<a href="DataMap.html" title="class in org.apache.cayenne.map">DataMap</a>&gt;&nbsp;dataMaps)</pre>
<div class="block">Creates new EntityResolver that indexes a collection of DataMaps.</div>
</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="applyDBLayerDefaults()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>applyDBLayerDefaults</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;applyDBLayerDefaults()</pre>
<div class="block">Updates missing mapping artifacts that can be guessed from other mapping
information. This implementation creates missing reverse relationships,
marking newly created relationships as "runtime".</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>3.0</dd>
</dl>
</li>
</ul>
<a id="getCallbackRegistry()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCallbackRegistry</h4>
<pre class="methodSignature">public&nbsp;<a href="../reflect/LifecycleCallbackRegistry.html" title="class in org.apache.cayenne.reflect">LifecycleCallbackRegistry</a>&nbsp;getCallbackRegistry()</pre>
<div class="block">Returns a <a href="../reflect/LifecycleCallbackRegistry.html" title="class in org.apache.cayenne.reflect"><code>LifecycleCallbackRegistry</code></a> for handling callbacks.
Registry is lazily initialized on first call.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>3.0</dd>
</dl>
</li>
</ul>
<a id="setCallbackRegistry(org.apache.cayenne.reflect.LifecycleCallbackRegistry)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCallbackRegistry</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setCallbackRegistry&#8203;(<a href="../reflect/LifecycleCallbackRegistry.html" title="class in org.apache.cayenne.reflect">LifecycleCallbackRegistry</a>&nbsp;callbackRegistry)</pre>
<div class="block">Sets a lifecycle callbacks registry of the EntityResolver. Users rarely
if ever need to call this method as Cayenne would instantiate a registry
itself as needed based on mapped configuration.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>3.0</dd>
</dl>
</li>
</ul>
<a id="getClientEntityResolver()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClientEntityResolver</h4>
<pre class="methodSignature">public&nbsp;<a href="EntityResolver.html" title="class in org.apache.cayenne.map">EntityResolver</a>&nbsp;getClientEntityResolver()</pre>
<div class="block">Returns ClientEntityResolver with mapping information that only includes
entities available on CWS Client Tier.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.2</dd>
</dl>
</li>
</ul>
<a id="getDbEntities()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDbEntities</h4>
<pre class="methodSignature">public&nbsp;<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="DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</a>&gt;&nbsp;getDbEntities()</pre>
<div class="block">Returns all DbEntities.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MappingNamespace.html#getDbEntities()">getDbEntities</a></code>&nbsp;in interface&nbsp;<code><a href="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a></code></dd>
</dl>
</li>
</ul>
<a id="getObjEntities()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObjEntities</h4>
<pre class="methodSignature">public&nbsp;<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="ObjEntity.html" title="class in org.apache.cayenne.map">ObjEntity</a>&gt;&nbsp;getObjEntities()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="MappingNamespace.html#getObjEntities()">MappingNamespace</a></code></span></div>
<div class="block">Returns all ObjEntities in the namespace.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MappingNamespace.html#getObjEntities()">getObjEntities</a></code>&nbsp;in interface&nbsp;<code><a href="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a></code></dd>
</dl>
</li>
</ul>
<a id="getEmbeddables()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEmbeddables</h4>
<pre class="methodSignature">public&nbsp;<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="Embeddable.html" title="class in org.apache.cayenne.map">Embeddable</a>&gt;&nbsp;getEmbeddables()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MappingNamespace.html#getEmbeddables()">getEmbeddables</a></code>&nbsp;in interface&nbsp;<code><a href="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>3.0</dd>
</dl>
</li>
</ul>
<a id="getResults()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResults</h4>
<pre class="methodSignature">public&nbsp;<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="SQLResult.html" title="class in org.apache.cayenne.map">SQLResult</a>&gt;&nbsp;getResults()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MappingNamespace.html#getResults()">getResults</a></code>&nbsp;in interface&nbsp;<code><a href="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.0</dd>
</dl>
</li>
</ul>
<a id="getProcedures()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProcedures</h4>
<pre class="methodSignature">public&nbsp;<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="Procedure.html" title="class in org.apache.cayenne.map">Procedure</a>&gt;&nbsp;getProcedures()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="MappingNamespace.html#getProcedures()">MappingNamespace</a></code></span></div>
<div class="block">Returns all Procedures in the namespace.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MappingNamespace.html#getProcedures()">getProcedures</a></code>&nbsp;in interface&nbsp;<code><a href="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a></code></dd>
</dl>
</li>
</ul>
<a id="getQueryDescriptors()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQueryDescriptors</h4>
<pre class="methodSignature">public&nbsp;<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="QueryDescriptor.html" title="class in org.apache.cayenne.map">QueryDescriptor</a>&gt;&nbsp;getQueryDescriptors()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="MappingNamespace.html#getQueryDescriptors()">MappingNamespace</a></code></span></div>
<div class="block">Returns all Queries in the namespace.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MappingNamespace.html#getQueryDescriptors()">getQueryDescriptors</a></code>&nbsp;in interface&nbsp;<code><a href="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a></code></dd>
</dl>
</li>
</ul>
<a id="getDbEntity(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDbEntity</h4>
<pre class="methodSignature">public&nbsp;<a href="DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</a>&nbsp;getDbEntity&#8203;(<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;name)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="MappingNamespace.html#getDbEntity(java.lang.String)">MappingNamespace</a></code></span></div>
<div class="block">Returns DbEntity for a given name, or null if no such DbEntity is found
in the MappingNamespace.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MappingNamespace.html#getDbEntity(java.lang.String)">getDbEntity</a></code>&nbsp;in interface&nbsp;<code><a href="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a></code></dd>
</dl>
</li>
</ul>
<a id="getObjEntity(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObjEntity</h4>
<pre class="methodSignature">public&nbsp;<a href="ObjEntity.html" title="class in org.apache.cayenne.map">ObjEntity</a>&nbsp;getObjEntity&#8203;(<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;name)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="MappingNamespace.html#getObjEntity(java.lang.String)">MappingNamespace</a></code></span></div>
<div class="block">Returns ObjEntity for a given name, or null if no such ObjEntity is found
in the MappingNamespace.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MappingNamespace.html#getObjEntity(java.lang.String)">getObjEntity</a></code>&nbsp;in interface&nbsp;<code><a href="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a></code></dd>
</dl>
</li>
</ul>
<a id="getProcedure(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProcedure</h4>
<pre class="methodSignature">public&nbsp;<a href="Procedure.html" title="class in org.apache.cayenne.map">Procedure</a>&nbsp;getProcedure&#8203;(<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;procedureName)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="MappingNamespace.html#getProcedure(java.lang.String)">MappingNamespace</a></code></span></div>
<div class="block">Returns Procedure for a given name, or null if no such Procedure is found
in the MappingNamespace.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MappingNamespace.html#getProcedure(java.lang.String)">getProcedure</a></code>&nbsp;in interface&nbsp;<code><a href="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a></code></dd>
</dl>
</li>
</ul>
<a id="getQueryDescriptor(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQueryDescriptor</h4>
<pre class="methodSignature">public&nbsp;<a href="QueryDescriptor.html" title="class in org.apache.cayenne.map">QueryDescriptor</a>&nbsp;getQueryDescriptor&#8203;(<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;name)</pre>
<div class="block">Returns a named query or null if no query exists for a given name.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MappingNamespace.html#getQueryDescriptor(java.lang.String)">getQueryDescriptor</a></code>&nbsp;in interface&nbsp;<code><a href="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a></code></dd>
</dl>
</li>
</ul>
<a id="getEmbeddable(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEmbeddable</h4>
<pre class="methodSignature">public&nbsp;<a href="Embeddable.html" title="class in org.apache.cayenne.map">Embeddable</a>&nbsp;getEmbeddable&#8203;(<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;className)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="MappingNamespace.html#getEmbeddable(java.lang.String)">MappingNamespace</a></code></span></div>
<div class="block">Returns an <a href="Embeddable.html" title="class in org.apache.cayenne.map"><code>Embeddable</code></a> matching class name or null if such
Embeddable is not mapped.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MappingNamespace.html#getEmbeddable(java.lang.String)">getEmbeddable</a></code>&nbsp;in interface&nbsp;<code><a href="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>3.0</dd>
</dl>
</li>
</ul>
<a id="getResult(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResult</h4>
<pre class="methodSignature">public&nbsp;<a href="SQLResult.html" title="class in org.apache.cayenne.map">SQLResult</a>&nbsp;getResult&#8203;(<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;name)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="MappingNamespace.html#getResult(java.lang.String)">MappingNamespace</a></code></span></div>
<div class="block">Returns a named result set mapping.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MappingNamespace.html#getResult(java.lang.String)">getResult</a></code>&nbsp;in interface&nbsp;<code><a href="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>3.0</dd>
</dl>
</li>
</ul>
<a id="getClassDescriptor(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClassDescriptor</h4>
<pre class="methodSignature">public&nbsp;<a href="../reflect/ClassDescriptor.html" title="interface in org.apache.cayenne.reflect">ClassDescriptor</a>&nbsp;getClassDescriptor&#8203;(<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;entityName)</pre>
<div class="block">Returns ClassDescriptor for the ObjEntity matching the name. Returns null
if no matching entity exists.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.2</dd>
</dl>
</li>
</ul>
<a id="addDataMap(org.apache.cayenne.map.DataMap)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addDataMap</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;addDataMap&#8203;(<a href="DataMap.html" title="class in org.apache.cayenne.map">DataMap</a>&nbsp;map)</pre>
</li>
</ul>
<a id="refreshMappingCache()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>refreshMappingCache</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;refreshMappingCache()</pre>
<div class="block">Refreshes entity cache to reflect the current state of the DataMaps in
the EntityResolver.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.0</dd>
</dl>
</li>
</ul>
<a id="getDataMap(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataMap</h4>
<pre class="methodSignature">public&nbsp;<a href="DataMap.html" title="class in org.apache.cayenne.map">DataMap</a>&nbsp;getDataMap&#8203;(<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;mapName)</pre>
<div class="block">Returns a DataMap matching the name.</div>
</li>
</ul>
<a id="setDataMaps(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDataMaps</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setDataMaps&#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;<a href="DataMap.html" title="class in org.apache.cayenne.map">DataMap</a>&gt;&nbsp;maps)</pre>
</li>
</ul>
<a id="getDataMaps()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataMaps</h4>
<pre class="methodSignature">public&nbsp;<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="DataMap.html" title="class in org.apache.cayenne.map">DataMap</a>&gt;&nbsp;getDataMaps()</pre>
<div class="block">Returns an unmodifiable collection of DataMaps.</div>
</li>
</ul>
<a id="getInheritanceTree(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInheritanceTree</h4>
<pre class="methodSignature">public&nbsp;<a href="EntityInheritanceTree.html" title="class in org.apache.cayenne.map">EntityInheritanceTree</a>&nbsp;getInheritanceTree&#8203;(<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;entityName)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MappingNamespace.html#getInheritanceTree(java.lang.String)">getInheritanceTree</a></code>&nbsp;in interface&nbsp;<code><a href="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.0</dd>
</dl>
</li>
</ul>
<a id="getObjEntity(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObjEntity</h4>
<pre class="methodSignature">public&nbsp;<a href="ObjEntity.html" title="class in org.apache.cayenne.map">ObjEntity</a>&nbsp;getObjEntity&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;?&gt;&nbsp;entityClass)</pre>
<div class="block">Looks in the DataMap's that this object was created with for the
ObjEntity that maps to the services the specified class</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MappingNamespace.html#getObjEntity(java.lang.Class)">getObjEntity</a></code>&nbsp;in interface&nbsp;<code><a href="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the required ObjEntity or null if there is none that matches the
specifier</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.0</dd>
</dl>
</li>
</ul>
<a id="getObjEntity(java.lang.Class,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObjEntity</h4>
<pre class="methodSignature">public&nbsp;<a href="ObjEntity.html" title="class in org.apache.cayenne.map">ObjEntity</a>&nbsp;getObjEntity&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;?&gt;&nbsp;entityClass,
boolean&nbsp;lookupClientResolver)</pre>
<div class="block"><p>
Looks in the DataMap's that this object was created with for the
ObjEntity that maps to the services the specified class, with option to
fallback to search by name with client resolver in case entity not found.
</p>
<p>
This method can be used where entity class can be received from client.
</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>entityClass</code> - entity class to search</dd>
<dd><code>lookupClientResolver</code> - flag to fallback to client resolver</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the required ObjEntity or null if there is none that matches the
specifier</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.0</dd>
</dl>
</li>
</ul>
<a id="getObjEntity(org.apache.cayenne.Persistent)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObjEntity</h4>
<pre class="methodSignature">public&nbsp;<a href="ObjEntity.html" title="class in org.apache.cayenne.map">ObjEntity</a>&nbsp;getObjEntity&#8203;(<a href="../Persistent.html" title="interface in org.apache.cayenne">Persistent</a>&nbsp;object)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MappingNamespace.html#getObjEntity(org.apache.cayenne.Persistent)">getObjEntity</a></code>&nbsp;in interface&nbsp;<code><a href="MappingNamespace.html" title="interface in org.apache.cayenne.map">MappingNamespace</a></code></dd>
</dl>
</li>
</ul>
<a id="removeDataMap(org.apache.cayenne.map.DataMap)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeDataMap</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;removeDataMap&#8203;(<a href="DataMap.html" title="class in org.apache.cayenne.map">DataMap</a>&nbsp;map)</pre>
</li>
</ul>
<a id="getClassDescriptorMap()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClassDescriptorMap</h4>
<pre class="methodSignature">public&nbsp;<a href="../reflect/ClassDescriptorMap.html" title="class in org.apache.cayenne.reflect">ClassDescriptorMap</a>&nbsp;getClassDescriptorMap()</pre>
<div class="block">Returns an object that compiles and stores <a href="../reflect/ClassDescriptor.html" title="interface in org.apache.cayenne.reflect"><code>ClassDescriptor</code></a>
instances for all entities.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>3.0</dd>
</dl>
</li>
</ul>
<a id="getValueObjectTypeRegistry()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValueObjectTypeRegistry</h4>
<pre class="methodSignature">public&nbsp;<a href="../access/types/ValueObjectTypeRegistry.html" title="interface in org.apache.cayenne.access.types">ValueObjectTypeRegistry</a>&nbsp;getValueObjectTypeRegistry()</pre>
</li>
</ul>
<a id="setValueObjectTypeRegistry(org.apache.cayenne.access.types.ValueObjectTypeRegistry)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValueObjectTypeRegistry</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setValueObjectTypeRegistry&#8203;(<a href="../access/types/ValueObjectTypeRegistry.html" title="interface in org.apache.cayenne.access.types">ValueObjectTypeRegistry</a>&nbsp;valueObjectTypeRegistry)</pre>
</li>
</ul>
<a id="setValueComparisionStrategyFactory(org.apache.cayenne.reflect.generic.ValueComparisonStrategyFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValueComparisionStrategyFactory</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setValueComparisionStrategyFactory&#8203;(<a href="../reflect/generic/ValueComparisonStrategyFactory.html" title="interface in org.apache.cayenne.reflect.generic">ValueComparisonStrategyFactory</a>&nbsp;valueComparisonStrategyFactory)</pre>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.2</dd>
</dl>
</li>
</ul>
<a id="setEntitySorter(org.apache.cayenne.map.EntitySorter)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEntitySorter</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setEntitySorter&#8203;(<a href="EntitySorter.html" title="interface in org.apache.cayenne.map">EntitySorter</a>&nbsp;entitySorter)</pre>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.2</dd>
</dl>
</li>
</ul>
<a id="getEntitySorter()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getEntitySorter</h4>
<pre class="methodSignature">public&nbsp;<a href="EntitySorter.html" title="interface in org.apache.cayenne.map">EntitySorter</a>&nbsp;getEntitySorter()</pre>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.2</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/EntityResolver.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><a href="#field.detail">Field</a>&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>