blob: 485e066bd1b9600b8c294e80ee324b12671fc5ff [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013, 2015 Willink Transformations and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* E.D.Willink - initial API and implementation
*******************************************************************************/
package org.eclipse.qvtd.xtext.qvtcorebasecs.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.utilities.Nameable;
import org.eclipse.ocl.pivot.utilities.Pivotable;
import org.eclipse.ocl.xtext.basecs.ClassCS;
import org.eclipse.ocl.xtext.basecs.ElementCS;
import org.eclipse.ocl.xtext.basecs.ModelElementCS;
import org.eclipse.ocl.xtext.basecs.NamedElementCS;
import org.eclipse.ocl.xtext.basecs.PivotableElementCS;
import org.eclipse.ocl.xtext.basecs.TemplateableElementCS;
import org.eclipse.ocl.xtext.basecs.TypeCS;
import org.eclipse.ocl.xtext.basecs.TypedElementCS;
import org.eclipse.ocl.xtext.basecs.util.VisitableCS;
import org.eclipse.ocl.xtext.essentialoclcs.ExpCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.*;
import org.eclipse.qvtd.xtext.qvtcorebasecs.AbstractMappingCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.AreaCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.PredicateOrAssignmentCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.BottomPatternCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.DirectionCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.DomainCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.EnforcementOperationCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.GuardPatternCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.ParamDeclarationCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.PatternCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.QVTcoreBaseCSPackage;
import org.eclipse.qvtd.xtext.qvtcorebasecs.QueryCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.RealizeableVariableCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.RealizedVariableCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.TransformationCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.UnrealizedVariableCS;
/**
* <!-- 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.qvtd.xtext.qvtcorebasecs.QVTcoreBaseCSPackage
* @generated
*/
public class QVTcoreBaseCSSwitch<@Nullable T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected static QVTcoreBaseCSPackage modelPackage;
/**
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public QVTcoreBaseCSSwitch() {
if (modelPackage == null) {
modelPackage = QVTcoreBaseCSPackage.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 QVTcoreBaseCSPackage.ABSTRACT_MAPPING_CS: {
AbstractMappingCS abstractMappingCS = (AbstractMappingCS)theEObject;
T result = caseAbstractMappingCS(abstractMappingCS);
if (result == null) result = caseNamedElementCS(abstractMappingCS);
if (result == null) result = caseModelElementCS(abstractMappingCS);
if (result == null) result = caseNameable(abstractMappingCS);
if (result == null) result = casePivotableElementCS(abstractMappingCS);
if (result == null) result = caseElementCS(abstractMappingCS);
if (result == null) result = casePivotable(abstractMappingCS);
if (result == null) result = caseVisitableCS(abstractMappingCS);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTcoreBaseCSPackage.AREA_CS: {
AreaCS areaCS = (AreaCS)theEObject;
T result = caseAreaCS(areaCS);
if (result == null) result = caseNamedElementCS(areaCS);
if (result == null) result = caseModelElementCS(areaCS);
if (result == null) result = caseNameable(areaCS);
if (result == null) result = casePivotableElementCS(areaCS);
if (result == null) result = caseElementCS(areaCS);
if (result == null) result = casePivotable(areaCS);
if (result == null) result = caseVisitableCS(areaCS);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTcoreBaseCSPackage.BOTTOM_PATTERN_CS: {
BottomPatternCS bottomPatternCS = (BottomPatternCS)theEObject;
T result = caseBottomPatternCS(bottomPatternCS);
if (result == null) result = casePatternCS(bottomPatternCS);
if (result == null) result = caseModelElementCS(bottomPatternCS);
if (result == null) result = casePivotableElementCS(bottomPatternCS);
if (result == null) result = caseElementCS(bottomPatternCS);
if (result == null) result = casePivotable(bottomPatternCS);
if (result == null) result = caseVisitableCS(bottomPatternCS);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTcoreBaseCSPackage.DIRECTION_CS: {
DirectionCS directionCS = (DirectionCS)theEObject;
T result = caseDirectionCS(directionCS);
if (result == null) result = caseNamedElementCS(directionCS);
if (result == null) result = caseModelElementCS(directionCS);
if (result == null) result = caseNameable(directionCS);
if (result == null) result = casePivotableElementCS(directionCS);
if (result == null) result = caseElementCS(directionCS);
if (result == null) result = casePivotable(directionCS);
if (result == null) result = caseVisitableCS(directionCS);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTcoreBaseCSPackage.DOMAIN_CS: {
DomainCS domainCS = (DomainCS)theEObject;
T result = caseDomainCS(domainCS);
if (result == null) result = caseAreaCS(domainCS);
if (result == null) result = caseNamedElementCS(domainCS);
if (result == null) result = caseModelElementCS(domainCS);
if (result == null) result = caseNameable(domainCS);
if (result == null) result = casePivotableElementCS(domainCS);
if (result == null) result = caseElementCS(domainCS);
if (result == null) result = casePivotable(domainCS);
if (result == null) result = caseVisitableCS(domainCS);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTcoreBaseCSPackage.ENFORCEMENT_OPERATION_CS: {
EnforcementOperationCS enforcementOperationCS = (EnforcementOperationCS)theEObject;
T result = caseEnforcementOperationCS(enforcementOperationCS);
if (result == null) result = caseModelElementCS(enforcementOperationCS);
if (result == null) result = casePivotableElementCS(enforcementOperationCS);
if (result == null) result = caseElementCS(enforcementOperationCS);
if (result == null) result = casePivotable(enforcementOperationCS);
if (result == null) result = caseVisitableCS(enforcementOperationCS);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTcoreBaseCSPackage.GUARD_PATTERN_CS: {
GuardPatternCS guardPatternCS = (GuardPatternCS)theEObject;
T result = caseGuardPatternCS(guardPatternCS);
if (result == null) result = casePatternCS(guardPatternCS);
if (result == null) result = caseModelElementCS(guardPatternCS);
if (result == null) result = casePivotableElementCS(guardPatternCS);
if (result == null) result = caseElementCS(guardPatternCS);
if (result == null) result = casePivotable(guardPatternCS);
if (result == null) result = caseVisitableCS(guardPatternCS);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTcoreBaseCSPackage.PARAM_DECLARATION_CS: {
ParamDeclarationCS paramDeclarationCS = (ParamDeclarationCS)theEObject;
T result = caseParamDeclarationCS(paramDeclarationCS);
if (result == null) result = caseTypedElementCS(paramDeclarationCS);
if (result == null) result = caseNamedElementCS(paramDeclarationCS);
if (result == null) result = caseModelElementCS(paramDeclarationCS);
if (result == null) result = caseNameable(paramDeclarationCS);
if (result == null) result = casePivotableElementCS(paramDeclarationCS);
if (result == null) result = caseElementCS(paramDeclarationCS);
if (result == null) result = casePivotable(paramDeclarationCS);
if (result == null) result = caseVisitableCS(paramDeclarationCS);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTcoreBaseCSPackage.PATTERN_CS: {
PatternCS patternCS = (PatternCS)theEObject;
T result = casePatternCS(patternCS);
if (result == null) result = caseModelElementCS(patternCS);
if (result == null) result = casePivotableElementCS(patternCS);
if (result == null) result = caseElementCS(patternCS);
if (result == null) result = casePivotable(patternCS);
if (result == null) result = caseVisitableCS(patternCS);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTcoreBaseCSPackage.PREDICATE_CS: {
PredicateCS predicateCS = (PredicateCS)theEObject;
T result = casePredicateCS(predicateCS);
if (result == null) result = caseExpCS(predicateCS);
if (result == null) result = caseModelElementCS(predicateCS);
if (result == null) result = casePivotableElementCS(predicateCS);
if (result == null) result = caseElementCS(predicateCS);
if (result == null) result = casePivotable(predicateCS);
if (result == null) result = caseVisitableCS(predicateCS);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTcoreBaseCSPackage.PREDICATE_OR_ASSIGNMENT_CS: {
PredicateOrAssignmentCS predicateOrAssignmentCS = (PredicateOrAssignmentCS)theEObject;
T result = casePredicateOrAssignmentCS(predicateOrAssignmentCS);
if (result == null) result = caseExpCS(predicateOrAssignmentCS);
if (result == null) result = caseModelElementCS(predicateOrAssignmentCS);
if (result == null) result = casePivotableElementCS(predicateOrAssignmentCS);
if (result == null) result = caseElementCS(predicateOrAssignmentCS);
if (result == null) result = casePivotable(predicateOrAssignmentCS);
if (result == null) result = caseVisitableCS(predicateOrAssignmentCS);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTcoreBaseCSPackage.QUERY_CS: {
QueryCS queryCS = (QueryCS)theEObject;
T result = caseQueryCS(queryCS);
if (result == null) result = caseTypedElementCS(queryCS);
if (result == null) result = caseNamedElementCS(queryCS);
if (result == null) result = caseModelElementCS(queryCS);
if (result == null) result = caseNameable(queryCS);
if (result == null) result = casePivotableElementCS(queryCS);
if (result == null) result = caseElementCS(queryCS);
if (result == null) result = casePivotable(queryCS);
if (result == null) result = caseVisitableCS(queryCS);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTcoreBaseCSPackage.REALIZEABLE_VARIABLE_CS: {
RealizeableVariableCS realizeableVariableCS = (RealizeableVariableCS)theEObject;
T result = caseRealizeableVariableCS(realizeableVariableCS);
if (result == null) result = caseTypedElementCS(realizeableVariableCS);
if (result == null) result = caseNamedElementCS(realizeableVariableCS);
if (result == null) result = caseModelElementCS(realizeableVariableCS);
if (result == null) result = caseNameable(realizeableVariableCS);
if (result == null) result = casePivotableElementCS(realizeableVariableCS);
if (result == null) result = caseElementCS(realizeableVariableCS);
if (result == null) result = casePivotable(realizeableVariableCS);
if (result == null) result = caseVisitableCS(realizeableVariableCS);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTcoreBaseCSPackage.REALIZED_VARIABLE_CS: {
RealizedVariableCS realizedVariableCS = (RealizedVariableCS)theEObject;
T result = caseRealizedVariableCS(realizedVariableCS);
if (result == null) result = caseRealizeableVariableCS(realizedVariableCS);
if (result == null) result = caseTypedElementCS(realizedVariableCS);
if (result == null) result = caseNamedElementCS(realizedVariableCS);
if (result == null) result = caseModelElementCS(realizedVariableCS);
if (result == null) result = caseNameable(realizedVariableCS);
if (result == null) result = casePivotableElementCS(realizedVariableCS);
if (result == null) result = caseElementCS(realizedVariableCS);
if (result == null) result = casePivotable(realizedVariableCS);
if (result == null) result = caseVisitableCS(realizedVariableCS);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTcoreBaseCSPackage.TRANSFORMATION_CS: {
TransformationCS transformationCS = (TransformationCS)theEObject;
T result = caseTransformationCS(transformationCS);
if (result == null) result = caseClassCS(transformationCS);
if (result == null) result = caseNamedElementCS(transformationCS);
if (result == null) result = caseTypeCS(transformationCS);
if (result == null) result = caseTemplateableElementCS(transformationCS);
if (result == null) result = caseModelElementCS(transformationCS);
if (result == null) result = caseNameable(transformationCS);
if (result == null) result = casePivotableElementCS(transformationCS);
if (result == null) result = caseElementCS(transformationCS);
if (result == null) result = casePivotable(transformationCS);
if (result == null) result = caseVisitableCS(transformationCS);
if (result == null) result = defaultCase(theEObject);
return result;
}
case QVTcoreBaseCSPackage.UNREALIZED_VARIABLE_CS: {
UnrealizedVariableCS unrealizedVariableCS = (UnrealizedVariableCS)theEObject;
T result = caseUnrealizedVariableCS(unrealizedVariableCS);
if (result == null) result = caseRealizeableVariableCS(unrealizedVariableCS);
if (result == null) result = caseTypedElementCS(unrealizedVariableCS);
if (result == null) result = caseNamedElementCS(unrealizedVariableCS);
if (result == null) result = caseModelElementCS(unrealizedVariableCS);
if (result == null) result = caseNameable(unrealizedVariableCS);
if (result == null) result = casePivotableElementCS(unrealizedVariableCS);
if (result == null) result = caseElementCS(unrealizedVariableCS);
if (result == null) result = casePivotable(unrealizedVariableCS);
if (result == null) result = caseVisitableCS(unrealizedVariableCS);
if (result == null) result = defaultCase(theEObject);
return result;
}
default: return defaultCase(theEObject);
}
}
/**
* Returns the result of interpreting the object as an instance of '<em>Abstract Mapping CS</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>Abstract Mapping CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAbstractMappingCS(AbstractMappingCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Area CS</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>Area CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAreaCS(AreaCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Bottom Pattern CS</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>Bottom Pattern CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseBottomPatternCS(BottomPatternCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Direction CS</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>Direction CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDirectionCS(DirectionCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Domain CS</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>Domain CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDomainCS(DomainCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Enforcement Operation CS</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>Enforcement Operation CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEnforcementOperationCS(EnforcementOperationCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Guard Pattern CS</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>Guard Pattern CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseGuardPatternCS(GuardPatternCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Param Declaration CS</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>Param Declaration CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseParamDeclarationCS(ParamDeclarationCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Pattern CS</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>Pattern CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePatternCS(PatternCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Predicate CS</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>Predicate CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePredicateCS(PredicateCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Predicate Or Assignment CS</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>Predicate Or Assignment CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePredicateOrAssignmentCS(PredicateOrAssignmentCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Query CS</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>Query CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseQueryCS(QueryCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Realizeable Variable CS</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>Realizeable Variable CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRealizeableVariableCS(RealizeableVariableCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Realized Variable CS</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>Realized Variable CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRealizedVariableCS(RealizedVariableCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Transformation CS</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>Transformation CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTransformationCS(TransformationCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Unrealized Variable CS</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>Unrealized Variable CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseUnrealizedVariableCS(UnrealizedVariableCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Visitable CS</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 CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseVisitableCS(VisitableCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Element CS</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 CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseElementCS(ElementCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Pivotable</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>Pivotable</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePivotable(Pivotable object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Pivotable Element CS</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>Pivotable Element CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePivotableElementCS(PivotableElementCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Model Element CS</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 Element CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseModelElementCS(ModelElementCS 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 CS</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 CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseNamedElementCS(NamedElementCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Exp CS</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>Exp CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseExpCS(ExpCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Typed Element CS</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 CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTypedElementCS(TypedElementCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Type CS</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 CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTypeCS(TypeCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Templateable Element CS</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 CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTemplateableElementCS(TemplateableElementCS object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Class CS</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 CS</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseClassCS(ClassCS 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;
}
} //QVTcoreBaseCSTSwitch