Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingSwitch.java')
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingSwitch.java694
1 files changed, 468 insertions, 226 deletions
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingSwitch.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingSwitch.java
index 5efe7f28c4c..f28ced900c1 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingSwitch.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingSwitch.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2010 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
@@ -56,6 +56,7 @@ import org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup;
* 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.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage
* @generated
*/
@@ -64,6 +65,7 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected static FunctionmodelingPackage modelPackage;
@@ -71,6 +73,7 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
/**
* Creates an instance of the switch.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public FunctionmodelingSwitch() {
@@ -83,6 +86,7 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @parameter ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
@@ -96,7 +100,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Allocateable 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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Allocateable Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -111,7 +117,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Allocation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -126,7 +134,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Analysis Function Prototype</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -141,7 +151,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Analysis Function Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -156,7 +168,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Basic Software Function Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -171,7 +185,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -186,7 +202,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Port</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -201,7 +219,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Connector</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -216,7 +236,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Prototype</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -231,7 +253,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Packageable Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -246,7 +270,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Traceable Specification</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -261,7 +287,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Context</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -276,7 +304,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Design Function Prototype</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -291,7 +321,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Design Function Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -304,7 +336,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Functional Device</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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Functional Device</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -319,7 +353,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Allocation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -334,7 +370,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Client Server Interface</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -349,7 +387,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Client Server Port</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -364,7 +404,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Connector</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -379,7 +421,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Flow Port</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -394,7 +438,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Port</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -409,7 +455,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Power Port</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -424,7 +472,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EA Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -439,7 +489,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Prototype</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -454,7 +506,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Function Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -469,7 +523,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Hardware Function Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -482,7 +538,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* Returns the result of interpreting the object as an instance of '<em>Local Device Manager</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.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Local Device Manager</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -497,7 +555,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @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
@@ -512,7 +572,9 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Port Group</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -525,7 +587,7 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
* 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>'.
@@ -540,207 +602,387 @@ public class FunctionmodelingSwitch<T> extends Switch<T> {
/**
* 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 FunctionmodelingPackage.LOCAL_DEVICE_MANAGER: {
- LocalDeviceManager localDeviceManager = (LocalDeviceManager)theEObject;
- T result = caseLocalDeviceManager(localDeviceManager);
- if (result == null) result = caseDesignFunctionType(localDeviceManager);
- if (result == null) result = caseFunctionType(localDeviceManager);
- if (result == null) result = caseContext(localDeviceManager);
- if (result == null) result = caseEAType(localDeviceManager);
- if (result == null) result = caseEAPackageableElement(localDeviceManager);
- if (result == null) result = caseEAElement(localDeviceManager);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.DESIGN_FUNCTION_TYPE: {
- DesignFunctionType designFunctionType = (DesignFunctionType)theEObject;
- T result = caseDesignFunctionType(designFunctionType);
- if (result == null) result = caseFunctionType(designFunctionType);
- if (result == null) result = caseContext(designFunctionType);
- if (result == null) result = caseEAType(designFunctionType);
- if (result == null) result = caseEAPackageableElement(designFunctionType);
- if (result == null) result = caseEAElement(designFunctionType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_TYPE: {
- FunctionType functionType = (FunctionType)theEObject;
- T result = caseFunctionType(functionType);
- if (result == null) result = caseContext(functionType);
- if (result == null) result = caseEAType(functionType);
- if (result == null) result = caseEAPackageableElement(functionType);
- if (result == null) result = caseEAElement(functionType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_PORT: {
- FunctionPort functionPort = (FunctionPort)theEObject;
- T result = caseFunctionPort(functionPort);
- if (result == null) result = caseEAElement(functionPort);
- if (result == null) result = caseEAPort(functionPort);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.PORT_GROUP: {
- PortGroup portGroup = (PortGroup)theEObject;
- T result = casePortGroup(portGroup);
- if (result == null) result = caseEAElement(portGroup);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_CONNECTOR: {
- FunctionConnector functionConnector = (FunctionConnector)theEObject;
- T result = caseFunctionConnector(functionConnector);
- if (result == null) result = caseEAElement(functionConnector);
- if (result == null) result = caseEAConnector(functionConnector);
- if (result == null) result = caseAllocateableElement(functionConnector);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.ALLOCATEABLE_ELEMENT: {
- AllocateableElement allocateableElement = (AllocateableElement)theEObject;
- T result = caseAllocateableElement(allocateableElement);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_PROTOTYPE: {
- FunctionPrototype functionPrototype = (FunctionPrototype)theEObject;
- T result = caseFunctionPrototype(functionPrototype);
- if (result == null) result = caseEAElement(functionPrototype);
- if (result == null) result = caseEAPrototype(functionPrototype);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.DESIGN_FUNCTION_PROTOTYPE: {
- DesignFunctionPrototype designFunctionPrototype = (DesignFunctionPrototype)theEObject;
- T result = caseDesignFunctionPrototype(designFunctionPrototype);
- if (result == null) result = caseFunctionPrototype(designFunctionPrototype);
- if (result == null) result = caseAllocateableElement(designFunctionPrototype);
- if (result == null) result = caseEAElement(designFunctionPrototype);
- if (result == null) result = caseEAPrototype(designFunctionPrototype);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTIONAL_DEVICE: {
- FunctionalDevice functionalDevice = (FunctionalDevice)theEObject;
- T result = caseFunctionalDevice(functionalDevice);
- if (result == null) result = caseAnalysisFunctionType(functionalDevice);
- if (result == null) result = caseFunctionType(functionalDevice);
- if (result == null) result = caseContext(functionalDevice);
- if (result == null) result = caseEAType(functionalDevice);
- if (result == null) result = caseEAPackageableElement(functionalDevice);
- if (result == null) result = caseEAElement(functionalDevice);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.ANALYSIS_FUNCTION_TYPE: {
- AnalysisFunctionType analysisFunctionType = (AnalysisFunctionType)theEObject;
- T result = caseAnalysisFunctionType(analysisFunctionType);
- if (result == null) result = caseFunctionType(analysisFunctionType);
- if (result == null) result = caseContext(analysisFunctionType);
- if (result == null) result = caseEAType(analysisFunctionType);
- if (result == null) result = caseEAPackageableElement(analysisFunctionType);
- if (result == null) result = caseEAElement(analysisFunctionType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.ANALYSIS_FUNCTION_PROTOTYPE: {
- AnalysisFunctionPrototype analysisFunctionPrototype = (AnalysisFunctionPrototype)theEObject;
- T result = caseAnalysisFunctionPrototype(analysisFunctionPrototype);
- if (result == null) result = caseFunctionPrototype(analysisFunctionPrototype);
- if (result == null) result = caseEAElement(analysisFunctionPrototype);
- if (result == null) result = caseEAPrototype(analysisFunctionPrototype);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_FLOW_PORT: {
- FunctionFlowPort functionFlowPort = (FunctionFlowPort)theEObject;
- T result = caseFunctionFlowPort(functionFlowPort);
- if (result == null) result = caseFunctionPort(functionFlowPort);
- if (result == null) result = caseEAElement(functionFlowPort);
- if (result == null) result = caseEAPort(functionFlowPort);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT: {
- FunctionClientServerPort functionClientServerPort = (FunctionClientServerPort)theEObject;
- T result = caseFunctionClientServerPort(functionClientServerPort);
- if (result == null) result = caseFunctionPort(functionClientServerPort);
- if (result == null) result = caseEAElement(functionClientServerPort);
- if (result == null) result = caseEAPort(functionClientServerPort);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE: {
- FunctionClientServerInterface functionClientServerInterface = (FunctionClientServerInterface)theEObject;
- T result = caseFunctionClientServerInterface(functionClientServerInterface);
- if (result == null) result = caseTraceableSpecification(functionClientServerInterface);
- if (result == null) result = caseEAPackageableElement(functionClientServerInterface);
- if (result == null) result = caseEAElement(functionClientServerInterface);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.OPERATION: {
- Operation operation = (Operation)theEObject;
- T result = caseOperation(operation);
- if (result == null) result = caseEAElement(operation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.BASIC_SOFTWARE_FUNCTION_TYPE: {
- BasicSoftwareFunctionType basicSoftwareFunctionType = (BasicSoftwareFunctionType)theEObject;
- T result = caseBasicSoftwareFunctionType(basicSoftwareFunctionType);
- if (result == null) result = caseDesignFunctionType(basicSoftwareFunctionType);
- if (result == null) result = caseFunctionType(basicSoftwareFunctionType);
- if (result == null) result = caseContext(basicSoftwareFunctionType);
- if (result == null) result = caseEAType(basicSoftwareFunctionType);
- if (result == null) result = caseEAPackageableElement(basicSoftwareFunctionType);
- if (result == null) result = caseEAElement(basicSoftwareFunctionType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.HARDWARE_FUNCTION_TYPE: {
- HardwareFunctionType hardwareFunctionType = (HardwareFunctionType)theEObject;
- T result = caseHardwareFunctionType(hardwareFunctionType);
- if (result == null) result = caseDesignFunctionType(hardwareFunctionType);
- if (result == null) result = caseFunctionType(hardwareFunctionType);
- if (result == null) result = caseContext(hardwareFunctionType);
- if (result == null) result = caseEAType(hardwareFunctionType);
- if (result == null) result = caseEAPackageableElement(hardwareFunctionType);
- if (result == null) result = caseEAElement(hardwareFunctionType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_ALLOCATION: {
- FunctionAllocation functionAllocation = (FunctionAllocation)theEObject;
- T result = caseFunctionAllocation(functionAllocation);
- if (result == null) result = caseEAElement(functionAllocation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.ALLOCATION: {
- Allocation allocation = (Allocation)theEObject;
- T result = caseAllocation(allocation);
- if (result == null) result = caseEAElement(allocation);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case FunctionmodelingPackage.FUNCTION_POWER_PORT: {
- FunctionPowerPort functionPowerPort = (FunctionPowerPort)theEObject;
- T result = caseFunctionPowerPort(functionPowerPort);
- if (result == null) result = caseFunctionPort(functionPowerPort);
- if (result == null) result = caseEAElement(functionPowerPort);
- if (result == null) result = caseEAPort(functionPowerPort);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
+ case FunctionmodelingPackage.LOCAL_DEVICE_MANAGER: {
+ LocalDeviceManager localDeviceManager = (LocalDeviceManager) theEObject;
+ T result = caseLocalDeviceManager(localDeviceManager);
+ if (result == null) {
+ result = caseDesignFunctionType(localDeviceManager);
+ }
+ if (result == null) {
+ result = caseFunctionType(localDeviceManager);
+ }
+ if (result == null) {
+ result = caseContext(localDeviceManager);
+ }
+ if (result == null) {
+ result = caseEAType(localDeviceManager);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(localDeviceManager);
+ }
+ if (result == null) {
+ result = caseEAElement(localDeviceManager);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.DESIGN_FUNCTION_TYPE: {
+ DesignFunctionType designFunctionType = (DesignFunctionType) theEObject;
+ T result = caseDesignFunctionType(designFunctionType);
+ if (result == null) {
+ result = caseFunctionType(designFunctionType);
+ }
+ if (result == null) {
+ result = caseContext(designFunctionType);
+ }
+ if (result == null) {
+ result = caseEAType(designFunctionType);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(designFunctionType);
+ }
+ if (result == null) {
+ result = caseEAElement(designFunctionType);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_TYPE: {
+ FunctionType functionType = (FunctionType) theEObject;
+ T result = caseFunctionType(functionType);
+ if (result == null) {
+ result = caseContext(functionType);
+ }
+ if (result == null) {
+ result = caseEAType(functionType);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(functionType);
+ }
+ if (result == null) {
+ result = caseEAElement(functionType);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_PORT: {
+ FunctionPort functionPort = (FunctionPort) theEObject;
+ T result = caseFunctionPort(functionPort);
+ if (result == null) {
+ result = caseEAElement(functionPort);
+ }
+ if (result == null) {
+ result = caseEAPort(functionPort);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.PORT_GROUP: {
+ PortGroup portGroup = (PortGroup) theEObject;
+ T result = casePortGroup(portGroup);
+ if (result == null) {
+ result = caseEAElement(portGroup);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_CONNECTOR: {
+ FunctionConnector functionConnector = (FunctionConnector) theEObject;
+ T result = caseFunctionConnector(functionConnector);
+ if (result == null) {
+ result = caseEAElement(functionConnector);
+ }
+ if (result == null) {
+ result = caseEAConnector(functionConnector);
+ }
+ if (result == null) {
+ result = caseAllocateableElement(functionConnector);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.ALLOCATEABLE_ELEMENT: {
+ AllocateableElement allocateableElement = (AllocateableElement) theEObject;
+ T result = caseAllocateableElement(allocateableElement);
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_PROTOTYPE: {
+ FunctionPrototype functionPrototype = (FunctionPrototype) theEObject;
+ T result = caseFunctionPrototype(functionPrototype);
+ if (result == null) {
+ result = caseEAElement(functionPrototype);
+ }
+ if (result == null) {
+ result = caseEAPrototype(functionPrototype);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.DESIGN_FUNCTION_PROTOTYPE: {
+ DesignFunctionPrototype designFunctionPrototype = (DesignFunctionPrototype) theEObject;
+ T result = caseDesignFunctionPrototype(designFunctionPrototype);
+ if (result == null) {
+ result = caseFunctionPrototype(designFunctionPrototype);
+ }
+ if (result == null) {
+ result = caseAllocateableElement(designFunctionPrototype);
+ }
+ if (result == null) {
+ result = caseEAElement(designFunctionPrototype);
+ }
+ if (result == null) {
+ result = caseEAPrototype(designFunctionPrototype);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTIONAL_DEVICE: {
+ FunctionalDevice functionalDevice = (FunctionalDevice) theEObject;
+ T result = caseFunctionalDevice(functionalDevice);
+ if (result == null) {
+ result = caseAnalysisFunctionType(functionalDevice);
+ }
+ if (result == null) {
+ result = caseFunctionType(functionalDevice);
+ }
+ if (result == null) {
+ result = caseContext(functionalDevice);
+ }
+ if (result == null) {
+ result = caseEAType(functionalDevice);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(functionalDevice);
+ }
+ if (result == null) {
+ result = caseEAElement(functionalDevice);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.ANALYSIS_FUNCTION_TYPE: {
+ AnalysisFunctionType analysisFunctionType = (AnalysisFunctionType) theEObject;
+ T result = caseAnalysisFunctionType(analysisFunctionType);
+ if (result == null) {
+ result = caseFunctionType(analysisFunctionType);
+ }
+ if (result == null) {
+ result = caseContext(analysisFunctionType);
+ }
+ if (result == null) {
+ result = caseEAType(analysisFunctionType);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(analysisFunctionType);
+ }
+ if (result == null) {
+ result = caseEAElement(analysisFunctionType);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.ANALYSIS_FUNCTION_PROTOTYPE: {
+ AnalysisFunctionPrototype analysisFunctionPrototype = (AnalysisFunctionPrototype) theEObject;
+ T result = caseAnalysisFunctionPrototype(analysisFunctionPrototype);
+ if (result == null) {
+ result = caseFunctionPrototype(analysisFunctionPrototype);
+ }
+ if (result == null) {
+ result = caseEAElement(analysisFunctionPrototype);
+ }
+ if (result == null) {
+ result = caseEAPrototype(analysisFunctionPrototype);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_FLOW_PORT: {
+ FunctionFlowPort functionFlowPort = (FunctionFlowPort) theEObject;
+ T result = caseFunctionFlowPort(functionFlowPort);
+ if (result == null) {
+ result = caseFunctionPort(functionFlowPort);
+ }
+ if (result == null) {
+ result = caseEAElement(functionFlowPort);
+ }
+ if (result == null) {
+ result = caseEAPort(functionFlowPort);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_PORT: {
+ FunctionClientServerPort functionClientServerPort = (FunctionClientServerPort) theEObject;
+ T result = caseFunctionClientServerPort(functionClientServerPort);
+ if (result == null) {
+ result = caseFunctionPort(functionClientServerPort);
+ }
+ if (result == null) {
+ result = caseEAElement(functionClientServerPort);
+ }
+ if (result == null) {
+ result = caseEAPort(functionClientServerPort);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_CLIENT_SERVER_INTERFACE: {
+ FunctionClientServerInterface functionClientServerInterface = (FunctionClientServerInterface) theEObject;
+ T result = caseFunctionClientServerInterface(functionClientServerInterface);
+ if (result == null) {
+ result = caseTraceableSpecification(functionClientServerInterface);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(functionClientServerInterface);
+ }
+ if (result == null) {
+ result = caseEAElement(functionClientServerInterface);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.OPERATION: {
+ Operation operation = (Operation) theEObject;
+ T result = caseOperation(operation);
+ if (result == null) {
+ result = caseEAElement(operation);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.BASIC_SOFTWARE_FUNCTION_TYPE: {
+ BasicSoftwareFunctionType basicSoftwareFunctionType = (BasicSoftwareFunctionType) theEObject;
+ T result = caseBasicSoftwareFunctionType(basicSoftwareFunctionType);
+ if (result == null) {
+ result = caseDesignFunctionType(basicSoftwareFunctionType);
+ }
+ if (result == null) {
+ result = caseFunctionType(basicSoftwareFunctionType);
+ }
+ if (result == null) {
+ result = caseContext(basicSoftwareFunctionType);
+ }
+ if (result == null) {
+ result = caseEAType(basicSoftwareFunctionType);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(basicSoftwareFunctionType);
+ }
+ if (result == null) {
+ result = caseEAElement(basicSoftwareFunctionType);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.HARDWARE_FUNCTION_TYPE: {
+ HardwareFunctionType hardwareFunctionType = (HardwareFunctionType) theEObject;
+ T result = caseHardwareFunctionType(hardwareFunctionType);
+ if (result == null) {
+ result = caseDesignFunctionType(hardwareFunctionType);
+ }
+ if (result == null) {
+ result = caseFunctionType(hardwareFunctionType);
+ }
+ if (result == null) {
+ result = caseContext(hardwareFunctionType);
+ }
+ if (result == null) {
+ result = caseEAType(hardwareFunctionType);
+ }
+ if (result == null) {
+ result = caseEAPackageableElement(hardwareFunctionType);
+ }
+ if (result == null) {
+ result = caseEAElement(hardwareFunctionType);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_ALLOCATION: {
+ FunctionAllocation functionAllocation = (FunctionAllocation) theEObject;
+ T result = caseFunctionAllocation(functionAllocation);
+ if (result == null) {
+ result = caseEAElement(functionAllocation);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.ALLOCATION: {
+ Allocation allocation = (Allocation) theEObject;
+ T result = caseAllocation(allocation);
+ if (result == null) {
+ result = caseEAElement(allocation);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case FunctionmodelingPackage.FUNCTION_POWER_PORT: {
+ FunctionPowerPort functionPowerPort = (FunctionPowerPort) theEObject;
+ T result = caseFunctionPowerPort(functionPowerPort);
+ if (result == null) {
+ result = caseFunctionPort(functionPowerPort);
+ }
+ if (result == null) {
+ result = caseEAElement(functionPowerPort);
+ }
+ if (result == null) {
+ result = caseEAPort(functionPowerPort);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
}
}

Back to the top