All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.contextmapper.tactic.dsl.tacticdsl.util.TacticdslSwitch Maven / Gradle / Ivy

There is a newer version: 6.12.0
Show newest version
/**
 * generated by Xtext 2.20.0
 */
package org.contextmapper.tactic.dsl.tacticdsl.util;

import org.contextmapper.tactic.dsl.tacticdsl.AnyProperty;
import org.contextmapper.tactic.dsl.tacticdsl.Application;
import org.contextmapper.tactic.dsl.tacticdsl.Attribute;
import org.contextmapper.tactic.dsl.tacticdsl.BasicType;
import org.contextmapper.tactic.dsl.tacticdsl.CommandEvent;
import org.contextmapper.tactic.dsl.tacticdsl.ComplexType;
import org.contextmapper.tactic.dsl.tacticdsl.Consumer;
import org.contextmapper.tactic.dsl.tacticdsl.DataTransferObject;
import org.contextmapper.tactic.dsl.tacticdsl.Dependency;
import org.contextmapper.tactic.dsl.tacticdsl.DomainEvent;
import org.contextmapper.tactic.dsl.tacticdsl.DomainObject;
import org.contextmapper.tactic.dsl.tacticdsl.DomainObjectOperation;
import org.contextmapper.tactic.dsl.tacticdsl.DomainObjectTypedElement;
import org.contextmapper.tactic.dsl.tacticdsl.DtoAttribute;
import org.contextmapper.tactic.dsl.tacticdsl.DtoProperty;
import org.contextmapper.tactic.dsl.tacticdsl.DtoReference;
import org.contextmapper.tactic.dsl.tacticdsl.Entity;
import org.contextmapper.tactic.dsl.tacticdsl.EnumAttribute;
import org.contextmapper.tactic.dsl.tacticdsl.EnumParameter;
import org.contextmapper.tactic.dsl.tacticdsl.EnumValue;
import org.contextmapper.tactic.dsl.tacticdsl.Event;
import org.contextmapper.tactic.dsl.tacticdsl.OppositeHolder;
import org.contextmapper.tactic.dsl.tacticdsl.Parameter;
import org.contextmapper.tactic.dsl.tacticdsl.Property;
import org.contextmapper.tactic.dsl.tacticdsl.Publish;
import org.contextmapper.tactic.dsl.tacticdsl.Reference;
import org.contextmapper.tactic.dsl.tacticdsl.Repository;
import org.contextmapper.tactic.dsl.tacticdsl.RepositoryOperation;
import org.contextmapper.tactic.dsl.tacticdsl.Resource;
import org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation;
import org.contextmapper.tactic.dsl.tacticdsl.ResourceOperationDelegate;
import org.contextmapper.tactic.dsl.tacticdsl.Service;
import org.contextmapper.tactic.dsl.tacticdsl.ServiceDependency;
import org.contextmapper.tactic.dsl.tacticdsl.ServiceOperation;
import org.contextmapper.tactic.dsl.tacticdsl.ServiceOperationDelegate;
import org.contextmapper.tactic.dsl.tacticdsl.ServiceRepositoryOperationOption;
import org.contextmapper.tactic.dsl.tacticdsl.ServiceRepositoryOption;
import org.contextmapper.tactic.dsl.tacticdsl.SimpleDomainObject;
import org.contextmapper.tactic.dsl.tacticdsl.Subscribe;
import org.contextmapper.tactic.dsl.tacticdsl.TacticDDDModel;
import org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage;
import org.contextmapper.tactic.dsl.tacticdsl.Trait;
import org.contextmapper.tactic.dsl.tacticdsl.ValueObject;

import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;

import org.eclipse.emf.ecore.util.Switch;

/**
 * 
 * The Switch for the model's inheritance hierarchy.
 * It supports the call {@link #doSwitch(EObject) 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 org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage
 * @generated
 */
public class TacticdslSwitch extends Switch
{
  /**
   * The cached model package
   * 
   * 
   * @generated
   */
  protected static TacticdslPackage modelPackage;

  /**
   * Creates an instance of the switch.
   * 
   * 
   * @generated
   */
  public TacticdslSwitch()
  {
    if (modelPackage == null)
    {
      modelPackage = TacticdslPackage.eINSTANCE;
    }
  }

