Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 60040fd4e0a42de4ec4da252acf944347b83ee5d (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>BaseSwitch (Oomph Utilities 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="BaseSwitch (Oomph Utilities 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/BaseSwitch.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/base/util/BaseResourceImpl.html" title="class in org.eclipse.oomph.base.util"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/eclipse/oomph/base/util/BaseUtil.html" title="class in org.eclipse.oomph.base.util"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/oomph/base/util/BaseSwitch.html" target="_top">Frames</a></li>
<li><a href="BaseSwitch.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.base.util</div>
<h2 title="Class BaseSwitch" class="title">Class BaseSwitch&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.base.util.BaseSwitch&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">BaseSwitch&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/base/BasePackage.html" title="interface in org.eclipse.oomph.base"><code>BasePackage</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/base/BasePackage.html" title="interface in org.eclipse.oomph.base">BasePackage</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/oomph/base/util/BaseSwitch.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/base/util/BaseSwitch.html#BaseSwitch()">BaseSwitch</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/base/util/BaseSwitch.html" title="type parameter in BaseSwitch">T</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/oomph/base/util/BaseSwitch.html#caseAnnotation(org.eclipse.oomph.base.Annotation)">caseAnnotation</a></strong>(<a href="../../../../../org/eclipse/oomph/base/Annotation.html" title="interface in org.eclipse.oomph.base">Annotation</a>&nbsp;object)</code>
<div class="block">Returns the result of interpreting the object as an instance of '<em>Annotation</em>'.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/oomph/base/util/BaseSwitch.html" title="type parameter in BaseSwitch">T</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/oomph/base/util/BaseSwitch.html#caseModelElement(org.eclipse.oomph.base.ModelElement)">caseModelElement</a></strong>(<a href="../../../../../org/eclipse/oomph/base/ModelElement.html" title="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="altColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/oomph/base/util/BaseSwitch.html" title="type parameter in BaseSwitch">T</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/oomph/base/util/BaseSwitch.html#caseStringToStringMapEntry(java.util.Map.Entry)">caseStringToStringMapEntry</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;object)</code>
<div class="block">Returns the result of interpreting the object as an instance of '<em>String To String Map Entry</em>'.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/oomph/base/util/BaseSwitch.html" title="type parameter in BaseSwitch">T</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/oomph/base/util/BaseSwitch.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/base/util/BaseSwitch.html" title="type parameter in BaseSwitch">T</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/eclipse/oomph/base/util/BaseSwitch.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/base/util/BaseSwitch.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/base/BasePackage.html" title="interface in org.eclipse.oomph.base">BasePackage</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="BaseSwitch()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>BaseSwitch</h4>
<pre>public&nbsp;BaseSwitch()</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/base/util/BaseSwitch.html" title="type parameter in BaseSwitch">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/base/util/BaseSwitch.html" title="type parameter in BaseSwitch">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/base/util/BaseSwitch.html" title="type parameter in BaseSwitch">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="caseModelElement(org.eclipse.oomph.base.ModelElement)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>caseModelElement</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/oomph/base/util/BaseSwitch.html" title="type parameter in BaseSwitch">T</a>&nbsp;caseModelElement(<a href="../../../../../org/eclipse/oomph/base/ModelElement.html" title="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="caseAnnotation(org.eclipse.oomph.base.Annotation)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>caseAnnotation</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/oomph/base/util/BaseSwitch.html" title="type parameter in BaseSwitch">T</a>&nbsp;caseAnnotation(<a href="../../../../../org/eclipse/oomph/base/Annotation.html" title="interface in org.eclipse.oomph.base">Annotation</a>&nbsp;object)</pre>
<div class="block">Returns the result of interpreting the object as an instance of '<em>Annotation</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>Annotation</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="caseStringToStringMapEntry(java.util.Map.Entry)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>caseStringToStringMapEntry</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/oomph/base/util/BaseSwitch.html" title="type parameter in BaseSwitch">T</a>&nbsp;caseStringToStringMapEntry(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;object)</pre>
<div class="block">Returns the result of interpreting the object as an instance of '<em>String To String Map Entry</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>String To String Map Entry</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/base/util/BaseSwitch.html" title="type parameter in BaseSwitch">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/base/util/BaseSwitch.html" title="type parameter in BaseSwitch">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/BaseSwitch.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/base/util/BaseResourceImpl.html" title="class in org.eclipse.oomph.base.util"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/eclipse/oomph/base/util/BaseUtil.html" title="class in org.eclipse.oomph.base.util"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/oomph/base/util/BaseSwitch.html" target="_top">Frames</a></li>
<li><a href="BaseSwitch.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 v2.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v20.html</i></small></p>
</body>
</html>

Back to the top