| <!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_75) on Mon May 18 03:56:40 EDT 2015 --> |
| <title>CompareSwitch (EMF Compare API Specification)</title> |
| <meta name="date" content="2015-05-18"> |
| <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="CompareSwitch (EMF Compare API Specification)"; |
| } |
| //--> |
| </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 class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/CompareSwitch.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-files/index-1.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><em><span style='font-size:small'><b>EMF Compare</b><br>3.2.0.201505180755</span></em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/eclipse/emf/compare/util/CompareAdapterFactory.html" title="class in org.eclipse.emf.compare.util"><span class="strong">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/emf/compare/util/CompareSwitch.html" target="_top">Frames</a></li> |
| <li><a href="CompareSwitch.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> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.eclipse.emf.compare.util</div> |
| <h2 title="Class CompareSwitch" class="title">Class CompareSwitch<T></h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.emf.compare.util.CompareSwitch<T></li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">CompareSwitch<T></span> |
| extends <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> |
| <div class="block"><!-- begin-user-doc --> |
| The <b>Switch</b> for the model's inheritance hierarchy. |
| It supports the call <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#doSwitch(org.eclipse.emf.ecore.EObject)"><code>doSwitch(object)</code></a> |
| to invoke the <code>caseXXX</code> method for each class of the model, |
| starting with the actual class of the object |
| and proceeding up the inheritance hierarchy |
| until a non-null result is returned, |
| which is the result of the switch. |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/eclipse/emf/compare/ComparePackage.html" title="interface in org.eclipse.emf.compare"><code>ComparePackage</code></a></dd><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://download.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#copyright">copyright</a></strong></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected static <a href="../../../../../org/eclipse/emf/compare/ComparePackage.html" title="interface in org.eclipse.emf.compare">ComparePackage</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#modelPackage">modelPackage</a></strong></code> |
| <div class="block">The cached model package |
| <!</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#CompareSwitch()">CompareSwitch</a></strong>()</code> |
| <div class="block">Creates an instance of the switch</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#caseAttributeChange(org.eclipse.emf.compare.AttributeChange)">caseAttributeChange</a></strong>(<a href="../../../../../org/eclipse/emf/compare/AttributeChange.html" title="interface in org.eclipse.emf.compare">AttributeChange</a> object)</code> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Attribute Change</em>'</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#caseComparison(org.eclipse.emf.compare.Comparison)">caseComparison</a></strong>(<a href="../../../../../org/eclipse/emf/compare/Comparison.html" title="interface in org.eclipse.emf.compare">Comparison</a> object)</code> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Comparison</em>'</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#caseConflict(org.eclipse.emf.compare.Conflict)">caseConflict</a></strong>(<a href="../../../../../org/eclipse/emf/compare/Conflict.html" title="interface in org.eclipse.emf.compare">Conflict</a> object)</code> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Conflict</em>'</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#caseDiff(org.eclipse.emf.compare.Diff)">caseDiff</a></strong>(<a href="../../../../../org/eclipse/emf/compare/Diff.html" title="interface in org.eclipse.emf.compare">Diff</a> object)</code> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Diff</em>'</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#caseEquivalence(org.eclipse.emf.compare.Equivalence)">caseEquivalence</a></strong>(<a href="../../../../../org/eclipse/emf/compare/Equivalence.html" title="interface in org.eclipse.emf.compare">Equivalence</a> object)</code> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Equivalence</em>'</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#caseFeatureMapChange(org.eclipse.emf.compare.FeatureMapChange)">caseFeatureMapChange</a></strong>(<a href="../../../../../org/eclipse/emf/compare/FeatureMapChange.html" title="interface in org.eclipse.emf.compare">FeatureMapChange</a> object)</code> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Feature Map Change</em>'</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#caseMatch(org.eclipse.emf.compare.Match)">caseMatch</a></strong>(<a href="../../../../../org/eclipse/emf/compare/Match.html" title="interface in org.eclipse.emf.compare">Match</a> object)</code> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Match</em>'</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#caseMatchResource(org.eclipse.emf.compare.MatchResource)">caseMatchResource</a></strong>(<a href="../../../../../org/eclipse/emf/compare/MatchResource.html" title="interface in org.eclipse.emf.compare">MatchResource</a> object)</code> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Match Resource</em>'</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#caseReferenceChange(org.eclipse.emf.compare.ReferenceChange)">caseReferenceChange</a></strong>(<a href="../../../../../org/eclipse/emf/compare/ReferenceChange.html" title="interface in org.eclipse.emf.compare">ReferenceChange</a> object)</code> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Reference Change</em>'</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#caseResourceAttachmentChange(org.eclipse.emf.compare.ResourceAttachmentChange)">caseResourceAttachmentChange</a></strong>(<a href="../../../../../org/eclipse/emf/compare/ResourceAttachmentChange.html" title="interface in org.eclipse.emf.compare">ResourceAttachmentChange</a> object)</code> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Resource Attachment Change</em>'</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#caseResourceLocationChange(org.eclipse.emf.compare.ResourceLocationChange)">caseResourceLocationChange</a></strong>(<a href="../../../../../org/eclipse/emf/compare/ResourceLocationChange.html" title="interface in org.eclipse.emf.compare">ResourceLocationChange</a> object)</code> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Resource Location Change</em>'</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#defaultCase(org.eclipse.emf.ecore.EObject)">defaultCase</a></strong>(<a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/EObject.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EObject</a> object)</code> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>EObject</em>'</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#doSwitch(org.eclipse.emf.ecore.EClass,%20org.eclipse.emf.ecore.EObject)">doSwitch</a></strong>(<a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/EClass.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EClass</a> theEClass, |
| <a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/EObject.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EObject</a> theEObject)</code> |
| <div class="block">Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#doSwitch(org.eclipse.emf.ecore.EObject)">doSwitch</a></strong>(<a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/EObject.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EObject</a> theEObject)</code> |
| <div class="block">Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#doSwitch(int,%20org.eclipse.emf.ecore.EObject)">doSwitch</a></strong>(int classifierID, |
| <a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/EObject.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EObject</a> theEObject)</code> |
| <div class="block">Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="copyright"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyright</h4> |
| <pre>public static final <a href="http://download.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> copyright</pre> |
| <div class="block"><!-- begin-user-doc --> |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.eclipse.emf.compare.util.CompareSwitch.copyright">Constant Field Values</a></dd><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| <a name="modelPackage"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>modelPackage</h4> |
| <pre>protected static <a href="../../../../../org/eclipse/emf/compare/ComparePackage.html" title="interface in org.eclipse.emf.compare">ComparePackage</a> modelPackage</pre> |
| <div class="block">The cached model package |
| <!-- begin-user-doc --> |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="CompareSwitch()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>CompareSwitch</h4> |
| <pre>public CompareSwitch()</pre> |
| <div class="block">Creates an instance of the switch. |
| <!-- begin-user-doc --> |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="doSwitch(org.eclipse.emf.ecore.EObject)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>doSwitch</h4> |
| <pre>public <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a> doSwitch(<a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/EObject.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EObject</a> theEObject)</pre> |
| <div class="block">Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. |
| <!-- begin-user-doc --> |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the first non-null result returned by a <code>caseXXX</code> call.</dd><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| <a name="doSwitch(org.eclipse.emf.ecore.EClass, org.eclipse.emf.ecore.EObject)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>doSwitch</h4> |
| <pre>protected <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a> doSwitch(<a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/EClass.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EClass</a> theEClass, |
| <a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/EObject.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EObject</a> theEObject)</pre> |
| <div class="block">Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. |
| <!-- begin-user-doc --> |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the first non-null result returned by a <code>caseXXX</code> call.</dd><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| <a name="doSwitch(int, org.eclipse.emf.ecore.EObject)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>doSwitch</h4> |
| <pre>protected <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a> doSwitch(int classifierID, |
| <a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/EObject.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EObject</a> theEObject)</pre> |
| <div class="block">Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. |
| <!-- begin-user-doc --> |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the first non-null result returned by a <code>caseXXX</code> call.</dd><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| <a name="caseComparison(org.eclipse.emf.compare.Comparison)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>caseComparison</h4> |
| <pre>public <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a> caseComparison(<a href="../../../../../org/eclipse/emf/compare/Comparison.html" title="interface in org.eclipse.emf.compare">Comparison</a> object)</pre> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Comparison</em>'. |
| <!-- begin-user-doc --> |
| This implementation returns null; |
| returning a non-null result will terminate the switch. |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - the target of the switch.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the result of interpreting the object as an instance of '<em>Comparison</em>'.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#doSwitch(org.eclipse.emf.ecore.EObject)"><code>doSwitch(EObject)</code></a></dd><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| <a name="caseMatchResource(org.eclipse.emf.compare.MatchResource)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>caseMatchResource</h4> |
| <pre>public <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a> caseMatchResource(<a href="../../../../../org/eclipse/emf/compare/MatchResource.html" title="interface in org.eclipse.emf.compare">MatchResource</a> object)</pre> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Match Resource</em>'. |
| <!-- begin-user-doc --> |
| This implementation returns null; |
| returning a non-null result will terminate the switch. |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - the target of the switch.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the result of interpreting the object as an instance of '<em>Match Resource</em>'.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#doSwitch(org.eclipse.emf.ecore.EObject)"><code>doSwitch(EObject)</code></a></dd><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| <a name="caseMatch(org.eclipse.emf.compare.Match)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>caseMatch</h4> |
| <pre>public <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a> caseMatch(<a href="../../../../../org/eclipse/emf/compare/Match.html" title="interface in org.eclipse.emf.compare">Match</a> object)</pre> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Match</em>'. |
| <!-- begin-user-doc --> |
| This implementation returns null; |
| returning a non-null result will terminate the switch. |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - the target of the switch.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the result of interpreting the object as an instance of '<em>Match</em>'.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#doSwitch(org.eclipse.emf.ecore.EObject)"><code>doSwitch(EObject)</code></a></dd><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| <a name="caseDiff(org.eclipse.emf.compare.Diff)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>caseDiff</h4> |
| <pre>public <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a> caseDiff(<a href="../../../../../org/eclipse/emf/compare/Diff.html" title="interface in org.eclipse.emf.compare">Diff</a> object)</pre> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Diff</em>'. |
| <!-- begin-user-doc --> |
| This implementation returns null; |
| returning a non-null result will terminate the switch. |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - the target of the switch.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the result of interpreting the object as an instance of '<em>Diff</em>'.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#doSwitch(org.eclipse.emf.ecore.EObject)"><code>doSwitch(EObject)</code></a></dd><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| <a name="caseResourceAttachmentChange(org.eclipse.emf.compare.ResourceAttachmentChange)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>caseResourceAttachmentChange</h4> |
| <pre>public <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a> caseResourceAttachmentChange(<a href="../../../../../org/eclipse/emf/compare/ResourceAttachmentChange.html" title="interface in org.eclipse.emf.compare">ResourceAttachmentChange</a> object)</pre> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Resource Attachment Change</em>'. |
| <!-- begin-user-doc --> |
| This implementation returns null; |
| returning a non-null result will terminate the switch. |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - the target of the switch.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the result of interpreting the object as an instance of '<em>Resource Attachment Change</em>'.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#doSwitch(org.eclipse.emf.ecore.EObject)"><code>doSwitch(EObject)</code></a></dd><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| <a name="caseResourceLocationChange(org.eclipse.emf.compare.ResourceLocationChange)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>caseResourceLocationChange</h4> |
| <pre>public <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a> caseResourceLocationChange(<a href="../../../../../org/eclipse/emf/compare/ResourceLocationChange.html" title="interface in org.eclipse.emf.compare">ResourceLocationChange</a> object)</pre> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Resource Location Change</em>'. |
| <!-- begin-user-doc --> |
| This implementation returns null; |
| returning a non-null result will terminate the switch. |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - the target of the switch.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the result of interpreting the object as an instance of '<em>Resource Location Change</em>'.</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd> |
| <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#doSwitch(org.eclipse.emf.ecore.EObject)"><code>doSwitch(EObject)</code></a></dd><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| <a name="caseReferenceChange(org.eclipse.emf.compare.ReferenceChange)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>caseReferenceChange</h4> |
| <pre>public <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a> caseReferenceChange(<a href="../../../../../org/eclipse/emf/compare/ReferenceChange.html" title="interface in org.eclipse.emf.compare">ReferenceChange</a> object)</pre> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Reference Change</em>'. |
| <!-- begin-user-doc --> |
| This implementation returns null; |
| returning a non-null result will terminate the switch. |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - the target of the switch.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the result of interpreting the object as an instance of '<em>Reference Change</em>'.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#doSwitch(org.eclipse.emf.ecore.EObject)"><code>doSwitch(EObject)</code></a></dd><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| <a name="caseAttributeChange(org.eclipse.emf.compare.AttributeChange)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>caseAttributeChange</h4> |
| <pre>public <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a> caseAttributeChange(<a href="../../../../../org/eclipse/emf/compare/AttributeChange.html" title="interface in org.eclipse.emf.compare">AttributeChange</a> object)</pre> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Attribute Change</em>'. |
| <!-- begin-user-doc --> |
| This implementation returns null; |
| returning a non-null result will terminate the switch. |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - the target of the switch.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the result of interpreting the object as an instance of '<em>Attribute Change</em>'.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#doSwitch(org.eclipse.emf.ecore.EObject)"><code>doSwitch(EObject)</code></a></dd><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| <a name="caseFeatureMapChange(org.eclipse.emf.compare.FeatureMapChange)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>caseFeatureMapChange</h4> |
| <pre>public <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a> caseFeatureMapChange(<a href="../../../../../org/eclipse/emf/compare/FeatureMapChange.html" title="interface in org.eclipse.emf.compare">FeatureMapChange</a> object)</pre> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Feature Map Change</em>'. |
| <!-- begin-user-doc --> |
| This implementation returns null; |
| returning a non-null result will terminate the switch. |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - the target of the switch.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the result of interpreting the object as an instance of '<em>Feature Map Change</em>'.</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd> |
| <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#doSwitch(org.eclipse.emf.ecore.EObject)"><code>doSwitch(EObject)</code></a></dd><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| <a name="caseConflict(org.eclipse.emf.compare.Conflict)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>caseConflict</h4> |
| <pre>public <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a> caseConflict(<a href="../../../../../org/eclipse/emf/compare/Conflict.html" title="interface in org.eclipse.emf.compare">Conflict</a> object)</pre> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Conflict</em>'. |
| <!-- begin-user-doc --> |
| This implementation returns null; |
| returning a non-null result will terminate the switch. |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - the target of the switch.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the result of interpreting the object as an instance of '<em>Conflict</em>'.</dd><dt><span class="strong">Since:</span></dt> |
| <dd>3.2</dd> |
| <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#doSwitch(org.eclipse.emf.ecore.EObject)"><code>doSwitch(EObject)</code></a></dd><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| <a name="caseEquivalence(org.eclipse.emf.compare.Equivalence)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>caseEquivalence</h4> |
| <pre>public <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a> caseEquivalence(<a href="../../../../../org/eclipse/emf/compare/Equivalence.html" title="interface in org.eclipse.emf.compare">Equivalence</a> object)</pre> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>Equivalence</em>'. |
| <!-- begin-user-doc --> |
| This implementation returns null; |
| returning a non-null result will terminate the switch. |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - the target of the switch.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the result of interpreting the object as an instance of '<em>Equivalence</em>'.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#doSwitch(org.eclipse.emf.ecore.EObject)"><code>doSwitch(EObject)</code></a></dd><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| <a name="defaultCase(org.eclipse.emf.ecore.EObject)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>defaultCase</h4> |
| <pre>public <a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html" title="type parameter in CompareSwitch">T</a> defaultCase(<a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/EObject.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EObject</a> object)</pre> |
| <div class="block">Returns the result of interpreting the object as an instance of '<em>EObject</em>'. |
| <!-- begin-user-doc --> |
| This implementation returns null; |
| returning a non-null result will terminate the switch, but this is the last case anyway. |
| <!-- end-user-doc --></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - the target of the switch.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the result of interpreting the object as an instance of '<em>EObject</em>'.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/eclipse/emf/compare/util/CompareSwitch.html#doSwitch(org.eclipse.emf.ecore.EObject)"><code>doSwitch(org.eclipse.emf.ecore.EObject)</code></a></dd><dt><span class="strong">Generated:</span></dt> |
| <dd></dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= 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 class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/CompareSwitch.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-files/index-1.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><em><span style='font-size:small'><b>EMF Compare</b><br>3.2.0.201505180755</span></em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/eclipse/emf/compare/util/CompareAdapterFactory.html" title="class in org.eclipse.emf.compare.util"><span class="strong">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/emf/compare/util/CompareSwitch.html" target="_top">Frames</a></li> |
| <li><a href="CompareSwitch.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> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small><br><span style='font-size:small;float:right'>Copyright (c) 2006, 2014 Obeo and others. All rights reserved.</span></small></p> |
| </body> |
| </html> |