Class ClassMakerSwitch<T1>

java.lang.Object
org.eclipse.emf.ecore.util.Switch<T1>
org.enterprisedomain.classmaker.util.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:
  • Constructor Details

    • ClassMakerSwitch

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

    • 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(Map.Entry<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(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(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(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(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)
    • caseModels

      public T1 caseModels(Models object)
      Returns the result of interpreting the object as an instance of 'Models'. 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 'Models'.
      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)
    • 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)
    • caseNotifier

      public T1 caseNotifier(org.eclipse.emf.common.notify.Notifier object)
      Returns the result of interpreting the object as an instance of 'Notifier'. 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 'Notifier'.
      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)