Class ContextMappingDSLSwitch<T>

java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
org.contextmapper.dsl.contextMappingDSL.util.ContextMappingDSLSwitch<T>

public class ContextMappingDSLSwitch<T> extends org.eclipse.emf.ecore.util.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:
  • Field Details

  • Constructor Details

    • ContextMappingDSLSwitch

      public ContextMappingDSLSwitch()
      Creates an instance of the switch.
      Generated:
  • Method Details

    • isSwitchFor

      protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
      Checks whether this is a switch for the given package.
      Specified by:
      isSwitchFor in class org.eclipse.emf.ecore.util.Switch<T>
      Parameters:
      ePackage - the package in question.
      Returns:
      whether this is a switch for the given package.
      Generated:
    • doSwitch

      protected T doSwitch(int classifierID, org.eclipse.emf.ecore.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 org.eclipse.emf.ecore.util.Switch<T>
      Returns:
      the first non-null result returned by a caseXXX call.
      Generated:
    • caseContextMappingModel

      public T caseContextMappingModel(ContextMappingModel object)
      Returns the result of interpreting the object as an instance of 'Context Mapping Model'. 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 'Context Mapping Model'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseImport

      public T caseImport(Import object)
      Returns the result of interpreting the object as an instance of 'Import'. 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 'Import'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseContextMap

      public T caseContextMap(ContextMap object)
      Returns the result of interpreting the object as an instance of 'Context Map'. 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 'Context Map'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseBoundedContext

      public T caseBoundedContext(BoundedContext object)
      Returns the result of interpreting the object as an instance of 'Bounded Context'. 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 'Bounded Context'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseDomainPart

      public T caseDomainPart(DomainPart object)
      Returns the result of interpreting the object as an instance of 'Domain Part'. 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 'Domain Part'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseDomain

      public T caseDomain(Domain object)
      Returns the result of interpreting the object as an instance of 'Domain'. 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 'Domain'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseSubdomain

      public T caseSubdomain(Subdomain object)
      Returns the result of interpreting the object as an instance of 'Subdomain'. 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 'Subdomain'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseRelationship

      public T caseRelationship(Relationship object)
      Returns the result of interpreting the object as an instance of 'Relationship'. 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 'Relationship'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseSymmetricRelationship

      public T caseSymmetricRelationship(SymmetricRelationship object)
      Returns the result of interpreting the object as an instance of 'Symmetric Relationship'. 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 'Symmetric Relationship'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • casePartnership

      public T casePartnership(Partnership object)
      Returns the result of interpreting the object as an instance of 'Partnership'. 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 'Partnership'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseSharedKernel

      public T caseSharedKernel(SharedKernel object)
      Returns the result of interpreting the object as an instance of 'Shared Kernel'. 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 'Shared Kernel'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseUpstreamDownstreamRelationship

      public T caseUpstreamDownstreamRelationship(UpstreamDownstreamRelationship object)
      Returns the result of interpreting the object as an instance of 'Upstream Downstream Relationship'. 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 'Upstream Downstream Relationship'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseCustomerSupplierRelationship

      public T caseCustomerSupplierRelationship(CustomerSupplierRelationship object)
      Returns the result of interpreting the object as an instance of 'Customer Supplier Relationship'. 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 'Customer Supplier Relationship'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseAggregate

      public T caseAggregate(Aggregate object)
      Returns the result of interpreting the object as an instance of 'Aggregate'. 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 'Aggregate'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseApplication

      public T caseApplication(Application object)
      Returns the result of interpreting the object as an instance of 'Application'. 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 'Application'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseFlow

      public T caseFlow(Flow object)
      Returns the result of interpreting the object as an instance of 'Flow'. 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 'Flow'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseFlowStep

      public T caseFlowStep(FlowStep object)
      Returns the result of interpreting the object as an instance of 'Flow Step'. 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 'Flow Step'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseDomainEventProductionStep

      public T caseDomainEventProductionStep(DomainEventProductionStep object)
      Returns the result of interpreting the object as an instance of 'Domain Event Production Step'. 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 'Domain Event Production Step'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseCommandInvokationStep

      public T caseCommandInvokationStep(CommandInvokationStep object)
      Returns the result of interpreting the object as an instance of 'Command Invokation Step'. 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 'Command Invokation Step'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseEitherCommandOrOperation

      public T caseEitherCommandOrOperation(EitherCommandOrOperation object)
      Returns the result of interpreting the object as an instance of 'Either Command Or Operation'. 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 'Either Command Or Operation'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseEitherCommandOrOperationInvokation

      public T caseEitherCommandOrOperationInvokation(EitherCommandOrOperationInvokation object)
      Returns the result of interpreting the object as an instance of 'Either Command Or Operation Invokation'. 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 'Either Command Or Operation Invokation'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseCommandInvokation

      public T caseCommandInvokation(CommandInvokation object)
      Returns the result of interpreting the object as an instance of 'Command Invokation'. 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 'Command Invokation'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseSingleCommandInvokation

      public T caseSingleCommandInvokation(SingleCommandInvokation object)
      Returns the result of interpreting the object as an instance of 'Single Command Invokation'. 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 'Single Command Invokation'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseConcurrentCommandInvokation

      public T caseConcurrentCommandInvokation(ConcurrentCommandInvokation object)
      Returns the result of interpreting the object as an instance of 'Concurrent Command Invokation'. 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 'Concurrent Command Invokation'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseExclusiveAlternativeCommandInvokation

      public T caseExclusiveAlternativeCommandInvokation(ExclusiveAlternativeCommandInvokation object)
      Returns the result of interpreting the object as an instance of 'Exclusive Alternative Command Invokation'. 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 'Exclusive Alternative Command Invokation'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseInclusiveAlternativeCommandInvokation

      public T caseInclusiveAlternativeCommandInvokation(InclusiveAlternativeCommandInvokation object)
      Returns the result of interpreting the object as an instance of 'Inclusive Alternative Command Invokation'. 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 'Inclusive Alternative Command Invokation'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseOperationInvokation

      public T caseOperationInvokation(OperationInvokation object)
      Returns the result of interpreting the object as an instance of 'Operation Invokation'. 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 'Operation Invokation'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseSingleOperationInvokation

      public T caseSingleOperationInvokation(SingleOperationInvokation object)
      Returns the result of interpreting the object as an instance of 'Single Operation Invokation'. 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 'Single Operation Invokation'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseConcurrentOperationInvokation

      public T caseConcurrentOperationInvokation(ConcurrentOperationInvokation object)
      Returns the result of interpreting the object as an instance of 'Concurrent Operation Invokation'. 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 'Concurrent Operation Invokation'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseExclusiveAlternativeOperationInvokation

      public T caseExclusiveAlternativeOperationInvokation(ExclusiveAlternativeOperationInvokation object)
      Returns the result of interpreting the object as an instance of 'Exclusive Alternative Operation Invokation'. 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 'Exclusive Alternative Operation Invokation'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseInclusiveAlternativeOperationInvokation

      public T caseInclusiveAlternativeOperationInvokation(InclusiveAlternativeOperationInvokation object)
      Returns the result of interpreting the object as an instance of 'Inclusive Alternative Operation Invokation'. 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 'Inclusive Alternative Operation Invokation'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseEventProduction

      public T caseEventProduction(EventProduction object)
      Returns the result of interpreting the object as an instance of 'Event Production'. 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 'Event Production'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseSingleEventProduction

      public T caseSingleEventProduction(SingleEventProduction object)
      Returns the result of interpreting the object as an instance of 'Single Event Production'. 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 'Single Event Production'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseMultipleEventProduction

      public T caseMultipleEventProduction(MultipleEventProduction object)
      Returns the result of interpreting the object as an instance of 'Multiple Event Production'. 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 'Multiple Event Production'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseExclusiveAlternativeEventProduction

      public T caseExclusiveAlternativeEventProduction(ExclusiveAlternativeEventProduction object)
      Returns the result of interpreting the object as an instance of 'Exclusive Alternative Event Production'. 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 'Exclusive Alternative Event Production'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseInclusiveAlternativeEventProduction

      public T caseInclusiveAlternativeEventProduction(InclusiveAlternativeEventProduction object)
      Returns the result of interpreting the object as an instance of 'Inclusive Alternative Event Production'. 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 'Inclusive Alternative Event Production'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseUserRequirement

      public T caseUserRequirement(UserRequirement object)
      Returns the result of interpreting the object as an instance of 'User Requirement'. 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 'User Requirement'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseUseCase

      public T caseUseCase(UseCase object)
      Returns the result of interpreting the object as an instance of 'Use Case'. 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 'Use Case'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseUserStory

      public T caseUserStory(UserStory object)
      Returns the result of interpreting the object as an instance of 'User Story'. 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 'User Story'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseFeature

      public T caseFeature(Feature object)
      Returns the result of interpreting the object as an instance of 'Feature'. 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 'Feature'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseNormalFeature

      public T caseNormalFeature(NormalFeature object)
      Returns the result of interpreting the object as an instance of 'Normal Feature'. 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 'Normal Feature'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseStoryFeature

      public T caseStoryFeature(StoryFeature object)
      Returns the result of interpreting the object as an instance of 'Story Feature'. 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 'Story Feature'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseSculptorModule

      public T caseSculptorModule(SculptorModule object)
      Returns the result of interpreting the object as an instance of 'Sculptor Module'. 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 'Sculptor Module'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • defaultCase

      public T 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<T>
      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)
      Generated: