Class SimucomstatusSwitch<T>

  • Direct Known Subclasses:
    ProcessActionPrintVisitor

    public class SimucomstatusSwitch<T>
    extends Object
    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:
    SimucomstatusPackage
    Generated class or method.
    • Field Detail

      • modelPackage

        protected static SimucomstatusPackage modelPackage
        The cached model package
        Generated class or method.
    • Constructor Detail

      • SimucomstatusSwitch

        public SimucomstatusSwitch()
        Creates an instance of the switch.
        Generated class or method.
    • Method Detail

      • doSwitch

        public T doSwitch​(EObject theEObject)
        Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
        Returns:
        the first non-null result returned by a caseXXX call.
        Generated class or method.
      • doSwitch

        protected T doSwitch​(EClass theEClass,
                             EObject theEObject)
        Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
        Returns:
        the first non-null result returned by a caseXXX call.
        Generated class or method.
      • doSwitch

        protected T doSwitch​(int classifierID,
                             EObject theEObject)
        Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
        Returns:
        the first non-null result returned by a caseXXX call.
        Generated class or method.
      • caseSimuComStatus

        public T caseSimuComStatus​(SimuComStatus object)
        Returns the result of interpreting the object as an instance of 'Simu Com Status'. 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 'Simu Com Status'.
        See Also:
        doSwitch(EObject)
        Generated class or method.
      • caseSimulatedProcesses

        public T caseSimulatedProcesses​(SimulatedProcesses object)
        Returns the result of interpreting the object as an instance of 'Simulated Processes '. 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 'Simulated Processes '.
        See Also:
        doSwitch(EObject)
        Generated class or method.
      • caseProcess

        public T caseProcess​(Process object)
        Returns the result of interpreting the object as an instance of 'Process'. 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 'Process'.
        See Also:
        doSwitch(EObject)
        Generated class or method.
      • caseAction

        public T caseAction​(Action object)
        Returns the result of interpreting the object as an instance of 'Action'. 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 'Action'.
        See Also:
        doSwitch(EObject)
        Generated class or method.
      • caseSimulatedResources

        public T caseSimulatedResources​(SimulatedResources object)
        Returns the result of interpreting the object as an instance of 'Simulated Resources '. 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 'Simulated Resources '.
        See Also:
        doSwitch(EObject)
        Generated class or method.
      • caseActiveResouce

        public T caseActiveResouce​(ActiveResouce object)
        Returns the result of interpreting the object as an instance of 'Active Resouce'. 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 'Active Resouce'.
        See Also:
        doSwitch(EObject)
        Generated class or method.
      • caseWaitForDemand

        public T caseWaitForDemand​(WaitForDemand object)
        Returns the result of interpreting the object as an instance of 'Wait For Demand'. 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 'Wait For Demand'.
        See Also:
        doSwitch(EObject)
        Generated class or method.
      • casePassiveResource

        public T casePassiveResource​(PassiveResource object)
        Returns the result of interpreting the object as an instance of 'Passive 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 'Passive Resource'.
        See Also:
        doSwitch(EObject)
        Generated class or method.
      • caseWaitForAcquire

        public T caseWaitForAcquire​(WaitForAcquire object)
        Returns the result of interpreting the object as an instance of 'Wait For Acquire'. 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 'Wait For Acquire'.
        See Also:
        doSwitch(EObject)
        Generated class or method.
      • caseWaitForDelay

        public T caseWaitForDelay​(WaitForDelay object)
        Returns the result of interpreting the object as an instance of 'Wait For Delay'. 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 'Wait For Delay'.
        See Also:
        doSwitch(EObject)
        Generated class or method.
      • defaultCase

        public T defaultCase​(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.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'EObject'.
        See Also:
        doSwitch(org.eclipse.emf.ecore.EObject)
        Generated class or method.