Class SeffSwitch<T>

java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
org.palladiosimulator.pcm.seff.util.SeffSwitch<T>

public class SeffSwitch<T> extends Switch<T>
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:
Generated class or method.
  • Field Details

    • modelPackage

      protected static SeffPackage modelPackage
      The cached model package
      Generated class or method.
  • Constructor Details

    • SeffSwitch

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

    • isSwitchFor

      protected boolean isSwitchFor(EPackage ePackage)
      Checks whether this is a switch for the given package.
      Specified by:
      isSwitchFor in class Switch<T>
      Parameters:
      ePackage - the package in question.
      Returns:
      whether this is a switch for the given package.
      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.
      Overrides:
      doSwitch in class Switch<T>
      Returns:
      the first non-null result returned by a caseXXX call.
      Generated class or method.
    • caseStopAction

      public T caseStopAction(StopAction object)
      Returns the result of interpreting the object as an instance of 'Stop 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 'Stop Action'.
      See Also:
      Generated class or method.
    • caseAbstractInternalControlFlowAction

      public T caseAbstractInternalControlFlowAction(AbstractInternalControlFlowAction object)
      Returns the result of interpreting the object as an instance of 'Abstract Internal Control Flow 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 'Abstract Internal Control Flow Action'.
      See Also:
      Generated class or method.
    • caseAbstractAction

      public T caseAbstractAction(AbstractAction object)
      Returns the result of interpreting the object as an instance of 'Abstract 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 'Abstract Action'.
      See Also:
      Generated class or method.
    • caseResourceDemandingBehaviour

      public T caseResourceDemandingBehaviour(ResourceDemandingBehaviour object)
      Returns the result of interpreting the object as an instance of 'Resource Demanding Behaviour'. 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 Demanding Behaviour'.
      See Also:
      Generated class or method.
    • caseAbstractLoopAction

      public T caseAbstractLoopAction(AbstractLoopAction object)
      Returns the result of interpreting the object as an instance of 'Abstract Loop 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 'Abstract Loop Action'.
      See Also:
      Generated class or method.
    • caseAbstractBranchTransition

      public T caseAbstractBranchTransition(AbstractBranchTransition object)
      Returns the result of interpreting the object as an instance of 'Abstract Branch Transition'. 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 'Abstract Branch Transition'.
      See Also:
      Generated class or method.
    • caseBranchAction

      public T caseBranchAction(BranchAction object)
      Returns the result of interpreting the object as an instance of 'Branch 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 'Branch Action'.
      See Also:
      Generated class or method.
    • caseCallAction

      public T caseCallAction(CallAction object)
      Returns the result of interpreting the object as an instance of 'Call 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 'Call Action'.
      See Also:
      Generated class or method.
    • caseStartAction

      public T caseStartAction(StartAction object)
      Returns the result of interpreting the object as an instance of 'Start 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 'Start Action'.
      See Also:
      Generated class or method.
    • caseServiceEffectSpecification

      public T caseServiceEffectSpecification(ServiceEffectSpecification object)
      Returns the result of interpreting the object as an instance of 'Service Effect Specification'. 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 Effect Specification'.
      See Also:
      Generated class or method.
    • caseResourceDemandingSEFF

      public T caseResourceDemandingSEFF(ResourceDemandingSEFF object)
      Returns the result of interpreting the object as an instance of 'Resource Demanding SEFF'. 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 Demanding SEFF'.
      See Also:
      Generated class or method.
    • caseResourceDemandingInternalBehaviour

      public T caseResourceDemandingInternalBehaviour(ResourceDemandingInternalBehaviour object)
      Returns the result of interpreting the object as an instance of 'Resource Demanding Internal Behaviour'. 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 Demanding Internal Behaviour'.
      See Also:
      Generated class or method.
    • caseReleaseAction

      public T caseReleaseAction(ReleaseAction object)
      Returns the result of interpreting the object as an instance of 'Release 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 'Release Action'.
      See Also:
      Generated class or method.
    • caseLoopAction

      public T caseLoopAction(LoopAction object)
      Returns the result of interpreting the object as an instance of 'Loop 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 'Loop Action'.
      See Also:
      Generated class or method.
    • caseForkAction

      public T caseForkAction(ForkAction object)
      Returns the result of interpreting the object as an instance of 'Fork 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 'Fork Action'.
      See Also:
      Generated class or method.
    • caseForkedBehaviour

      public T caseForkedBehaviour(ForkedBehaviour object)
      Returns the result of interpreting the object as an instance of 'Forked Behaviour'. 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 'Forked Behaviour'.
      See Also:
      Generated class or method.
    • caseSynchronisationPoint

      public T caseSynchronisationPoint(SynchronisationPoint object)
      Returns the result of interpreting the object as an instance of 'Synchronisation Point'. 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 'Synchronisation Point'.
      See Also:
      Generated class or method.
    • caseExternalCallAction

      public T caseExternalCallAction(ExternalCallAction object)
      Returns the result of interpreting the object as an instance of 'External Call 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 'External Call Action'.
      See Also:
      Generated class or method.
    • caseCallReturnAction

      public T caseCallReturnAction(CallReturnAction object)
      Returns the result of interpreting the object as an instance of 'Call Return 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 'Call Return Action'.
      See Also:
      Generated class or method.
    • caseProbabilisticBranchTransition

      public T caseProbabilisticBranchTransition(ProbabilisticBranchTransition object)
      Returns the result of interpreting the object as an instance of 'Probabilistic Branch Transition'. 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 'Probabilistic Branch Transition'.
      See Also:
      Generated class or method.
    • caseAcquireAction

      public T caseAcquireAction(AcquireAction object)
      Returns the result of interpreting the object as an instance of 'Acquire 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 'Acquire Action'.
      See Also:
      Generated class or method.
    • caseCollectionIteratorAction

      public T caseCollectionIteratorAction(CollectionIteratorAction object)
      Returns the result of interpreting the object as an instance of 'Collection Iterator 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 'Collection Iterator Action'.
      See Also:
      Generated class or method.
    • caseGuardedBranchTransition

      public T caseGuardedBranchTransition(GuardedBranchTransition object)
      Returns the result of interpreting the object as an instance of 'Guarded Branch Transition'. 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 'Guarded Branch Transition'.
      See Also:
      Generated class or method.
    • caseSetVariableAction

      public T caseSetVariableAction(SetVariableAction object)
      Returns the result of interpreting the object as an instance of 'Set Variable 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 'Set Variable Action'.
      See Also:
      Generated class or method.
    • caseInternalCallAction

      public T caseInternalCallAction(InternalCallAction object)
      Returns the result of interpreting the object as an instance of 'Internal Call 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 'Internal Call Action'.
      See Also:
      Generated class or method.
    • caseEmitEventAction

      public T caseEmitEventAction(EmitEventAction object)
      Returns the result of interpreting the object as an instance of 'Emit Event 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 'Emit Event Action'.
      See Also:
      Generated class or method.
    • caseInternalAction

      public T caseInternalAction(InternalAction object)
      Returns the result of interpreting the object as an instance of 'Internal 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 'Internal Action'.
      See Also:
      Generated class or method.
    • caseIdentifier

      public T caseIdentifier(de.uka.ipd.sdq.identifier.Identifier object)
      Returns the result of interpreting the object as an instance of 'Identifier'. 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 'Identifier'.
      See Also:
      Generated class or method.
    • casePCMClass

      public T casePCMClass(PCMClass object)
      Returns the result of interpreting the object as an instance of 'PCM Class'. 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 'PCM Class'.
      See Also:
      Generated class or method.
    • casePCMBaseClass

      public T casePCMBaseClass(PCMBaseClass object)
      Returns the result of interpreting the object as an instance of 'PCM Base Class'. 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 'PCM Base Class'.
      See Also:
      Generated class or method.
    • caseNamedElement

      public T caseNamedElement(NamedElement object)
      Returns the result of interpreting the object as an instance of 'Named Element'. 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 'Named Element'.
      See Also:
      Generated class or method.
    • caseEntity

      public T caseEntity(Entity object)
      Returns the result of interpreting the object as an instance of 'Entity'. 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 'Entity'.
      See Also:
      Generated class or method.
    • caseFailureHandlingEntity

      public T caseFailureHandlingEntity(FailureHandlingEntity object)
      Returns the result of interpreting the object as an instance of 'Failure Handling Entity'. 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 'Failure Handling Entity'.
      See Also:
      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.
      Overrides:
      defaultCase in class Switch<T>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'EObject'.
      See Also:
      Generated class or method.