  /**
   * Checks whether this is a switch for the given package.
   * 
   * 
   * @param ePackage the package in question.
   * @return whether this is a switch for the given package.
   * @generated
   */
  @Override
  protected boolean isSwitchFor(EPackage ePackage)
  {
    return ePackage == modelPackage;
  }

  /**
   * Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
   * 
   * 
   * @return the first non-null result returned by a caseXXX call.
   * @generated
   */
  @Override
  protected T doSwitch(int classifierID, EObject theEObject)
  {
    switch (classifierID)
    {
      case TacticdslPackage.TACTIC_DDD_MODEL:
      {
        TacticDDDModel tacticDDDModel = (TacticDDDModel)theEObject;
        T result = caseTacticDDDModel(tacticDDDModel);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.APPLICATION:
      {
        Application application = (Application)theEObject;
        T result = caseApplication(application);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.SERVICE:
      {
        Service service = (Service)theEObject;
        T result = caseService(service);
        if (result == null) result = caseServiceRepositoryOption(service);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.RESOURCE:
      {
        Resource resource = (Resource)theEObject;
        T result = caseResource(resource);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.CONSUMER:
      {
        Consumer consumer = (Consumer)theEObject;
        T result = caseConsumer(consumer);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.SUBSCRIBE:
      {
        Subscribe subscribe = (Subscribe)theEObject;
        T result = caseSubscribe(subscribe);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.PUBLISH:
      {
        Publish publish = (Publish)theEObject;
        T result = casePublish(publish);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.EVENT:
      {
        Event event = (Event)theEObject;
        T result = caseEvent(event);
        if (result == null) result = caseDomainObject(event);
        if (result == null) result = caseSimpleDomainObject(event);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.DOMAIN_OBJECT_TYPED_ELEMENT:
      {
        DomainObjectTypedElement domainObjectTypedElement = (DomainObjectTypedElement)theEObject;
        T result = caseDomainObjectTypedElement(domainObjectTypedElement);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.SERVICE_OPERATION:
      {
        ServiceOperation serviceOperation = (ServiceOperation)theEObject;
        T result = caseServiceOperation(serviceOperation);
        if (result == null) result = caseDomainObjectTypedElement(serviceOperation);
        if (result == null) result = caseServiceRepositoryOperationOption(serviceOperation);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.SERVICE_OPERATION_DELEGATE:
      {
        ServiceOperationDelegate serviceOperationDelegate = (ServiceOperationDelegate)theEObject;
        T result = caseServiceOperationDelegate(serviceOperationDelegate);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.SERVICE_REPOSITORY_OPTION:
      {
        ServiceRepositoryOption serviceRepositoryOption = (ServiceRepositoryOption)theEObject;
        T result = caseServiceRepositoryOption(serviceRepositoryOption);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.SERVICE_REPOSITORY_OPERATION_OPTION:
      {
        ServiceRepositoryOperationOption serviceRepositoryOperationOption = (ServiceRepositoryOperationOption)theEObject;
        T result = caseServiceRepositoryOperationOption(serviceRepositoryOperationOption);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.RESOURCE_OPERATION:
      {
        ResourceOperation resourceOperation = (ResourceOperation)theEObject;
        T result = caseResourceOperation(resourceOperation);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.RESOURCE_OPERATION_DELEGATE:
      {
        ResourceOperationDelegate resourceOperationDelegate = (ResourceOperationDelegate)theEObject;
        T result = caseResourceOperationDelegate(resourceOperationDelegate);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.REPOSITORY_OPERATION:
      {
        RepositoryOperation repositoryOperation = (RepositoryOperation)theEObject;
        T result = caseRepositoryOperation(repositoryOperation);
        if (result == null) result = caseDomainObjectTypedElement(repositoryOperation);
        if (result == null) result = caseServiceRepositoryOperationOption(repositoryOperation);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.PARAMETER:
      {
        Parameter parameter = (Parameter)theEObject;
        T result = caseParameter(parameter);
        if (result == null) result = caseDomainObjectTypedElement(parameter);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.COMPLEX_TYPE:
      {
        ComplexType complexType = (ComplexType)theEObject;
        T result = caseComplexType(complexType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.SIMPLE_DOMAIN_OBJECT:
      {
        SimpleDomainObject simpleDomainObject = (SimpleDomainObject)theEObject;
        T result = caseSimpleDomainObject(simpleDomainObject);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.DOMAIN_OBJECT:
      {
        DomainObject domainObject = (DomainObject)theEObject;
        T result = caseDomainObject(domainObject);
        if (result == null) result = caseSimpleDomainObject(domainObject);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.ENTITY:
      {
        Entity entity = (Entity)theEObject;
        T result = caseEntity(entity);
        if (result == null) result = caseDomainObject(entity);
        if (result == null) result = caseSimpleDomainObject(entity);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.VALUE_OBJECT:
      {
        ValueObject valueObject = (ValueObject)theEObject;
        T result = caseValueObject(valueObject);
        if (result == null) result = caseDomainObject(valueObject);
        if (result == null) result = caseSimpleDomainObject(valueObject);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.DOMAIN_EVENT:
      {
        DomainEvent domainEvent = (DomainEvent)theEObject;
        T result = caseDomainEvent(domainEvent);
        if (result == null) result = caseEvent(domainEvent);
        if (result == null) result = caseDomainObject(domainEvent);
        if (result == null) result = caseSimpleDomainObject(domainEvent);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.COMMAND_EVENT:
      {
        CommandEvent commandEvent = (CommandEvent)theEObject;
        T result = caseCommandEvent(commandEvent);
        if (result == null) result = caseEvent(commandEvent);
        if (result == null) result = caseDomainObject(commandEvent);
        if (result == null) result = caseSimpleDomainObject(commandEvent);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.TRAIT:
      {
        Trait trait = (Trait)theEObject;
        T result = caseTrait(trait);
        if (result == null) result = caseSimpleDomainObject(trait);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.DOMAIN_OBJECT_OPERATION:
      {
        DomainObjectOperation domainObjectOperation = (DomainObjectOperation)theEObject;
        T result = caseDomainObjectOperation(domainObjectOperation);
        if (result == null) result = caseDomainObjectTypedElement(domainObjectOperation);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.DATA_TRANSFER_OBJECT:
      {
        DataTransferObject dataTransferObject = (DataTransferObject)theEObject;
        T result = caseDataTransferObject(dataTransferObject);
        if (result == null) result = caseSimpleDomainObject(dataTransferObject);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.BASIC_TYPE:
      {
        BasicType basicType = (BasicType)theEObject;
        T result = caseBasicType(basicType);
        if (result == null) result = caseSimpleDomainObject(basicType);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.ATTRIBUTE:
      {
        Attribute attribute = (Attribute)theEObject;
        T result = caseAttribute(attribute);
        if (result == null) result = caseProperty(attribute);
        if (result == null) result = caseAnyProperty(attribute);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.REFERENCE:
      {
        Reference reference = (Reference)theEObject;
        T result = caseReference(reference);
        if (result == null) result = caseProperty(reference);
        if (result == null) result = caseAnyProperty(reference);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.DTO_ATTRIBUTE:
      {
        DtoAttribute dtoAttribute = (DtoAttribute)theEObject;
        T result = caseDtoAttribute(dtoAttribute);
        if (result == null) result = caseDtoProperty(dtoAttribute);
        if (result == null) result = caseAnyProperty(dtoAttribute);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.DTO_REFERENCE:
      {
        DtoReference dtoReference = (DtoReference)theEObject;
        T result = caseDtoReference(dtoReference);
        if (result == null) result = caseDtoProperty(dtoReference);
        if (result == null) result = caseAnyProperty(dtoReference);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.OPPOSITE_HOLDER:
      {
        OppositeHolder oppositeHolder = (OppositeHolder)theEObject;
        T result = caseOppositeHolder(oppositeHolder);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.REPOSITORY:
      {
        Repository repository = (Repository)theEObject;
        T result = caseRepository(repository);
        if (result == null) result = caseServiceRepositoryOption(repository);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.SERVICE_DEPENDENCY:
      {
        ServiceDependency serviceDependency = (ServiceDependency)theEObject;
        T result = caseServiceDependency(serviceDependency);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.DEPENDENCY:
      {
        Dependency dependency = (Dependency)theEObject;
        T result = caseDependency(dependency);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.ENUM:
      {
        org.contextmapper.tactic.dsl.tacticdsl.Enum enum_ = (org.contextmapper.tactic.dsl.tacticdsl.Enum)theEObject;
        T result = caseEnum(enum_);
        if (result == null) result = caseSimpleDomainObject(enum_);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.ENUM_ATTRIBUTE:
      {
        EnumAttribute enumAttribute = (EnumAttribute)theEObject;
        T result = caseEnumAttribute(enumAttribute);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.ENUM_VALUE:
      {
        EnumValue enumValue = (EnumValue)theEObject;
        T result = caseEnumValue(enumValue);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.ENUM_PARAMETER:
      {
        EnumParameter enumParameter = (EnumParameter)theEObject;
        T result = caseEnumParameter(enumParameter);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.ANY_PROPERTY:
      {
        AnyProperty anyProperty = (AnyProperty)theEObject;
        T result = caseAnyProperty(anyProperty);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.PROPERTY:
      {
        Property property = (Property)theEObject;
        T result = caseProperty(property);
        if (result == null) result = caseAnyProperty(property);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TacticdslPackage.DTO_PROPERTY:
      {
        DtoProperty dtoProperty = (DtoProperty)theEObject;
        T result = caseDtoProperty(dtoProperty);
        if (result == null) result = caseAnyProperty(dtoProperty);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      default: return defaultCase(theEObject);
    }
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Tactic DDD Model'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseTacticDDDModel(TacticDDDModel object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Application'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseApplication(Application object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Service'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseService(Service object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Resource'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseResource(Resource object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Consumer'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseConsumer(Consumer object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Subscribe'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseSubscribe(Subscribe object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Publish'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T casePublish(Publish object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Event'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseEvent(Event object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Domain Object Typed Element'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseDomainObjectTypedElement(DomainObjectTypedElement object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Service Operation'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseServiceOperation(ServiceOperation object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Service Operation Delegate'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseServiceOperationDelegate(ServiceOperationDelegate object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Service Repository Option'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseServiceRepositoryOption(ServiceRepositoryOption object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Service Repository Operation Option'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseServiceRepositoryOperationOption(ServiceRepositoryOperationOption object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Resource Operation'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseResourceOperation(ResourceOperation object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Resource Operation Delegate'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseResourceOperationDelegate(ResourceOperationDelegate object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Repository Operation'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseRepositoryOperation(RepositoryOperation object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Parameter'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseParameter(Parameter object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Complex Type'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseComplexType(ComplexType object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Simple Domain Object'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseSimpleDomainObject(SimpleDomainObject object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Domain Object'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseDomainObject(DomainObject object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Entity'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseEntity(Entity object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Value Object'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseValueObject(ValueObject object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Domain Event'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseDomainEvent(DomainEvent object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Command Event'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseCommandEvent(CommandEvent object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Trait'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseTrait(Trait object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Domain Object Operation'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseDomainObjectOperation(DomainObjectOperation object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Data Transfer Object'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseDataTransferObject(DataTransferObject object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Basic Type'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseBasicType(BasicType object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Attribute'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseAttribute(Attribute object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Reference'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseReference(Reference object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Dto Attribute'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseDtoAttribute(DtoAttribute object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Dto Reference'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseDtoReference(DtoReference object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Opposite Holder'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseOppositeHolder(OppositeHolder object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Repository'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseRepository(Repository object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Service Dependency'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseServiceDependency(ServiceDependency object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Dependency'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseDependency(Dependency object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Enum'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseEnum(org.contextmapper.tactic.dsl.tacticdsl.Enum object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Enum Attribute'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseEnumAttribute(EnumAttribute object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Enum Value'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseEnumValue(EnumValue object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Enum Parameter'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseEnumParameter(EnumParameter object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Any Property'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseAnyProperty(AnyProperty object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Property'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseProperty(Property object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'Dto Property'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseDtoProperty(DtoProperty object)
  {
    return null;
  }

  /**
   * 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.
   * 
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of 'EObject'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
   * @generated
   */
  @Override
  public T defaultCase(EObject object)
  {
    return null;
  }

} //TacticdslSwitch




© 2015 - 2025 Weber Informatics LLC | Privacy Policy