blob: d780581659d925e6bb89bcb0adcb25c5bd10a90b [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_67) on Sat Sep 20 17:23:01 FET 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.apache.cayenne.map.Entity (Cayenne Documentation 3.1 API)</title>
<meta name="date" content="2014-09-20">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class org.apache.cayenne.map.Entity (Cayenne Documentation 3.1 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../../overview-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>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/cayenne/map/class-use/Entity.html" target="_top">Frames</a></li>
<li><a href="Entity.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.apache.cayenne.map.Entity" class="title">Uses of Class<br>org.apache.cayenne.map.Entity</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.cayenne.exp.parser">org.apache.cayenne.exp.parser</a></td>
<td class="colLast">
<div class="block">Contains expression parser and other expression internals.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.cayenne.map">org.apache.cayenne.map</a></td>
<td class="colLast">
<div class="block">Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.cayenne.map.event">org.apache.cayenne.map.event</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.cayenne.util">org.apache.cayenne.util</a></td>
<td class="colLast">
<div class="block">General utility classes.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.apache.cayenne.exp.parser">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a> in <a href="../../../../../org/apache/cayenne/exp/parser/package-summary.html">org.apache.cayenne.exp.parser</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/cayenne/exp/parser/package-summary.html">org.apache.cayenne.exp.parser</a> with parameters of type <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/cayenne/util/CayenneMapEntry.html" title="interface in org.apache.cayenne.util">CayenneMapEntry</a></code></td>
<td class="colLast"><span class="strong">ASTPath.</span><code><strong><a href="../../../../../org/apache/cayenne/exp/parser/ASTPath.html#evaluateEntityNode(org.apache.cayenne.map.Entity)">evaluateEntityNode</a></strong>(<a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a>&nbsp;entity)</code>
<div class="block">Helper method to evaluate path expression with Cayenne Entity.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.cayenne.map">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a> in <a href="../../../../../org/apache/cayenne/map/package-summary.html">org.apache.cayenne.map</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subclasses, and an explanation">
<caption><span>Subclasses of <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a> in <a href="../../../../../org/apache/cayenne/map/package-summary.html">org.apache.cayenne.map</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/cayenne/map/DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</a></strong></code>
<div class="block">A DbEntity is a mapping descriptor that defines a structure of a database table.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/cayenne/map/DetectedDbEntity.html" title="class in org.apache.cayenne.map">DetectedDbEntity</a></strong></code>
<div class="block">A <a href="../../../../../org/apache/cayenne/map/DbEntity.html" title="class in org.apache.cayenne.map"><code>DbEntity</code></a> subclass used to hold extra JDBC metadata.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/cayenne/map/ObjEntity.html" title="class in org.apache.cayenne.map">ObjEntity</a></strong></code>
<div class="block">ObjEntity is a mapping descriptor for a DataObject Java class.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in <a href="../../../../../org/apache/cayenne/map/package-summary.html">org.apache.cayenne.map</a> declared as <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></code></td>
<td class="colLast"><span class="strong">Attribute.</span><code><strong><a href="../../../../../org/apache/cayenne/map/Attribute.html#entity">entity</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></code></td>
<td class="colLast"><span class="strong">Relationship.</span><code><strong><a href="../../../../../org/apache/cayenne/map/Relationship.html#sourceEntity">sourceEntity</a></strong></code>&nbsp;</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/cayenne/map/package-summary.html">org.apache.cayenne.map</a> that return <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></code></td>
<td class="colLast"><span class="strong">Attribute.</span><code><strong><a href="../../../../../org/apache/cayenne/map/Attribute.html#getEntity()">getEntity</a></strong>()</code>
<div class="block">Returns parent entity that holds this attribute.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></code></td>
<td class="colLast"><span class="strong">Relationship.</span><code><strong><a href="../../../../../org/apache/cayenne/map/Relationship.html#getSourceEntity()">getSourceEntity</a></strong>()</code>
<div class="block">Returns relationship source entity.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></code></td>
<td class="colLast"><span class="strong">DbRelationship.</span><code><strong><a href="../../../../../org/apache/cayenne/map/DbRelationship.html#getTargetEntity()">getTargetEntity</a></strong>()</code>
<div class="block">Returns a target of this relationship.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></code></td>
<td class="colLast"><span class="strong">ObjRelationship.</span><code><strong><a href="../../../../../org/apache/cayenne/map/ObjRelationship.html#getTargetEntity()">getTargetEntity</a></strong>()</code>
<div class="block">Returns a target ObjEntity of this relationship.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></code></td>
<td class="colLast"><span class="strong">Relationship.</span><code><strong><a href="../../../../../org/apache/cayenne/map/Relationship.html#getTargetEntity()">getTargetEntity</a></strong>()</code>
<div class="block">Returns a target entity of the relationship.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/cayenne/map/package-summary.html">org.apache.cayenne.map</a> with parameters of type <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/cayenne/map/Relationship.html" title="class in org.apache.cayenne.map">Relationship</a></code></td>
<td class="colLast"><span class="strong">Entity.</span><code><strong><a href="../../../../../org/apache/cayenne/map/Entity.html#getAnyRelationship(org.apache.cayenne.map.Entity)">getAnyRelationship</a></strong>(<a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a>&nbsp;targetEntity)</code>
<div class="block">Returns a relationship that has a specified entity as a target.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">Attribute.</span><code><strong><a href="../../../../../org/apache/cayenne/map/Attribute.html#setEntity(org.apache.cayenne.map.Entity)">setEntity</a></strong>(<a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a>&nbsp;entity)</code>
<div class="block">Sets parent entity that holds this attribute.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">Relationship.</span><code><strong><a href="../../../../../org/apache/cayenne/map/Relationship.html#setSourceEntity(org.apache.cayenne.map.Entity)">setSourceEntity</a></strong>(<a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a>&nbsp;sourceEntity)</code>
<div class="block">Sets relationship source entity.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">Relationship.</span><code><strong><a href="../../../../../org/apache/cayenne/map/Relationship.html#setTargetEntity(org.apache.cayenne.map.Entity)">setTargetEntity</a></strong>(<a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a>&nbsp;targetEntity)</code>
<div class="block">Sets relationship target entity.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.cayenne.map.event">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a> in <a href="../../../../../org/apache/cayenne/map/event/package-summary.html">org.apache.cayenne.map.event</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in <a href="../../../../../org/apache/cayenne/map/event/package-summary.html">org.apache.cayenne.map.event</a> declared as <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></code></td>
<td class="colLast"><span class="strong">EntityEvent.</span><code><strong><a href="../../../../../org/apache/cayenne/map/event/EntityEvent.html#entity">entity</a></strong></code>&nbsp;</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/cayenne/map/event/package-summary.html">org.apache.cayenne.map.event</a> that return <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></code></td>
<td class="colLast"><span class="strong">EntityEvent.</span><code><strong><a href="../../../../../org/apache/cayenne/map/event/EntityEvent.html#getEntity()">getEntity</a></strong>()</code>
<div class="block">Returns entity object associated with this event.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/cayenne/map/event/package-summary.html">org.apache.cayenne.map.event</a> with parameters of type <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">EntityEvent.</span><code><strong><a href="../../../../../org/apache/cayenne/map/event/EntityEvent.html#setEntity(org.apache.cayenne.map.Entity)">setEntity</a></strong>(<a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a>&nbsp;entity)</code>
<div class="block">Sets the entity.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../../org/apache/cayenne/map/event/package-summary.html">org.apache.cayenne.map.event</a> with parameters of type <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../org/apache/cayenne/map/event/AttributeEvent.html#AttributeEvent(java.lang.Object,%20org.apache.cayenne.map.Attribute,%20org.apache.cayenne.map.Entity)">AttributeEvent</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;src,
<a href="../../../../../org/apache/cayenne/map/Attribute.html" title="class in org.apache.cayenne.map">Attribute</a>&nbsp;attr,
<a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a>&nbsp;entity)</code>
<div class="block">Creates a Attribute change event.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><strong><a href="../../../../../org/apache/cayenne/map/event/AttributeEvent.html#AttributeEvent(java.lang.Object,%20org.apache.cayenne.map.Attribute,%20org.apache.cayenne.map.Entity,%20int)">AttributeEvent</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;src,
<a href="../../../../../org/apache/cayenne/map/Attribute.html" title="class in org.apache.cayenne.map">Attribute</a>&nbsp;attr,
<a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a>&nbsp;entity,
int&nbsp;id)</code>
<div class="block">Creates a Attribute event of a specified type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../org/apache/cayenne/map/event/AttributeEvent.html#AttributeEvent(java.lang.Object,%20org.apache.cayenne.map.Attribute,%20org.apache.cayenne.map.Entity,%20java.lang.String)">AttributeEvent</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;src,
<a href="../../../../../org/apache/cayenne/map/Attribute.html" title="class in org.apache.cayenne.map">Attribute</a>&nbsp;attr,
<a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a>&nbsp;entity,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;oldName)</code>
<div class="block">Creates a Attribute name change event.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><strong><a href="../../../../../org/apache/cayenne/map/event/EntityEvent.html#EntityEvent(java.lang.Object,%20org.apache.cayenne.map.Entity)">EntityEvent</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;src,
<a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a>&nbsp;entity)</code>
<div class="block">Creates a Entity change event.</div>
</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../org/apache/cayenne/map/event/EntityEvent.html#EntityEvent(java.lang.Object,%20org.apache.cayenne.map.Entity,%20int)">EntityEvent</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;src,
<a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a>&nbsp;entity,
int&nbsp;id)</code>
<div class="block">Creates a Entity event of a specified type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><strong><a href="../../../../../org/apache/cayenne/map/event/EntityEvent.html#EntityEvent(java.lang.Object,%20org.apache.cayenne.map.Entity,%20java.lang.String)">EntityEvent</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;src,
<a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a>&nbsp;entity,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;oldName)</code>
<div class="block">Creates a Entity name change event.</div>
</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../org/apache/cayenne/map/event/RelationshipEvent.html#RelationshipEvent(java.lang.Object,%20org.apache.cayenne.map.Relationship,%20org.apache.cayenne.map.Entity)">RelationshipEvent</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;src,
<a href="../../../../../org/apache/cayenne/map/Relationship.html" title="class in org.apache.cayenne.map">Relationship</a>&nbsp;rel,
<a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a>&nbsp;entity)</code>
<div class="block">Creates a Relationship change event.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><strong><a href="../../../../../org/apache/cayenne/map/event/RelationshipEvent.html#RelationshipEvent(java.lang.Object,%20org.apache.cayenne.map.Relationship,%20org.apache.cayenne.map.Entity,%20int)">RelationshipEvent</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;src,
<a href="../../../../../org/apache/cayenne/map/Relationship.html" title="class in org.apache.cayenne.map">Relationship</a>&nbsp;rel,
<a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a>&nbsp;entity,
int&nbsp;id)</code>
<div class="block">Creates a Relationship event of a specified type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../org/apache/cayenne/map/event/RelationshipEvent.html#RelationshipEvent(java.lang.Object,%20org.apache.cayenne.map.Relationship,%20org.apache.cayenne.map.Entity,%20java.lang.String)">RelationshipEvent</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;src,
<a href="../../../../../org/apache/cayenne/map/Relationship.html" title="class in org.apache.cayenne.map">Relationship</a>&nbsp;rel,
<a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a>&nbsp;entity,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;oldName)</code>
<div class="block">Creates a Relationship name change event.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.cayenne.util">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a> in <a href="../../../../../org/apache/cayenne/util/package-summary.html">org.apache.cayenne.util</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/cayenne/util/package-summary.html">org.apache.cayenne.util</a> with parameters of type <a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/cayenne/map/Relationship.html" title="class in org.apache.cayenne.map">Relationship</a></code></td>
<td class="colLast"><span class="strong">NamedObjectFactory.</span><code><strong><a href="../../../../../org/apache/cayenne/util/NamedObjectFactory.html#createRelationship(org.apache.cayenne.map.Entity,%20org.apache.cayenne.map.Entity,%20boolean)">createRelationship</a></strong>(<a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a>&nbsp;srcEnt,
<a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Entity</a>&nbsp;targetEnt,
boolean&nbsp;toMany)</code>
<div class="block">Creates a relationship using an appropriate factory class.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../org/apache/cayenne/map/Entity.html" title="class in org.apache.cayenne.map">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../../overview-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>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/cayenne/map/class-use/Entity.html" target="_top">Frames</a></li>
<li><a href="Entity.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2001&#x2013;2014 <a href="http://cayenne.apache.org/">Apache Cayenne</a>. All rights reserved.</small></p>
</body>
</html>