java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
com.palladiosimulator.textual.repository.repoLang.util.RepoLangSwitch<T>

public class RepoLangSwitch<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 RepoLangPackage modelPackage
      The cached model package
      Generated class or method.
  • Constructor Details

    • RepoLangSwitch

      public RepoLangSwitch()
      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.
    • caseRepository

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

      public T caseImportedRepository(ImportedRepository object)
      Returns the result of interpreting the object as an instance of 'Imported Repository'. 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 'Imported Repository'.
      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.
    • caseInterface

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

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

      public T caseSignatureParameter(SignatureParameter object)
      Returns the result of interpreting the object as an instance of 'Signature Parameter'. 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 'Signature Parameter'.
      See Also:
      Generated class or method.
    • caseComponent

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

      public T caseRoleSpecification(RoleSpecification object)
      Returns the result of interpreting the object as an instance of 'Role 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 'Role Specification'.
      See Also:
      Generated class or method.
    • caseCompositeComponent

      public T caseCompositeComponent(CompositeComponent object)
      Returns the result of interpreting the object as an instance of 'Composite Component'. 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 'Composite Component'.
      See Also:
      Generated class or method.
    • caseSeff

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

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

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

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

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

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

      public T caseSeffSetReturnAction(SeffSetReturnAction object)
      Returns the result of interpreting the object as an instance of 'Seff Set 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 'Seff Set Return Action'.
      See Also:
      Generated class or method.
    • caseSeffSetVariableAction

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

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

      public T caseSeffCallParameter(SeffCallParameter object)
      Returns the result of interpreting the object as an instance of 'Seff Call Parameter'. 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 'Seff Call Parameter'.
      See Also:
      Generated class or method.
    • caseSeffReferenceParameter

      public T caseSeffReferenceParameter(SeffReferenceParameter object)
      Returns the result of interpreting the object as an instance of 'Seff Reference Parameter'. 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 'Seff Reference Parameter'.
      See Also:
      Generated class or method.
    • caseSeffReturnParameter

      public T caseSeffReturnParameter(SeffReturnParameter object)
      Returns the result of interpreting the object as an instance of 'Seff Return Parameter'. 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 'Seff Return Parameter'.
      See Also:
      Generated class or method.
    • caseSeffVariableChar

      public T caseSeffVariableChar(SeffVariableChar object)
      Returns the result of interpreting the object as an instance of 'Seff Variable Char'. 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 'Seff Variable Char'.
      See Also:
      Generated class or method.
    • caseSeffProbabilisticBranchAction

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

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

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

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

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

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

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

      public T caseSubSeff(SubSeff object)
      Returns the result of interpreting the object as an instance of 'Sub 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 'Sub Seff'.
      See Also:
      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:
      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.