blob: 18d265c904851f49d53c288ded1cc0dce0380001 [file] [log] [blame]
/**
* Copyright (c) 2018 CEA LIST.
*
* 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:
* Arnault Lapitre (CEA LIST) arnault.lapitre@cea.fr
* - Initial API and Implementation
*/
package org.eclipse.efm.ecore.formalml.infrastructure.util;
import org.eclipse.efm.ecore.formalml.common.AbstractElement;
import org.eclipse.efm.ecore.formalml.common.ClassifierDefinition;
import org.eclipse.efm.ecore.formalml.common.NamedElement;
import org.eclipse.efm.ecore.formalml.common.Type;
import org.eclipse.efm.ecore.formalml.common.TypedElement;
import org.eclipse.efm.ecore.formalml.infrastructure.*;
import org.eclipse.efm.ecore.formalml.statemachine.Statemachine;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
/**
* <!-- 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.efm.ecore.formalml.infrastructure.InfrastructurePackage
* @generated
*/
public class InfrastructureSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected static InfrastructurePackage modelPackage;
/**
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public InfrastructureSwitch() {
if (modelPackage == null) {
modelPackage = InfrastructurePackage.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 InfrastructurePackage.MACHINE: {
Machine machine = (Machine)theEObject;
T result = caseMachine(machine);
if (result == null) result = caseClassifierDefinition(machine);
if (result == null) result = caseType(machine);
if (result == null) result = caseNamedElement(machine);
if (result == null) result = caseAbstractElement(machine);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.PROPERTY_PART: {
PropertyPart propertyPart = (PropertyPart)theEObject;
T result = casePropertyPart(propertyPart);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.COMPOSITE_PART: {
CompositePart compositePart = (CompositePart)theEObject;
T result = caseCompositePart(compositePart);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.BEHAVIOR_PART: {
BehaviorPart behaviorPart = (BehaviorPart)theEObject;
T result = caseBehaviorPart(behaviorPart);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.XLIA_SYSTEM: {
XliaSystem xliaSystem = (XliaSystem)theEObject;
T result = caseXliaSystem(xliaSystem);
if (result == null) result = caseMachine(xliaSystem);
if (result == null) result = caseClassifierDefinition(xliaSystem);
if (result == null) result = caseType(xliaSystem);
if (result == null) result = caseNamedElement(xliaSystem);
if (result == null) result = caseAbstractElement(xliaSystem);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.MODIFIER: {
Modifier modifier = (Modifier)theEObject;
T result = caseModifier(modifier);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.PROPERTY_DEFINITION: {
PropertyDefinition propertyDefinition = (PropertyDefinition)theEObject;
T result = casePropertyDefinition(propertyDefinition);
if (result == null) result = caseTypedElement(propertyDefinition);
if (result == null) result = caseNamedElement(propertyDefinition);
if (result == null) result = caseAbstractElement(propertyDefinition);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.VARIABLE: {
Variable variable = (Variable)theEObject;
T result = caseVariable(variable);
if (result == null) result = casePropertyDefinition(variable);
if (result == null) result = caseTypedElement(variable);
if (result == null) result = caseNamedElement(variable);
if (result == null) result = caseAbstractElement(variable);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.BUFFER: {
Buffer buffer = (Buffer)theEObject;
T result = caseBuffer(buffer);
if (result == null) result = casePropertyDefinition(buffer);
if (result == null) result = caseComProtocol(buffer);
if (result == null) result = caseTypedElement(buffer);
if (result == null) result = caseNamedElement(buffer);
if (result == null) result = caseAbstractElement(buffer);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.PORT: {
Port port = (Port)theEObject;
T result = casePort(port);
if (result == null) result = casePropertyDefinition(port);
if (result == null) result = caseTypedElement(port);
if (result == null) result = caseNamedElement(port);
if (result == null) result = caseAbstractElement(port);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.CHANNEL: {
Channel channel = (Channel)theEObject;
T result = caseChannel(channel);
if (result == null) result = casePropertyDefinition(channel);
if (result == null) result = caseTypedElement(channel);
if (result == null) result = caseNamedElement(channel);
if (result == null) result = caseAbstractElement(channel);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.SIGNAL: {
Signal signal = (Signal)theEObject;
T result = caseSignal(signal);
if (result == null) result = caseClassifierDefinition(signal);
if (result == null) result = caseType(signal);
if (result == null) result = caseNamedElement(signal);
if (result == null) result = caseAbstractElement(signal);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.FUNCTION: {
Function function = (Function)theEObject;
T result = caseFunction(function);
if (result == null) result = casePropertyDefinition(function);
if (result == null) result = caseTypedElement(function);
if (result == null) result = caseNamedElement(function);
if (result == null) result = caseAbstractElement(function);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.PROCEDURE: {
Procedure procedure = (Procedure)theEObject;
T result = caseProcedure(procedure);
if (result == null) result = caseStatemachine(procedure);
if (result == null) result = caseBehavior(procedure);
if (result == null) result = caseMachine(procedure);
if (result == null) result = caseClassifierDefinition(procedure);
if (result == null) result = caseType(procedure);
if (result == null) result = caseNamedElement(procedure);
if (result == null) result = caseAbstractElement(procedure);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.ROUTINE: {
Routine routine = (Routine)theEObject;
T result = caseRoutine(routine);
if (result == null) result = caseNamedElement(routine);
if (result == null) result = caseAbstractElement(routine);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.INSTANCE_MACHINE: {
InstanceMachine instanceMachine = (InstanceMachine)theEObject;
T result = caseInstanceMachine(instanceMachine);
if (result == null) result = caseTypedElement(instanceMachine);
if (result == null) result = caseNamedElement(instanceMachine);
if (result == null) result = caseAbstractElement(instanceMachine);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.SLOT_PROPERTY: {
SlotProperty slotProperty = (SlotProperty)theEObject;
T result = caseSlotProperty(slotProperty);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.PARAMETER: {
Parameter parameter = (Parameter)theEObject;
T result = caseParameter(parameter);
if (result == null) result = casePropertyDefinition(parameter);
if (result == null) result = caseTypedElement(parameter);
if (result == null) result = caseNamedElement(parameter);
if (result == null) result = caseAbstractElement(parameter);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.PARAMETER_SET: {
ParameterSet parameterSet = (ParameterSet)theEObject;
T result = caseParameterSet(parameterSet);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.BEHAVIOR: {
Behavior behavior = (Behavior)theEObject;
T result = caseBehavior(behavior);
if (result == null) result = caseMachine(behavior);
if (result == null) result = caseClassifierDefinition(behavior);
if (result == null) result = caseType(behavior);
if (result == null) result = caseNamedElement(behavior);
if (result == null) result = caseAbstractElement(behavior);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.MODEL_OF_COMPUTATION: {
ModelOfComputation modelOfComputation = (ModelOfComputation)theEObject;
T result = caseModelOfComputation(modelOfComputation);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.MODEL_OF_EXECUTION: {
ModelOfExecution modelOfExecution = (ModelOfExecution)theEObject;
T result = caseModelOfExecution(modelOfExecution);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.MODEL_OF_INTERACTION: {
ModelOfInteraction modelOfInteraction = (ModelOfInteraction)theEObject;
T result = caseModelOfInteraction(modelOfInteraction);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.COM_PROTOCOL: {
ComProtocol comProtocol = (ComProtocol)theEObject;
T result = caseComProtocol(comProtocol);
if (result == null) result = caseAbstractElement(comProtocol);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.ROUTE: {
Route route = (Route)theEObject;
T result = caseRoute(route);
if (result == null) result = caseNamedElement(route);
if (result == null) result = caseAbstractElement(route);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.CONNECTOR: {
Connector connector = (Connector)theEObject;
T result = caseConnector(connector);
if (result == null) result = caseNamedElement(connector);
if (result == null) result = caseAbstractElement(connector);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.CONNECTOR_END: {
ConnectorEnd connectorEnd = (ConnectorEnd)theEObject;
T result = caseConnectorEnd(connectorEnd);
if (result == null) result = caseAbstractElement(connectorEnd);
if (result == null) result = defaultCase(theEObject);
return result;
}
case InfrastructurePackage.COM_POINT: {
ComPoint comPoint = (ComPoint)theEObject;
T result = caseComPoint(comPoint);
if (result == null) result = caseAbstractElement(comPoint);
if (result == null) result = defaultCase(theEObject);
return result;
}
default: return defaultCase(theEObject);
}
}
/**
* Returns the result of interpreting the object as an instance of '<em>Machine</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>Machine</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMachine(Machine object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Property Part</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 Part</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePropertyPart(PropertyPart object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Composite Part</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>Composite Part</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseCompositePart(CompositePart object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Behavior Part</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>Behavior Part</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseBehaviorPart(BehaviorPart object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Xlia System</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>Xlia System</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseXliaSystem(XliaSystem object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Modifier</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>Modifier</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseModifier(Modifier object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Property Definition</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 Definition</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePropertyDefinition(PropertyDefinition 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>Buffer</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>Buffer</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseBuffer(Buffer object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Port</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>Port</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePort(Port object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Channel</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>Channel</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseChannel(Channel object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Signal</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>Signal</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSignal(Signal object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Function</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>Function</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseFunction(Function object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Procedure</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>Procedure</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseProcedure(Procedure object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Routine</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>Routine</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRoutine(Routine object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Instance Machine</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>Instance Machine</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseInstanceMachine(InstanceMachine object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Slot 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>Slot Property</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSlotProperty(SlotProperty 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>Parameter Set</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 Set</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseParameterSet(ParameterSet object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Behavior</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>Behavior</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseBehavior(Behavior object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Model Of Computation</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 Of Computation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseModelOfComputation(ModelOfComputation object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Model Of Execution</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 Of Execution</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseModelOfExecution(ModelOfExecution object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Model Of Interaction</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 Of Interaction</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseModelOfInteraction(ModelOfInteraction object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Com Protocol</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>Com Protocol</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseComProtocol(ComProtocol object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Route</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>Route</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRoute(Route object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Connector</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>Connector</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseConnector(Connector object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Connector End</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>Connector End</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseConnectorEnd(ConnectorEnd object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Com Point</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>Com Point</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseComPoint(ComPoint object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Abstract 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>Abstract Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAbstractElement(AbstractElement 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>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>Classifier Definition</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>Classifier Definition</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseClassifierDefinition(ClassifierDefinition 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>Statemachine</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>Statemachine</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseStatemachine(Statemachine 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;
}
} //InfrastructureSwitch