Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 1d2c151004486b070ac27f76d07f6eedffd33101 (plain) (tree)
1
2
3
4
5
6
7

                                                                                                      
                

      
                                                           
                             




                                                                                          
                                                                             















                                                                                               
                                                  






                                                                     
                                                                                                                                                                       


                    

                                                                                                             




































                                                                         

                                                                     








                                                                                                                                                                                                                                             
                                                    









                         
                                                               









                                                                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                          



















                                                                                                                                            

                                                                                                                                                                            
                                           

                            
















                                                                                                                                                        
                                                                                                                                           
                                                           

















                                                                                                                                              


                                                                                                                                                                                                                                                                                                                                                                                                            


                     


                                                                                                                                                                                                                                                                                                                                                            


                     


                                                                                                                                                                                                                                                                                                                         


                     


                                                                                                                                                                                                                                                                                                                                             


                     


                                                                                                                                                                                                                                                                                                                              


                     

                                                                                                                                                                                                                                                                                                                                                                                   
                                                                                                            

     


                                                                                                                                                                                              
                                                                                                                                                                                                                        
                                                                                                                                           

     
                     
                                                        
                                                                                                                                                                                                                                                                                                                                                                                        
                                                                               







                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        





                                                                                                                                                                                                         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            




















                                              
                                                                                                                                                                  














                                                   
                     



                          

                                 


























                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         









                                                                                                                                                   
                                                                                                                                                                  





                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         



                                                                                                                                                                      
                                                                        



                      


                                                                                                                                                                                                                                                                                                             




                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 


                
                                                            



                      


                                                                                                                                                                                                                                                                                           




                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          


                
                                                                  



                      


                                                                                                                                                                                                                                                                                                    




                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              


                
                                                          



                      


                                                                                                                                                                                                                                                                                        




                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         








                                                                
                                                                                                                                                                                                                                                                                                                                                                     















                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                       






                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        





















                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
                                                  






                                                                     
                                                                                                                                                                       


                    

                                                                                                             


































                                                                         
                                                                                                                                                                                                                                                                                                                                                                           

       
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>

<title>P2Switch (Oomph P2 Management Documentation)</title>
<meta name="date" content="">
<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="P2Switch (Oomph P2 Management Documentation)";
    }
//-->
</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/P2Switch.html">Use</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><a href="../../../../../org/eclipse/oomph/p2/util/P2AdapterFactory.html" title="class in org.eclipse.oomph.p2.util"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/oomph/p2/util/P2Switch.html" target="_top">Frames</a></li>
<li><a href="P2Switch.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:&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 name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.oomph.p2.util</div>
<h2 title="Class P2Switch" class="title">Class P2Switch&lt;T&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://download.oracle.com/javase/1.5.0/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><a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true" title="class or interface in org.eclipse.emf.ecore.util">org.eclipse.emf.ecore.util.Switch</a>&lt;T&gt;</li>
<li>
<ul class="inheritance">
<li>org.eclipse.oomph.p2.util.P2Switch&lt;T&gt;</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">P2Switch&lt;T&gt;</span>
extends <a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true" title="class or interface in org.eclipse.emf.ecore.util">Switch</a>&lt;T&gt;</pre>
<div class="block"><!-- begin-user-doc -->
 The <b>Switch</b> for the model's inheritance hierarchy.
 It supports the call <a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true#doSwitch(org.eclipse.emf.ecore.EObject)" title="class or interface in org.eclipse.emf.ecore.util"><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/oomph/p2/P2Package.html" title="interface in org.eclipse.oomph.p2"><code>P2Package</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">&nbsp;</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>protected static <a href="../../../../../org/eclipse/oomph/p2/P2Package.html" title="interface in org.eclipse.oomph.p2">P2Package</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html#modelPackage">modelPackage</a></strong></code>
<div class="block">The cached model package
 <!-- begin-user-doc -->
 <!-- end-user-doc --></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">&nbsp;</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/oomph/p2/util/P2Switch.html#P2Switch()">P2Switch</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">&nbsp;</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/oomph/p2/util/P2Switch.html" title="type parameter in P2Switch">T</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html#caseModelElement(org.eclipse.oomph.base.ModelElement)">caseModelElement</a></strong>(<a href="../../../../../../../org.eclipse.oomph.util.doc/javadoc/org/eclipse/oomph/base/ModelElement.html?is-external=true" title="class or interface in org.eclipse.oomph.base">ModelElement</a>&nbsp;object)</code>
