blob: a68d3d34969aeffe7bb517c38169422634be2bf5 [file] [log] [blame]
/**
* <copyright>
* Copyright (c) 2013 Willink Transformations, University of York, and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* E.D.Willink - Initial API and implementation
* Adolfo Sanchez-Barbudo (University of York) - Bug397429
* </copyright>
*/
package org.eclipse.qvto.examples.pivot.qvtoperational.util;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
import org.eclipse.jdt.annotation.Nullable;
import org.eclipse.ocl.pivot.CallExp;
import org.eclipse.ocl.pivot.Element;
import org.eclipse.ocl.pivot.Feature;
import org.eclipse.ocl.pivot.FeatureCallExp;
import org.eclipse.ocl.pivot.NamedElement;
import org.eclipse.ocl.pivot.Namespace;
import org.eclipse.ocl.pivot.OCLExpression;
import org.eclipse.ocl.pivot.Operation;
import org.eclipse.ocl.pivot.OperationCallExp;
import org.eclipse.ocl.pivot.Parameter;
import org.eclipse.ocl.pivot.Property;
import org.eclipse.ocl.pivot.ReferringElement;
import org.eclipse.ocl.pivot.TemplateableElement;
import org.eclipse.ocl.pivot.Type;
import org.eclipse.ocl.pivot.TypedElement;
import org.eclipse.ocl.pivot.Variable;
import org.eclipse.ocl.pivot.VariableDeclaration;
import org.eclipse.ocl.pivot.util.Visitable;
import org.eclipse.ocl.pivot.utilities.Nameable;
import org.eclipse.qvto.examples.pivot.imperativeocl.ImperativeExpression;
import org.eclipse.qvto.examples.pivot.imperativeocl.InstantiationExp;
import org.eclipse.qvto.examples.pivot.qvtoperational.Constructor;
import org.eclipse.qvto.examples.pivot.qvtoperational.ConstructorBody;
import org.eclipse.qvto.examples.pivot.qvtoperational.ContextualProperty;
import org.eclipse.qvto.examples.pivot.qvtoperational.DummyRelation;
import org.eclipse.qvto.examples.pivot.qvtoperational.DummyRelationDomain;
import org.eclipse.qvto.examples.pivot.qvtoperational.DummyRelationalTransformation;
import org.eclipse.qvto.examples.pivot.qvtoperational.EntryOperation;
import org.eclipse.qvto.examples.pivot.qvtoperational.Helper;
import org.eclipse.qvto.examples.pivot.qvtoperational.ImperativeCallExp;
import org.eclipse.qvto.examples.pivot.qvtoperational.ImperativeOperation;
import org.eclipse.qvto.examples.pivot.qvtoperational.Library;
import org.eclipse.qvto.examples.pivot.qvtoperational.MappingBody;
import org.eclipse.qvto.examples.pivot.qvtoperational.MappingCallExp;
import org.eclipse.qvto.examples.pivot.qvtoperational.MappingOperation;
import org.eclipse.qvto.examples.pivot.qvtoperational.MappingParameter;
import org.eclipse.qvto.examples.pivot.qvtoperational.ModelParameter;
import org.eclipse.qvto.examples.pivot.qvtoperational.ModelType;
import org.eclipse.qvto.examples.pivot.qvtoperational.Module;
import org.eclipse.qvto.examples.pivot.qvtoperational.ModuleImport;
import org.eclipse.qvto.examples.pivot.qvtoperational.ObjectExp;
import org.eclipse.qvto.examples.pivot.qvtoperational.OperationBody;
import org.eclipse.qvto.examples.pivot.qvtoperational.OperationalTransformation;
import org.eclipse.qvto.examples.pivot.qvtoperational.QVTOperationalPackage;
import org.eclipse.qvto.examples.pivot.qvtoperational.ResolveExp;
import org.eclipse.qvto.examples.pivot.qvtoperational.ResolveInExp;
import org.eclipse.qvto.examples.pivot.qvtoperational.Tag;
import org.eclipse.qvto.examples.pivot.qvtoperational.VarParameter;
/**
* <!-- begin-user-doc -->
* The <b>Switch</b> for the model's inheritance hierarchy.
* It supports the call {@link #doSwitch(EObject) doSwitch(object)}
* to invoke the <code>caseXXX</code> 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.
* <!-- end-user-doc -->
* @see org.eclipse.qvto.examples.pivot.qvtoperational.QVTOperationalPackage
* @generated
*/
public class QVTOperationalSwitch<@Nullable T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected static QVTOperationalPackage modelPackage;
/**
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public QVTOperationalSwitch() {
if (modelPackage == null) {
modelPackage = QVTOperationalPackage.eINSTANCE;
}
}
/**
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @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 <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
case QVTOperationalPackage.CONSTRUCTOR: {
Constructor constructor = (Constructor)theEObject;
T result = caseConstructor(constructor);
if (result == null) result = caseImperativeOperation(constructor);
if (result == null) result = caseOperation(constructor);
if (result == null) result = caseFeature(constructor);
if (result == null) result = caseNamespace(constructor);
if (result == null) result = caseTemplateableElement(constructor);
if (result == null) result = caseTypedElement(constructor);
if (result == null) result = caseNamedElement(constructor);
if (result == null) result = caseElement(constructor);
if (result == null) result = caseNameable(constructor);
if (result == null) result = caseVisitable(constructor);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.CONSTRUCTOR_BODY: {
ConstructorBody constructorBody = (ConstructorBody)theEObject;
T result = caseConstructorBody(constructorBody);
if (result == null) result = caseOperationBody(constructorBody);
if (result == null) result = caseElement(constructorBody);
if (result == null) result = caseVisitable(constructorBody);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.CONTEXTUAL_PROPERTY: {
ContextualProperty contextualProperty = (ContextualProperty)theEObject;
T result = caseContextualProperty(contextualProperty);
if (result == null) result = caseProperty(contextualProperty);
if (result == null) result = caseFeature(contextualProperty);
if (result == null) result = caseTypedElement(contextualProperty);
if (result == null) result = caseNamedElement(contextualProperty);
if (result == null) result = caseElement(contextualProperty);
if (result == null) result = caseNameable(contextualProperty);
if (result == null) result = caseVisitable(contextualProperty);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.DUMMY_RELATION: {
DummyRelation dummyRelation = (DummyRelation)theEObject;
T result = caseDummyRelation(dummyRelation);
if (result == null) result = caseElement(dummyRelation);
if (result == null) result = caseVisitable(dummyRelation);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.DUMMY_RELATION_DOMAIN: {
DummyRelationDomain dummyRelationDomain = (DummyRelationDomain)theEObject;
T result = caseDummyRelationDomain(dummyRelationDomain);
if (result == null) result = caseElement(dummyRelationDomain);
if (result == null) result = caseVisitable(dummyRelationDomain);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.DUMMY_RELATIONAL_TRANSFORMATION: {
DummyRelationalTransformation dummyRelationalTransformation = (DummyRelationalTransformation)theEObject;
T result = caseDummyRelationalTransformation(dummyRelationalTransformation);
if (result == null) result = caseElement(dummyRelationalTransformation);
if (result == null) result = caseVisitable(dummyRelationalTransformation);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.ENTRY_OPERATION: {
EntryOperation entryOperation = (EntryOperation)theEObject;
T result = caseEntryOperation(entryOperation);
if (result == null) result = caseImperativeOperation(entryOperation);
if (result == null) result = caseOperation(entryOperation);
if (result == null) result = caseFeature(entryOperation);
if (result == null) result = caseNamespace(entryOperation);
if (result == null) result = caseTemplateableElement(entryOperation);
if (result == null) result = caseTypedElement(entryOperation);
if (result == null) result = caseNamedElement(entryOperation);
if (result == null) result = caseElement(entryOperation);
if (result == null) result = caseNameable(entryOperation);
if (result == null) result = caseVisitable(entryOperation);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.HELPER: {
Helper helper = (Helper)theEObject;
T result = caseHelper(helper);
if (result == null) result = caseImperativeOperation(helper);
if (result == null) result = caseOperation(helper);
if (result == null) result = caseFeature(helper);
if (result == null) result = caseNamespace(helper);
if (result == null) result = caseTemplateableElement(helper);
if (result == null) result = caseTypedElement(helper);
if (result == null) result = caseNamedElement(helper);
if (result == null) result = caseElement(helper);
if (result == null) result = caseNameable(helper);
if (result == null) result = caseVisitable(helper);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.IMPERATIVE_CALL_EXP: {
ImperativeCallExp imperativeCallExp = (ImperativeCallExp)theEObject;
T result = caseImperativeCallExp(imperativeCallExp);
if (result == null) result = caseOperationCallExp(imperativeCallExp);
if (result == null) result = caseImperativeExpression(imperativeCallExp);
if (result == null) result = caseFeatureCallExp(imperativeCallExp);
if (result == null) result = caseReferringElement(imperativeCallExp);
if (result == null) result = caseCallExp(imperativeCallExp);
if (result == null) result = caseOCLExpression(imperativeCallExp);
if (result == null) result = caseTypedElement(imperativeCallExp);
if (result == null) result = caseNamedElement(imperativeCallExp);
if (result == null) result = caseElement(imperativeCallExp);
if (result == null) result = caseNameable(imperativeCallExp);
if (result == null) result = caseVisitable(imperativeCallExp);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.IMPERATIVE_OPERATION: {
ImperativeOperation imperativeOperation = (ImperativeOperation)theEObject;
T result = caseImperativeOperation(imperativeOperation);
if (result == null) result = caseOperation(imperativeOperation);
if (result == null) result = caseFeature(imperativeOperation);
if (result == null) result = caseNamespace(imperativeOperation);
if (result == null) result = caseTemplateableElement(imperativeOperation);
if (result == null) result = caseTypedElement(imperativeOperation);
if (result == null) result = caseNamedElement(imperativeOperation);
if (result == null) result = caseElement(imperativeOperation);
if (result == null) result = caseNameable(imperativeOperation);
if (result == null) result = caseVisitable(imperativeOperation);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.LIBRARY: {
Library library = (Library)theEObject;
T result = caseLibrary(library);
if (result == null) result = caseModule(library);
if (result == null) result = caseClass(library);
if (result == null) result = caseType(library);
if (result == null) result = caseNamespace(library);
if (result == null) result = caseTemplateableElement(library);
if (result == null) result = caseNamedElement(library);
if (result == null) result = caseElement(library);
if (result == null) result = caseNameable(library);
if (result == null) result = caseVisitable(library);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.MAPPING_BODY: {
MappingBody mappingBody = (MappingBody)theEObject;
T result = caseMappingBody(mappingBody);
if (result == null) result = caseOperationBody(mappingBody);
if (result == null) result = caseElement(mappingBody);
if (result == null) result = caseVisitable(mappingBody);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.MAPPING_CALL_EXP: {
MappingCallExp mappingCallExp = (MappingCallExp)theEObject;
T result = caseMappingCallExp(mappingCallExp);
if (result == null) result = caseImperativeCallExp(mappingCallExp);
if (result == null) result = caseOperationCallExp(mappingCallExp);
if (result == null) result = caseImperativeExpression(mappingCallExp);
if (result == null) result = caseFeatureCallExp(mappingCallExp);
if (result == null) result = caseReferringElement(mappingCallExp);
if (result == null) result = caseCallExp(mappingCallExp);
if (result == null) result = caseOCLExpression(mappingCallExp);
if (result == null) result = caseTypedElement(mappingCallExp);
if (result == null) result = caseNamedElement(mappingCallExp);
if (result == null) result = caseElement(mappingCallExp);
if (result == null) result = caseNameable(mappingCallExp);
if (result == null) result = caseVisitable(mappingCallExp);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.MAPPING_OPERATION: {
MappingOperation mappingOperation = (MappingOperation)theEObject;
T result = caseMappingOperation(mappingOperation);
if (result == null) result = caseImperativeOperation(mappingOperation);
if (result == null) result = caseOperation(mappingOperation);
if (result == null) result = caseFeature(mappingOperation);
if (result == null) result = caseNamespace(mappingOperation);
if (result == null) result = caseTemplateableElement(mappingOperation);
if (result == null) result = caseTypedElement(mappingOperation);
if (result == null) result = caseNamedElement(mappingOperation);
if (result == null) result = caseElement(mappingOperation);
if (result == null) result = caseNameable(mappingOperation);
if (result == null) result = caseVisitable(mappingOperation);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.MAPPING_PARAMETER: {
MappingParameter mappingParameter = (MappingParameter)theEObject;
T result = caseMappingParameter(mappingParameter);
if (result == null) result = caseVarParameter(mappingParameter);
if (result == null) result = caseVariable(mappingParameter);
if (result == null) result = caseParameter(mappingParameter);
if (result == null) result = caseVariableDeclaration(mappingParameter);
if (result == null) result = caseTypedElement(mappingParameter);
if (result == null) result = caseNamedElement(mappingParameter);
if (result == null) result = caseElement(mappingParameter);
if (result == null) result = caseNameable(mappingParameter);
if (result == null) result = caseVisitable(mappingParameter);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.MODEL_PARAMETER: {
ModelParameter modelParameter = (ModelParameter)theEObject;
T result = caseModelParameter(modelParameter);
if (result == null) result = caseVarParameter(modelParameter);
if (result == null) result = caseVariable(modelParameter);
if (result == null) result = caseParameter(modelParameter);
if (result == null) result = caseVariableDeclaration(modelParameter);
if (result == null) result = caseTypedElement(modelParameter);
if (result == null) result = caseNamedElement(modelParameter);
if (result == null) result = caseElement(modelParameter);
if (result == null) result = caseNameable(modelParameter);
if (result == null) result = caseVisitable(modelParameter);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.MODEL_TYPE: {
ModelType modelType = (ModelType)theEObject;
T result = caseModelType(modelType);
if (result == null) result = caseClass(modelType);
if (result == null) result = caseType(modelType);
if (result == null) result = caseNamespace(modelType);
if (result == null) result = caseTemplateableElement(modelType);
if (result == null) result = caseNamedElement(modelType);
if (result == null) result = caseElement(modelType);
if (result == null) result = caseNameable(modelType);
if (result == null) result = caseVisitable(modelType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.MODULE: {
Module module = (Module)theEObject;
T result = caseModule(module);
if (result == null) result = caseClass(module);
if (result == null) result = caseType(module);
if (result == null) result = caseNamespace(module);
if (result == null) result = caseTemplateableElement(module);
if (result == null) result = caseNamedElement(module);
if (result == null) result = caseElement(module);
if (result == null) result = caseNameable(module);
if (result == null) result = caseVisitable(module);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.MODULE_IMPORT: {
ModuleImport moduleImport = (ModuleImport)theEObject;
T result = caseModuleImport(moduleImport);
if (result == null) result = caseElement(moduleImport);
if (result == null) result = caseVisitable(moduleImport);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.OBJECT_EXP: {
ObjectExp objectExp = (ObjectExp)theEObject;
T result = caseObjectExp(objectExp);
if (result == null) result = caseInstantiationExp(objectExp);
if (result == null) result = caseImperativeExpression(objectExp);
if (result == null) result = caseOCLExpression(objectExp);
if (result == null) result = caseTypedElement(objectExp);
if (result == null) result = caseNamedElement(objectExp);
if (result == null) result = caseElement(objectExp);
if (result == null) result = caseNameable(objectExp);
if (result == null) result = caseVisitable(objectExp);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.OPERATION_BODY: {
OperationBody operationBody = (OperationBody)theEObject;
T result = caseOperationBody(operationBody);
if (result == null) result = caseElement(operationBody);
if (result == null) result = caseVisitable(operationBody);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.OPERATIONAL_TRANSFORMATION: {
OperationalTransformation operationalTransformation = (OperationalTransformation)theEObject;
T result = caseOperationalTransformation(operationalTransformation);
if (result == null) result = caseModule(operationalTransformation);
if (result == null) result = caseClass(operationalTransformation);
if (result == null) result = caseType(operationalTransformation);
if (result == null) result = caseNamespace(operationalTransformation);
if (result == null) result = caseTemplateableElement(operationalTransformation);
if (result == null) result = caseNamedElement(operationalTransformation);
if (result == null) result = caseElement(operationalTransformation);
if (result == null) result = caseNameable(operationalTransformation);
if (result == null) result = caseVisitable(operationalTransformation);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.RESOLVE_EXP: {
ResolveExp resolveExp = (ResolveExp)theEObject;
T result = caseResolveExp(resolveExp);
if (result == null) result = caseCallExp(resolveExp);
if (result == null) result = caseImperativeExpression(resolveExp);
if (result == null) result = caseOCLExpression(resolveExp);
if (result == null) result = caseTypedElement(resolveExp);
if (result == null) result = caseNamedElement(resolveExp);
if (result == null) result = caseElement(resolveExp);
if (result == null) result = caseNameable(resolveExp);
if (result == null) result = caseVisitable(resolveExp);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.RESOLVE_IN_EXP: {
ResolveInExp resolveInExp = (ResolveInExp)theEObject;
T result = caseResolveInExp(resolveInExp);
if (result == null) result = caseResolveExp(resolveInExp);
if (result == null) result = caseCallExp(resolveInExp);
if (result == null) result = caseImperativeExpression(resolveInExp);
if (result == null) result = caseOCLExpression(resolveInExp);
if (result == null) result = caseTypedElement(resolveInExp);
if (result == null) result = caseNamedElement(resolveInExp);
if (result == null) result = caseElement(resolveInExp);
if (result == null) result = caseNameable(resolveInExp);
if (result == null) result = caseVisitable(resolveInExp);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.VAR_PARAMETER: {
VarParameter varParameter = (VarParameter)theEObject;
T result = caseVarParameter(varParameter);
if (result == null) result = caseVariable(varParameter);
if (result == null) result = caseParameter(varParameter);
if (result == null) result = caseVariableDeclaration(varParameter);
if (result == null) result = caseTypedElement(varParameter);
if (result == null) result = caseNamedElement(varParameter);
if (result == null) result = caseElement(varParameter);
if (result == null) result = caseNameable(varParameter);
if (result == null) result = caseVisitable(varParameter);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTOperationalPackage.TAG: {
Tag tag = (Tag)theEObject;
T result = caseTag(tag);
if (result == null) result = caseElement(tag);
if (result == null) result = caseVisitable(tag);
if (result == null) result = defaultCase(theEObject);
return result;
}
default: return defaultCase(theEObject);
}
}
/**
* Returns the result of interpreting the object as an instance of '<em>Constructor</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Constructor</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseConstructor(Constructor object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Constructor Body</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Constructor Body</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseConstructorBody(ConstructorBody object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Contextual Property</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Contextual Property</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseContextualProperty(ContextualProperty object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Dummy Relation</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Dummy Relation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDummyRelation(DummyRelation object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Dummy Relation Domain</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Dummy Relation Domain</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDummyRelationDomain(DummyRelationDomain object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Dummy Relational Transformation</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Dummy Relational Transformation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDummyRelationalTransformation(DummyRelationalTransformation object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Entry Operation</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Entry Operation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEntryOperation(EntryOperation object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Helper</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Helper</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseHelper(Helper object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Imperative Call Exp</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Imperative Call Exp</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseImperativeCallExp(ImperativeCallExp object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Imperative Operation</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Imperative Operation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseImperativeOperation(ImperativeOperation object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Library</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Library</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseLibrary(Library object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Mapping Body</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Mapping Body</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMappingBody(MappingBody object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Mapping Call Exp</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Mapping Call Exp</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMappingCallExp(MappingCallExp object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Mapping Operation</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Mapping Operation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMappingOperation(MappingOperation object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Mapping Parameter</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Mapping Parameter</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMappingParameter(MappingParameter object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Model Parameter</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Model Parameter</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseModelParameter(ModelParameter object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Model Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Model Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseModelType(ModelType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Module</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Module</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseModule(Module object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Module Import</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Module Import</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseModuleImport(ModuleImport object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Object Exp</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Object Exp</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseObjectExp(ObjectExp object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Operation Body</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Operation Body</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseOperationBody(OperationBody object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Operational Transformation</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Operational Transformation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseOperationalTransformation(OperationalTransformation object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Resolve Exp</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Resolve Exp</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseResolveExp(ResolveExp object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Resolve In Exp</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Resolve In Exp</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseResolveInExp(ResolveInExp object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Var Parameter</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Var Parameter</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseVarParameter(VarParameter object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Tag</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Tag</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTag(Tag object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Visitable</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Visitable</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseVisitable(Visitable object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseElement(Element object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Nameable</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Nameable</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseNameable(Nameable object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Named Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Named Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseNamedElement(NamedElement object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Typed Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Typed Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTypedElement(TypedElement object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Feature</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Feature</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseFeature(Feature object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Namespace</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Namespace</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseNamespace(Namespace object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Templateable Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Templateable Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTemplateableElement(TemplateableElement object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Operation</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Operation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseOperation(Operation object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Property</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Property</em>'.
* @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 '<em>OCL Expression</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>OCL Expression</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseOCLExpression(OCLExpression object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Call Exp</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Call Exp</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseCallExp(CallExp object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Feature Call Exp</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Feature Call Exp</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseFeatureCallExp(FeatureCallExp object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Referring Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Referring Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseReferringElement(ReferringElement object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Operation Call Exp</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Operation Call Exp</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseOperationCallExp(OperationCallExp object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Imperative Expression</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Imperative Expression</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseImperativeExpression(ImperativeExpression object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseType(Type object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Class</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Class</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseClass(org.eclipse.ocl.pivot.Class object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Variable Declaration</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Variable Declaration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseVariableDeclaration(VariableDeclaration object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Variable</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Variable</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseVariable(Variable object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Parameter</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Parameter</em>'.
* @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 '<em>Instantiation Exp</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Instantiation Exp</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseInstantiationExp(InstantiationExp object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch, but this is the last case anyway.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
*/
@Override
public T defaultCase(EObject object) {
return null;
}
} //QVTOperationalSwitch