Class ClassMakerSwitch<T1>


  • public class ClassMakerSwitch<T1>
    extends org.eclipse.emf.ecore.util.Switch<T1>
    The Switch for the model's inheritance hierarchy. It supports the call doSwitch(object) to invoke the caseXXX 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.
    See Also:
    ClassMakerPackage
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassMakerSwitch()
      Creates an instance of the switch.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T1 caseAdapter​(org.eclipse.emf.common.notify.Adapter object)
      Returns the result of interpreting the object as an instance of 'Adapter'.
      T1 caseBlueprint​(Blueprint object)
      Returns the result of interpreting the object as an instance of 'Blueprint'.
      T1 caseClassMakerService​(ClassMakerService object)
      Returns the result of interpreting the object as an instance of 'Service'.
      T1 caseCompletionListener​(CompletionListener object)
      Returns the result of interpreting the object as an instance of 'Completion Listener'.
      T1 caseCompletionNotificationAdapter​(CompletionNotificationAdapter object)
      Returns the result of interpreting the object as an instance of 'Completion Notification Adapter'.
      T1 caseContribution​(Contribution object)
      Returns the result of interpreting the object as an instance of 'Contribution'.
      T1 caseCustomizer​(Customizer object)
      Returns the result of interpreting the object as an instance of 'Customizer'.
      T1 caseExecutor​(java.util.concurrent.Executor object)
      Returns the result of interpreting the object as an instance of 'Executor'.
      <V> T1 caseFuture​(java.util.concurrent.Future<V> object)
      Returns the result of interpreting the object as an instance of 'Future'.
      T1 caseIAdapterFactory​(org.eclipse.core.runtime.IAdapterFactory object)
      Returns the result of interpreting the object as an instance of 'IAdapter Factory'.
      T1 caseISchedulingRule​(org.eclipse.core.runtime.jobs.ISchedulingRule object)
      Returns the result of interpreting the object as an instance of 'IScheduling Rule'.
      T1 caseItem​(Item object)
      Returns the result of interpreting the object as an instance of 'Item'.
      T1 caseLongToStateMapEntry​(java.util.Map.Entry<java.lang.Long,​State> object)
      Returns the result of interpreting the object as an instance of 'Long To State Map Entry'.
      T1 caseModelPair​(ModelPair object)
      Returns the result of interpreting the object as an instance of 'Model Pair'.
      T1 caseNotification​(org.eclipse.emf.common.notify.Notification object)
      Returns the result of interpreting the object as an instance of 'Notification'.
      T1 caseProject​(Project object)
      Returns the result of interpreting the object as an instance of 'Project'.
      T1 caseResource​(org.eclipse.emf.ecore.resource.Resource object)
      Returns the result of interpreting the object as an instance of 'Resource'.
      T1 caseResourceAdapter​(ResourceAdapter object)
      Returns the result of interpreting the object as an instance of 'Resource Adapter'.
      T1 caseResourceChangeListener​(ResourceChangeListener object)
      Returns the result of interpreting the object as an instance of 'Resource Change Listener'.
      T1 caseRevision​(Revision object)
      Returns the result of interpreting the object as an instance of 'Revision'.
      <T> T1 caseSCMOperator​(SCMOperator<T> object)
      Returns the result of interpreting the object as an instance of 'SCM Operator'.
      <T> T1 caseSCMRegistry​(SCMRegistry<T> object)
      Returns the result of interpreting the object as an instance of 'SCM Registry'.
      T1 caseSelectRevealHandler​(SelectRevealHandler object)
      Returns the result of interpreting the object as an instance of 'Select Reveal Handler'.
      T1 caseStageQualifier​(StageQualifier object)
      Returns the result of interpreting the object as an instance of 'Stage Qualifier'.
      T1 caseStageQualifierToCustomizerMapEntry​(java.util.Map.Entry<StageQualifier,​Customizer> object)
      Returns the result of interpreting the object as an instance of 'Stage Qualifier To Customizer Map Entry'.
      T1 caseState​(State object)
      Returns the result of interpreting the object as an instance of 'State'.
      T1 caseStrategy​(Strategy object)
      Returns the result of interpreting the object as an instance of 'Strategy'.
      T1 caseVersionToRevisionMapEntry​(java.util.Map.Entry<org.osgi.framework.Version,​Revision> object)
      Returns the result of interpreting the object as an instance of 'Version To Revision Map Entry'.
      T1 caseWorker​(Worker object)
      Returns the result of interpreting the object as an instance of 'Worker'.
      T1 caseWorkspace​(Workspace object)
      Returns the result of interpreting the object as an instance of 'Workspace'.
      T1 defaultCase​(org.eclipse.emf.ecore.EObject object)
      Returns the result of interpreting the object as an instance of 'EObject'.
      • Methods inherited from class org.eclipse.emf.ecore.util.Switch

        doSwitch
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClassMakerSwitch

        public ClassMakerSwitch()
        Creates an instance of the switch.
    • Method Detail

      • caseContribution

        public T1 caseContribution​(Contribution object)
        Returns the result of interpreting the object as an instance of 'Contribution'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Contribution'.
        See Also:
        doSwitch(EObject)
      • caseRevision

        public T1 caseRevision​(Revision object)
        Returns the result of interpreting the object as an instance of 'Revision'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Revision'.
        See Also:
        doSwitch(EObject)
      • caseState

        public T1 caseState​(State object)
        Returns the result of interpreting the object as an instance of 'State'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'State'.
        See Also:
        doSwitch(EObject)
      • caseStrategy

        public T1 caseStrategy​(Strategy object)
        Returns the result of interpreting the object as an instance of 'Strategy'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Strategy'.
        See Also:
        doSwitch(EObject)
      • caseItem

        public T1 caseItem​(Item object)
        Returns the result of interpreting the object as an instance of 'Item'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Item'.
        See Also:
        doSwitch(EObject)
      • caseAdapter

        public T1 caseAdapter​(org.eclipse.emf.common.notify.Adapter object)
        Returns the result of interpreting the object as an instance of 'Adapter'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Adapter'.
        See Also:
        doSwitch(EObject)
      • caseWorkspace

        public T1 caseWorkspace​(Workspace object)
        Returns the result of interpreting the object as an instance of 'Workspace'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Workspace'.
        See Also:
        doSwitch(EObject)
      • caseLongToStateMapEntry

        public T1 caseLongToStateMapEntry​(java.util.Map.Entry<java.lang.Long,​State> object)
        Returns the result of interpreting the object as an instance of 'Long To State Map Entry'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Long To State Map Entry'.
        See Also:
        doSwitch(EObject)
      • caseVersionToRevisionMapEntry

        public T1 caseVersionToRevisionMapEntry​(java.util.Map.Entry<org.osgi.framework.Version,​Revision> object)
        Returns the result of interpreting the object as an instance of 'Version To Revision Map Entry'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Version To Revision Map Entry'.
        See Also:
        doSwitch(EObject)
      • caseISchedulingRule

        public T1 caseISchedulingRule​(org.eclipse.core.runtime.jobs.ISchedulingRule object)
        Returns the result of interpreting the object as an instance of 'IScheduling Rule'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'IScheduling Rule'.
        See Also:
        doSwitch(EObject)
      • caseExecutor

        public T1 caseExecutor​(java.util.concurrent.Executor object)
        Returns the result of interpreting the object as an instance of 'Executor'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Executor'.
        See Also:
        doSwitch(EObject)
      • caseFuture

        public <V> T1 caseFuture​(java.util.concurrent.Future<V> object)
        Returns the result of interpreting the object as an instance of 'Future'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Future'.
        See Also:
        doSwitch(EObject)
      • caseIAdapterFactory

        public T1 caseIAdapterFactory​(org.eclipse.core.runtime.IAdapterFactory object)
        Returns the result of interpreting the object as an instance of 'IAdapter Factory'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'IAdapter Factory'.
        See Also:
        doSwitch(EObject)
      • caseCustomizer

        public T1 caseCustomizer​(Customizer object)
        Returns the result of interpreting the object as an instance of 'Customizer'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Customizer'.
        See Also:
        doSwitch(EObject)
      • caseStageQualifier

        public T1 caseStageQualifier​(StageQualifier object)
        Returns the result of interpreting the object as an instance of 'Stage Qualifier'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Stage Qualifier'.
        See Also:
        doSwitch(EObject)
      • caseStageQualifierToCustomizerMapEntry

        public T1 caseStageQualifierToCustomizerMapEntry​(java.util.Map.Entry<StageQualifier,​Customizer> object)
        Returns the result of interpreting the object as an instance of 'Stage Qualifier To Customizer Map Entry'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Stage Qualifier To Customizer Map Entry'.
        See Also:
        doSwitch(EObject)
      • caseProject

        public T1 caseProject​(Project object)
        Returns the result of interpreting the object as an instance of 'Project'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Project'.
        See Also:
        doSwitch(EObject)
      • caseModelPair

        public T1 caseModelPair​(ModelPair object)
        Returns the result of interpreting the object as an instance of 'Model Pair'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Model Pair'.
        See Also:
        doSwitch(EObject)
      • caseSCMOperator

        public <T> T1 caseSCMOperator​(SCMOperator<T> object)
        Returns the result of interpreting the object as an instance of 'SCM Operator'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'SCM Operator'.
        See Also:
        doSwitch(EObject)
      • caseSCMRegistry

        public <T> T1 caseSCMRegistry​(SCMRegistry<T> object)
        Returns the result of interpreting the object as an instance of 'SCM Registry'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'SCM Registry'.
        See Also:
        doSwitch(EObject)
      • caseResource

        public T1 caseResource​(org.eclipse.emf.ecore.resource.Resource object)
        Returns the result of interpreting the object as an instance of 'Resource'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Resource'.
        See Also:
        doSwitch(EObject)
      • caseResourceChangeListener

        public T1 caseResourceChangeListener​(ResourceChangeListener object)
        Returns the result of interpreting the object as an instance of 'Resource Change Listener'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Resource Change Listener'.
        See Also:
        doSwitch(EObject)
      • caseNotification

        public T1 caseNotification​(org.eclipse.emf.common.notify.Notification object)
        Returns the result of interpreting the object as an instance of 'Notification'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Notification'.
        See Also:
        doSwitch(EObject)
      • caseCompletionListener

        public T1 caseCompletionListener​(CompletionListener object)
        Returns the result of interpreting the object as an instance of 'Completion Listener'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Completion Listener'.
        See Also:
        doSwitch(EObject)
      • caseWorker

        public T1 caseWorker​(Worker object)
        Returns the result of interpreting the object as an instance of 'Worker'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Worker'.
        See Also:
        doSwitch(EObject)
      • caseSelectRevealHandler

        public T1 caseSelectRevealHandler​(SelectRevealHandler object)
        Returns the result of interpreting the object as an instance of 'Select Reveal Handler'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Select Reveal Handler'.
        See Also:
        doSwitch(EObject)
      • caseResourceAdapter

        public T1 caseResourceAdapter​(ResourceAdapter object)
        Returns the result of interpreting the object as an instance of 'Resource Adapter'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Resource Adapter'.
        See Also:
        doSwitch(EObject)
      • caseClassMakerService

        public T1 caseClassMakerService​(ClassMakerService object)
        Returns the result of interpreting the object as an instance of 'Service'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Service'.
        See Also:
        doSwitch(EObject)
      • caseBlueprint

        public T1 caseBlueprint​(Blueprint object)
        Returns the result of interpreting the object as an instance of 'Blueprint'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Blueprint'.
        See Also:
        doSwitch(EObject)
      • caseCompletionNotificationAdapter

        public T1 caseCompletionNotificationAdapter​(CompletionNotificationAdapter object)
        Returns the result of interpreting the object as an instance of 'Completion Notification Adapter'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Completion Notification Adapter'.
        See Also:
        doSwitch(EObject)
      • defaultCase

        public T1 defaultCase​(org.eclipse.emf.ecore.EObject object)
        Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.
        Overrides:
        defaultCase in class org.eclipse.emf.ecore.util.Switch<T1>
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'EObject'.
        See Also:
        Switch.doSwitch(org.eclipse.emf.ecore.EObject)