<div class="block">Returns the result of interpreting the object as an instance of '<em>Model Element</em>'.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html" title="type parameter in P2Switch">T</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html#caseProfileDefinition(org.eclipse.oomph.p2.ProfileDefinition)">caseProfileDefinition</a></strong>(<a href="../../../../../org/eclipse/oomph/p2/ProfileDefinition.html" title="interface in org.eclipse.oomph.p2">ProfileDefinition</a>&nbsp;object)</code>
<div class="block">Returns the result of interpreting the object as an instance of '<em>Profile Definition</em>'.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html" title="type parameter in P2Switch">T</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html#caseRepository(org.eclipse.oomph.p2.Repository)">caseRepository</a></strong>(<a href="../../../../../org/eclipse/oomph/p2/Repository.html" title="interface in org.eclipse.oomph.p2">Repository</a>&nbsp;object)</code>
<div class="block">Returns the result of interpreting the object as an instance of '<em>Repository</em>'.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html" title="type parameter in P2Switch">T</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html#caseRepositoryList(org.eclipse.oomph.p2.RepositoryList)">caseRepositoryList</a></strong>(<a href="../../../../../org/eclipse/oomph/p2/RepositoryList.html" title="interface in org.eclipse.oomph.p2">RepositoryList</a>&nbsp;object)</code>
<div class="block">Returns the result of interpreting the object as an instance of '<em>Repository List</em>'.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html" title="type parameter in P2Switch">T</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html#caseRequirement(org.eclipse.oomph.p2.Requirement)">caseRequirement</a></strong>(<a href="../../../../../org/eclipse/oomph/p2/Requirement.html" title="interface in org.eclipse.oomph.p2">Requirement</a>&nbsp;object)</code>
<div class="block">Returns the result of interpreting the object as an instance of '<em>Requirement</em>'.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html" title="type parameter in P2Switch">T</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.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>&nbsp;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/oomph/p2/util/P2Switch.html" title="type parameter in P2Switch">T</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html#doSwitch(int,%20org.eclipse.emf.ecore.EObject)">doSwitch</a></strong>(int&nbsp;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>&nbsp;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>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html#isSwitchFor(org.eclipse.emf.ecore.EPackage)">isSwitchFor</a></strong>(<a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/EPackage.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EPackage</a>&nbsp;ePackage)</code>
<div class="block">Checks whether this is a switch for the given package.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.eclipse.emf.ecore.util.Switch">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.emf.ecore.util.<a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true" title="class or interface in org.eclipse.emf.ecore.util">Switch</a></h3>
<code><a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true#doSwitch(org.eclipse.emf.ecore.EClass,%20org.eclipse.emf.ecore.EObject)" title="class or interface in org.eclipse.emf.ecore.util">doSwitch</a>, <a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true#doSwitch(org.eclipse.emf.ecore.EObject)" title="class or interface in org.eclipse.emf.ecore.util">doSwitch</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://download.oracle.com/javase/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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="modelPackage">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>modelPackage</h4>
<pre>protected static&nbsp;<a href="../../../../../org/eclipse/oomph/p2/P2Package.html" title="interface in org.eclipse.oomph.p2">P2Package</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="P2Switch()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>P2Switch</h4>
<pre>public&nbsp;P2Switch()</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="isSwitchFor(org.eclipse.emf.ecore.EPackage)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSwitchFor</h4>
<pre>protected&nbsp;boolean&nbsp;isSwitchFor(<a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/EPackage.html?is-external=true" title="class or interface in org.eclipse.emf.ecore">EPackage</a>&nbsp;ePackage)</pre>
<div class="block">Checks whether this is a switch for the given package.
 <!-- begin-user-doc -->
 <!-- end-user-doc --></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true#isSwitchFor(org.eclipse.emf.ecore.EPackage)" title="class or interface in org.eclipse.emf.ecore.util">isSwitchFor</a></code>&nbsp;in class&nbsp;<code><a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true" title="class or interface in org.eclipse.emf.ecore.util">Switch</a>&lt;<a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html" title="type parameter in P2Switch">T</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>whether this is a switch for the given package.</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&nbsp;<a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html" title="type parameter in P2Switch">T</a>&nbsp;doSwitch(int&nbsp;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>&nbsp;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><strong>Overrides:</strong></dt>
<dd><code><a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true#doSwitch(int,%20org.eclipse.emf.ecore.EObject)" title="class or interface in org.eclipse.emf.ecore.util">doSwitch</a></code>&nbsp;in class&nbsp;<code><a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true" title="class or interface in org.eclipse.emf.ecore.util">Switch</a>&lt;<a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html" title="type parameter in P2Switch">T</a>&gt;</code></dd>
<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="caseProfileDefinition(org.eclipse.oomph.p2.ProfileDefinition)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>caseProfileDefinition</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html" title="type parameter in P2Switch">T</a>&nbsp;caseProfileDefinition(<a href="../../../../../org/eclipse/oomph/p2/ProfileDefinition.html" title="interface in org.eclipse.oomph.p2">ProfileDefinition</a>&nbsp;object)</pre>
<div class="block">Returns the result of interpreting the object as an instance of '<em>Profile Definition</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>Profile Definition</em>'.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true#doSwitch(org.eclipse.emf.ecore.EObject)" title="class or interface in org.eclipse.emf.ecore.util"><code>doSwitch(EObject)</code></a></dd><dt><span class="strong">Generated</span></dt>
  <dd></dd></dl>
</li>
</ul>
<a name="caseRequirement(org.eclipse.oomph.p2.Requirement)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>caseRequirement</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html" title="type parameter in P2Switch">T</a>&nbsp;caseRequirement(<a href="../../../../../org/eclipse/oomph/p2/Requirement.html" title="interface in org.eclipse.oomph.p2">Requirement</a>&nbsp;object)</pre>
<div class="block">Returns the result of interpreting the object as an instance of '<em>Requirement</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>Requirement</em>'.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true#doSwitch(org.eclipse.emf.ecore.EObject)" title="class or interface in org.eclipse.emf.ecore.util"><code>doSwitch(EObject)</code></a></dd><dt><span class="strong">Generated</span></dt>
  <dd></dd></dl>
</li>
</ul>
<a name="caseRepositoryList(org.eclipse.oomph.p2.RepositoryList)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>caseRepositoryList</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html" title="type parameter in P2Switch">T</a>&nbsp;caseRepositoryList(<a href="../../../../../org/eclipse/oomph/p2/RepositoryList.html" title="interface in org.eclipse.oomph.p2">RepositoryList</a>&nbsp;object)</pre>
<div class="block">Returns the result of interpreting the object as an instance of '<em>Repository List</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>Repository List</em>'.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true#doSwitch(org.eclipse.emf.ecore.EObject)" title="class or interface in org.eclipse.emf.ecore.util"><code>doSwitch(EObject)</code></a></dd><dt><span class="strong">Generated</span></dt>
  <dd></dd></dl>
</li>
</ul>
<a name="caseRepository(org.eclipse.oomph.p2.Repository)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>caseRepository</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html" title="type parameter in P2Switch">T</a>&nbsp;caseRepository(<a href="../../../../../org/eclipse/oomph/p2/Repository.html" title="interface in org.eclipse.oomph.p2">Repository</a>&nbsp;object)</pre>
<div class="block">Returns the result of interpreting the object as an instance of '<em>Repository</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>Repository</em>'.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true#doSwitch(org.eclipse.emf.ecore.EObject)" title="class or interface in org.eclipse.emf.ecore.util"><code>doSwitch(EObject)</code></a></dd><dt><span class="strong">Generated</span></dt>
  <dd></dd></dl>
</li>
</ul>
<a name="caseModelElement(org.eclipse.oomph.base.ModelElement)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>caseModelElement</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html" title="type parameter in P2Switch">T</a>&nbsp;caseModelElement(<a href="../../../../../../../org.eclipse.oomph.util.doc/javadoc/org/eclipse/oomph/base/ModelElement.html?is-external=true" title="class or interface in org.eclipse.oomph.base">ModelElement</a>&nbsp;object)</pre>
<div class="block">Returns the result of interpreting the object as an instance of '<em>Model Element</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>Model Element</em>'.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true#doSwitch(org.eclipse.emf.ecore.EObject)" title="class or interface in org.eclipse.emf.ecore.util"><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&nbsp;<a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html" title="type parameter in P2Switch">T</a>&nbsp;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>&nbsp;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><strong>Overrides:</strong></dt>
<dd><code><a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true#defaultCase(org.eclipse.emf.ecore.EObject)" title="class or interface in org.eclipse.emf.ecore.util">defaultCase</a></code>&nbsp;in class&nbsp;<code><a href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true" title="class or interface in org.eclipse.emf.ecore.util">Switch</a>&lt;<a href="../../../../../org/eclipse/oomph/p2/util/P2Switch.html" title="type parameter in P2Switch">T</a>&gt;</code></dd>
<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="http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/util/Switch.html?is-external=true#doSwitch(org.eclipse.emf.ecore.EObject)" title="class or interface in org.eclipse.emf.ecore.util"><code>Switch.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/P2Switch.html">Use</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><a href="../../../../../org/eclipse/oomph/p2/util/P2AdapterFactory.html" title="class in org.eclipse.oomph.p2.util"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/oomph/p2/util/P2Switch.html" target="_top">Frames</a></li>
<li><a href="P2Switch.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:&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 name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i class="copyright">Copyright (c) 2014 Eike Stepper (Loehne, Germany) and others.<br>All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html</i></small></p>
</body>
</html>

Back to the top