Class TacticdslSwitch<T>

java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
org.contextmapper.tactic.dsl.tacticdsl.util.TacticdslSwitch<T>

public class TacticdslSwitch<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

    • modelPackage

      protected static TacticdslPackage modelPackage
      The cached model package
      Generated:
  • Constructor Details

    • TacticdslSwitch

      public TacticdslSwitch()
      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:
    • caseTacticDDDModel

      public T caseTacticDDDModel(TacticDDDModel object)
      Returns the result of interpreting the object as an instance of 'Tactic DDD 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 'Tactic DDD Model'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseTacticDDDApplication

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

      public T caseService(Service 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)
      Generated:
    • caseResource

      public T caseResource(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)
      Generated:
    • caseConsumer

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

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

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

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

      public T caseDomainObjectTypedElement(DomainObjectTypedElement object)
      Returns the result of interpreting the object as an instance of 'Domain Object Typed 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 'Domain Object Typed Element'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseServiceOperation

      public T caseServiceOperation(ServiceOperation object)
      Returns the result of interpreting the object as an instance of 'Service 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 'Service Operation'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseStateTransition

      public T caseStateTransition(StateTransition object)
      Returns the result of interpreting the object as an instance of 'State 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 'State Transition'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseStateTransitionTarget

      public T caseStateTransitionTarget(StateTransitionTarget object)
      Returns the result of interpreting the object as an instance of 'State Transition Target'. 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 Transition Target'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseSingleStateTransitionTarget

      public T caseSingleStateTransitionTarget(SingleStateTransitionTarget object)
      Returns the result of interpreting the object as an instance of 'Single State Transition Target'. 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 State Transition Target'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseExclusiveAlternativeStateTransitionTarget

      public T caseExclusiveAlternativeStateTransitionTarget(ExclusiveAlternativeStateTransitionTarget object)
      Returns the result of interpreting the object as an instance of 'Exclusive Alternative State Transition Target'. 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 State Transition Target'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseTargetState

      public T caseTargetState(TargetState object)
      Returns the result of interpreting the object as an instance of 'Target 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 'Target State'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseServiceOperationDelegate

      public T caseServiceOperationDelegate(ServiceOperationDelegate object)
      Returns the result of interpreting the object as an instance of 'Service Operation Delegate'. 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 Operation Delegate'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseServiceRepositoryOption

      public T caseServiceRepositoryOption(ServiceRepositoryOption object)
      Returns the result of interpreting the object as an instance of 'Service Repository Option'. 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 Repository Option'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseServiceRepositoryOperationOption

      public T caseServiceRepositoryOperationOption(ServiceRepositoryOperationOption object)
      Returns the result of interpreting the object as an instance of 'Service Repository Operation Option'. 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 Repository Operation Option'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseResourceOperation

      public T caseResourceOperation(ResourceOperation object)
      Returns the result of interpreting the object as an instance of 'Resource 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 'Resource Operation'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseResourceOperationDelegate

      public T caseResourceOperationDelegate(ResourceOperationDelegate object)
      Returns the result of interpreting the object as an instance of 'Resource Operation Delegate'. 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 Operation Delegate'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseRepositoryOperation

      public T caseRepositoryOperation(RepositoryOperation object)
      Returns the result of interpreting the object as an instance of 'Repository 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 'Repository Operation'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseParameter

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

      public T caseComplexType(ComplexType object)
      Returns the result of interpreting the object as an instance of 'Complex Type'. 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 'Complex Type'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseSimpleDomainObject

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

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

      public T caseValueObject(ValueObject object)
      Returns the result of interpreting the object as an instance of 'Value Object'. 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 'Value Object'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseDomainEvent

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

      public T caseCommandEvent(CommandEvent object)
      Returns the result of interpreting the object as an instance of 'Command Event'. 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 Event'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseTrait

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

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

      public T caseDataTransferObject(DataTransferObject object)
      Returns the result of interpreting the object as an instance of 'Data Transfer Object'. 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 'Data Transfer Object'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseBasicType

      public T caseBasicType(BasicType object)
      Returns the result of interpreting the object as an instance of 'Basic Type'. 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 'Basic Type'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseAttribute

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

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

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

      public T caseDtoAttribute(DtoAttribute object)
      Returns the result of interpreting the object as an instance of 'Dto Attribute'. 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 'Dto Attribute'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseDtoReference

      public T caseDtoReference(DtoReference object)
      Returns the result of interpreting the object as an instance of 'Dto Reference'. 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 'Dto Reference'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseOppositeHolder

      public T caseOppositeHolder(OppositeHolder object)
      Returns the result of interpreting the object as an instance of 'Opposite Holder'. 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 'Opposite Holder'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • 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:
      • doSwitch(EObject)
      Generated:
    • caseServiceDependency

      public T caseServiceDependency(ServiceDependency object)
      Returns the result of interpreting the object as an instance of 'Service Dependency'. 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 Dependency'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseDependency

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

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

      public T caseEnumAttribute(EnumAttribute object)
      Returns the result of interpreting the object as an instance of 'Enum Attribute'. 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 'Enum Attribute'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseEnumValue

      public T caseEnumValue(EnumValue object)
      Returns the result of interpreting the object as an instance of 'Enum Value'. 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 'Enum Value'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseEnumParameter

      public T caseEnumParameter(EnumParameter object)
      Returns the result of interpreting the object as an instance of 'Enum 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 'Enum Parameter'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseAnyProperty

      public T caseAnyProperty(AnyProperty object)
      Returns the result of interpreting the object as an instance of 'Any Property'. 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 'Any Property'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseProperty

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

      public T caseDtoProperty(DtoProperty object)
      Returns the result of interpreting the object as an instance of 'Dto Property'. 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 'Dto Property'.
      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: