EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.pcm.seff.util]

COVERAGE SUMMARY FOR SOURCE FILE [SeffSwitch.java]

nameclass, %method, %block, %line, %
SeffSwitch.java0%   (0/1)0%   (0/36)0%   (0/1128)0%   (0/256)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class SeffSwitch0%   (0/1)0%   (0/36)0%   (0/1128)0%   (0/256)
SeffSwitch (): void 0%   (0/1)0%   (0/7)0%   (0/4)
caseAbstractAction (AbstractAction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseAbstractBranchTransition (AbstractBranchTransition): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseAbstractInternalControlFlowAction (AbstractInternalControlFlowAction): Ob... 0%   (0/1)0%   (0/2)0%   (0/1)
caseAbstractLoopAction (AbstractLoopAction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseAcquireAction (AcquireAction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseBranchAction (BranchAction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseCallAction (CallAction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseCallReturnAction (CallReturnAction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseCollectionIteratorAction (CollectionIteratorAction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseEmitEventAction (EmitEventAction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseEntity (Entity): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseExternalCallAction (ExternalCallAction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseFailureHandlingEntity (FailureHandlingEntity): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseForkAction (ForkAction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseForkedBehaviour (ForkedBehaviour): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseGuardedBranchTransition (GuardedBranchTransition): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseIdentifier (Identifier): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseInternalAction (InternalAction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseInternalCallAction (InternalCallAction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseLoopAction (LoopAction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseNamedElement (NamedElement): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseProbabilisticBranchTransition (ProbabilisticBranchTransition): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseReleaseAction (ReleaseAction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseResourceDemandingBehaviour (ResourceDemandingBehaviour): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseResourceDemandingInternalBehaviour (ResourceDemandingInternalBehaviour): ... 0%   (0/1)0%   (0/2)0%   (0/1)
caseResourceDemandingSEFF (ResourceDemandingSEFF): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseServiceEffectSpecification (ServiceEffectSpecification): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseSetVariableAction (SetVariableAction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseStartAction (StartAction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseStopAction (StopAction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseSynchronisationPoint (SynchronisationPoint): Object 0%   (0/1)0%   (0/2)0%   (0/1)
defaultCase (EObject): Object 0%   (0/1)0%   (0/2)0%   (0/1)
doSwitch (EClass, EObject): Object 0%   (0/1)0%   (0/28)0%   (0/7)
doSwitch (EObject): Object 0%   (0/1)0%   (0/6)0%   (0/1)
doSwitch (int, EObject): Object 0%   (0/1)0%   (0/1023)0%   (0/212)

1/**
2 * Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany
3 *
4 * $Id$
5 */
6package de.uka.ipd.sdq.pcm.seff.util;
7 
8import java.util.List;
9 
10import org.eclipse.emf.ecore.EClass;
11import org.eclipse.emf.ecore.EObject;
12 
13import de.uka.ipd.sdq.identifier.Identifier;
14import de.uka.ipd.sdq.pcm.core.entity.Entity;
15import de.uka.ipd.sdq.pcm.core.entity.NamedElement;
16import de.uka.ipd.sdq.pcm.seff.*;
17import de.uka.ipd.sdq.pcm.seff.AbstractAction;
18import de.uka.ipd.sdq.pcm.seff.AbstractBranchTransition;
19import de.uka.ipd.sdq.pcm.seff.AbstractInternalControlFlowAction;
20import de.uka.ipd.sdq.pcm.seff.AbstractLoopAction;
21import de.uka.ipd.sdq.pcm.seff.AcquireAction;
22import de.uka.ipd.sdq.pcm.seff.BranchAction;
23import de.uka.ipd.sdq.pcm.seff.CallAction;
24import de.uka.ipd.sdq.pcm.seff.CallReturnAction;
25import de.uka.ipd.sdq.pcm.seff.CollectionIteratorAction;
26import de.uka.ipd.sdq.pcm.seff.EmitEventAction;
27import de.uka.ipd.sdq.pcm.seff.ExternalCallAction;
28import de.uka.ipd.sdq.pcm.seff.ForkAction;
29import de.uka.ipd.sdq.pcm.seff.ForkedBehaviour;
30import de.uka.ipd.sdq.pcm.seff.GuardedBranchTransition;
31import de.uka.ipd.sdq.pcm.seff.InternalAction;
32import de.uka.ipd.sdq.pcm.seff.InternalCallAction;
33import de.uka.ipd.sdq.pcm.seff.LoopAction;
34import de.uka.ipd.sdq.pcm.seff.ProbabilisticBranchTransition;
35import de.uka.ipd.sdq.pcm.seff.ReleaseAction;
36import de.uka.ipd.sdq.pcm.seff.ResourceDemandingBehaviour;
37import de.uka.ipd.sdq.pcm.seff.ResourceDemandingInternalBehaviour;
38import de.uka.ipd.sdq.pcm.seff.ResourceDemandingSEFF;
39import de.uka.ipd.sdq.pcm.seff.SeffPackage;
40import de.uka.ipd.sdq.pcm.seff.ServiceEffectSpecification;
41import de.uka.ipd.sdq.pcm.seff.SetVariableAction;
42import de.uka.ipd.sdq.pcm.seff.StartAction;
43import de.uka.ipd.sdq.pcm.seff.StopAction;
44import de.uka.ipd.sdq.pcm.seff.SynchronisationPoint;
45import de.uka.ipd.sdq.pcm.seff.seff_reliability.FailureHandlingEntity;
46 
47/**
48 * <!-- begin-user-doc -->
49 * The <b>Switch</b> for the model's inheritance hierarchy.
50 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
51 * to invoke the <code>caseXXX</code> method for each class of the model,
52 * starting with the actual class of the object
53 * and proceeding up the inheritance hierarchy
54 * until a non-null result is returned,
55 * which is the result of the switch.
56 * <!-- end-user-doc -->
57 * @see de.uka.ipd.sdq.pcm.seff.SeffPackage
58 * @generated
59 */
60public class SeffSwitch<T> {
61        /**
62         * <!-- begin-user-doc -->
63         * <!-- end-user-doc -->
64         * @generated
65         */
66        public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany";
67 
68        /**
69         * The cached model package
70         * <!-- begin-user-doc -->
71         * <!-- end-user-doc -->
72         * @generated
73         */
74        protected static SeffPackage modelPackage;
75 
76        /**
77         * Creates an instance of the switch.
78         * <!-- begin-user-doc -->
79         * <!-- end-user-doc -->
80         * @generated
81         */
82        public SeffSwitch() {
83                if (modelPackage == null) {
84                        modelPackage = SeffPackage.eINSTANCE;
85                }
86        }
87 
88        /**
89         * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
90         * <!-- begin-user-doc -->
91         * <!-- end-user-doc -->
92         * @return the first non-null result returned by a <code>caseXXX</code> call.
93         * @generated
94         */
95        public T doSwitch(EObject theEObject) {
96                return doSwitch(theEObject.eClass(), theEObject);
97        }
98 
99        /**
100         * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
101         * <!-- begin-user-doc -->
102         * <!-- end-user-doc -->
103         * @return the first non-null result returned by a <code>caseXXX</code> call.
104         * @generated
105         */
106        protected T doSwitch(EClass theEClass, EObject theEObject) {
107                if (theEClass.eContainer() == modelPackage) {
108                        return doSwitch(theEClass.getClassifierID(), theEObject);
109                }
110                else {
111                        List<EClass> eSuperTypes = theEClass.getESuperTypes();
112                        return
113                                eSuperTypes.isEmpty() ?
114                                        defaultCase(theEObject) :
115                                        doSwitch(eSuperTypes.get(0), theEObject);
116                }
117        }
118 
119        /**
120         * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
121         * <!-- begin-user-doc -->
122         * <!-- end-user-doc -->
123         * @return the first non-null result returned by a <code>caseXXX</code> call.
124         * @generated
125         */
126        protected T doSwitch(int classifierID, EObject theEObject) {
127                switch (classifierID) {
128                        case SeffPackage.STOP_ACTION: {
129                                StopAction stopAction = (StopAction)theEObject;
130                                T result = caseStopAction(stopAction);
131                                if (result == null) result = caseAbstractInternalControlFlowAction(stopAction);
132                                if (result == null) result = caseAbstractAction(stopAction);
133                                if (result == null) result = caseEntity(stopAction);
134                                if (result == null) result = caseIdentifier(stopAction);
135                                if (result == null) result = caseNamedElement(stopAction);
136                                if (result == null) result = defaultCase(theEObject);
137                                return result;
138                        }
139                        case SeffPackage.ABSTRACT_INTERNAL_CONTROL_FLOW_ACTION: {
140                                AbstractInternalControlFlowAction abstractInternalControlFlowAction = (AbstractInternalControlFlowAction)theEObject;
141                                T result = caseAbstractInternalControlFlowAction(abstractInternalControlFlowAction);
142                                if (result == null) result = caseAbstractAction(abstractInternalControlFlowAction);
143                                if (result == null) result = caseEntity(abstractInternalControlFlowAction);
144                                if (result == null) result = caseIdentifier(abstractInternalControlFlowAction);
145                                if (result == null) result = caseNamedElement(abstractInternalControlFlowAction);
146                                if (result == null) result = defaultCase(theEObject);
147                                return result;
148                        }
149                        case SeffPackage.ABSTRACT_ACTION: {
150                                AbstractAction abstractAction = (AbstractAction)theEObject;
151                                T result = caseAbstractAction(abstractAction);
152                                if (result == null) result = caseEntity(abstractAction);
153                                if (result == null) result = caseIdentifier(abstractAction);
154                                if (result == null) result = caseNamedElement(abstractAction);
155                                if (result == null) result = defaultCase(theEObject);
156                                return result;
157                        }
158                        case SeffPackage.RESOURCE_DEMANDING_BEHAVIOUR: {
159                                ResourceDemandingBehaviour resourceDemandingBehaviour = (ResourceDemandingBehaviour)theEObject;
160                                T result = caseResourceDemandingBehaviour(resourceDemandingBehaviour);
161                                if (result == null) result = caseIdentifier(resourceDemandingBehaviour);
162                                if (result == null) result = defaultCase(theEObject);
163                                return result;
164                        }
165                        case SeffPackage.ABSTRACT_LOOP_ACTION: {
166                                AbstractLoopAction abstractLoopAction = (AbstractLoopAction)theEObject;
167                                T result = caseAbstractLoopAction(abstractLoopAction);
168                                if (result == null) result = caseAbstractInternalControlFlowAction(abstractLoopAction);
169                                if (result == null) result = caseAbstractAction(abstractLoopAction);
170                                if (result == null) result = caseEntity(abstractLoopAction);
171                                if (result == null) result = caseIdentifier(abstractLoopAction);
172                                if (result == null) result = caseNamedElement(abstractLoopAction);
173                                if (result == null) result = defaultCase(theEObject);
174                                return result;
175                        }
176                        case SeffPackage.ABSTRACT_BRANCH_TRANSITION: {
177                                AbstractBranchTransition abstractBranchTransition = (AbstractBranchTransition)theEObject;
178                                T result = caseAbstractBranchTransition(abstractBranchTransition);
179                                if (result == null) result = caseEntity(abstractBranchTransition);
180                                if (result == null) result = caseIdentifier(abstractBranchTransition);
181                                if (result == null) result = caseNamedElement(abstractBranchTransition);
182                                if (result == null) result = defaultCase(theEObject);
183                                return result;
184                        }
185                        case SeffPackage.BRANCH_ACTION: {
186                                BranchAction branchAction = (BranchAction)theEObject;
187                                T result = caseBranchAction(branchAction);
188                                if (result == null) result = caseAbstractInternalControlFlowAction(branchAction);
189                                if (result == null) result = caseAbstractAction(branchAction);
190                                if (result == null) result = caseEntity(branchAction);
191                                if (result == null) result = caseIdentifier(branchAction);
192                                if (result == null) result = caseNamedElement(branchAction);
193                                if (result == null) result = defaultCase(theEObject);
194                                return result;
195                        }
196                        case SeffPackage.CALL_ACTION: {
197                                CallAction callAction = (CallAction)theEObject;
198                                T result = caseCallAction(callAction);
199                                if (result == null) result = defaultCase(theEObject);
200                                return result;
201                        }
202                        case SeffPackage.START_ACTION: {
203                                StartAction startAction = (StartAction)theEObject;
204                                T result = caseStartAction(startAction);
205                                if (result == null) result = caseAbstractInternalControlFlowAction(startAction);
206                                if (result == null) result = caseAbstractAction(startAction);
207                                if (result == null) result = caseEntity(startAction);
208                                if (result == null) result = caseIdentifier(startAction);
209                                if (result == null) result = caseNamedElement(startAction);
210                                if (result == null) result = defaultCase(theEObject);
211                                return result;
212                        }
213                        case SeffPackage.SERVICE_EFFECT_SPECIFICATION: {
214                                ServiceEffectSpecification serviceEffectSpecification = (ServiceEffectSpecification)theEObject;
215                                T result = caseServiceEffectSpecification(serviceEffectSpecification);
216                                if (result == null) result = defaultCase(theEObject);
217                                return result;
218                        }
219                        case SeffPackage.RESOURCE_DEMANDING_SEFF: {
220                                ResourceDemandingSEFF resourceDemandingSEFF = (ResourceDemandingSEFF)theEObject;
221                                T result = caseResourceDemandingSEFF(resourceDemandingSEFF);
222                                if (result == null) result = caseServiceEffectSpecification(resourceDemandingSEFF);
223                                if (result == null) result = caseResourceDemandingBehaviour(resourceDemandingSEFF);
224                                if (result == null) result = caseIdentifier(resourceDemandingSEFF);
225                                if (result == null) result = defaultCase(theEObject);
226                                return result;
227                        }
228                        case SeffPackage.RESOURCE_DEMANDING_INTERNAL_BEHAVIOUR: {
229                                ResourceDemandingInternalBehaviour resourceDemandingInternalBehaviour = (ResourceDemandingInternalBehaviour)theEObject;
230                                T result = caseResourceDemandingInternalBehaviour(resourceDemandingInternalBehaviour);
231                                if (result == null) result = caseResourceDemandingBehaviour(resourceDemandingInternalBehaviour);
232                                if (result == null) result = caseIdentifier(resourceDemandingInternalBehaviour);
233                                if (result == null) result = defaultCase(theEObject);
234                                return result;
235                        }
236                        case SeffPackage.RELEASE_ACTION: {
237                                ReleaseAction releaseAction = (ReleaseAction)theEObject;
238                                T result = caseReleaseAction(releaseAction);
239                                if (result == null) result = caseAbstractInternalControlFlowAction(releaseAction);
240                                if (result == null) result = caseAbstractAction(releaseAction);
241                                if (result == null) result = caseEntity(releaseAction);
242                                if (result == null) result = caseIdentifier(releaseAction);
243                                if (result == null) result = caseNamedElement(releaseAction);
244                                if (result == null) result = defaultCase(theEObject);
245                                return result;
246                        }
247                        case SeffPackage.LOOP_ACTION: {
248                                LoopAction loopAction = (LoopAction)theEObject;
249                                T result = caseLoopAction(loopAction);
250                                if (result == null) result = caseAbstractLoopAction(loopAction);
251                                if (result == null) result = caseAbstractInternalControlFlowAction(loopAction);
252                                if (result == null) result = caseAbstractAction(loopAction);
253                                if (result == null) result = caseEntity(loopAction);
254                                if (result == null) result = caseIdentifier(loopAction);
255                                if (result == null) result = caseNamedElement(loopAction);
256                                if (result == null) result = defaultCase(theEObject);
257                                return result;
258                        }
259                        case SeffPackage.FORK_ACTION: {
260                                ForkAction forkAction = (ForkAction)theEObject;
261                                T result = caseForkAction(forkAction);
262                                if (result == null) result = caseAbstractInternalControlFlowAction(forkAction);
263                                if (result == null) result = caseAbstractAction(forkAction);
264                                if (result == null) result = caseEntity(forkAction);
265                                if (result == null) result = caseIdentifier(forkAction);
266                                if (result == null) result = caseNamedElement(forkAction);
267                                if (result == null) result = defaultCase(theEObject);
268                                return result;
269                        }
270                        case SeffPackage.FORKED_BEHAVIOUR: {
271                                ForkedBehaviour forkedBehaviour = (ForkedBehaviour)theEObject;
272                                T result = caseForkedBehaviour(forkedBehaviour);
273                                if (result == null) result = caseResourceDemandingBehaviour(forkedBehaviour);
274                                if (result == null) result = caseIdentifier(forkedBehaviour);
275                                if (result == null) result = defaultCase(theEObject);
276                                return result;
277                        }
278                        case SeffPackage.SYNCHRONISATION_POINT: {
279                                SynchronisationPoint synchronisationPoint = (SynchronisationPoint)theEObject;
280                                T result = caseSynchronisationPoint(synchronisationPoint);
281                                if (result == null) result = defaultCase(theEObject);
282                                return result;
283                        }
284                        case SeffPackage.EXTERNAL_CALL_ACTION: {
285                                ExternalCallAction externalCallAction = (ExternalCallAction)theEObject;
286                                T result = caseExternalCallAction(externalCallAction);
287                                if (result == null) result = caseAbstractAction(externalCallAction);
288                                if (result == null) result = caseCallReturnAction(externalCallAction);
289                                if (result == null) result = caseFailureHandlingEntity(externalCallAction);
290                                if (result == null) result = caseEntity(externalCallAction);
291                                if (result == null) result = caseCallAction(externalCallAction);
292                                if (result == null) result = caseIdentifier(externalCallAction);
293                                if (result == null) result = caseNamedElement(externalCallAction);
294                                if (result == null) result = defaultCase(theEObject);
295                                return result;
296                        }
297                        case SeffPackage.CALL_RETURN_ACTION: {
298                                CallReturnAction callReturnAction = (CallReturnAction)theEObject;
299                                T result = caseCallReturnAction(callReturnAction);
300                                if (result == null) result = caseCallAction(callReturnAction);
301                                if (result == null) result = defaultCase(theEObject);
302                                return result;
303                        }
304                        case SeffPackage.PROBABILISTIC_BRANCH_TRANSITION: {
305                                ProbabilisticBranchTransition probabilisticBranchTransition = (ProbabilisticBranchTransition)theEObject;
306                                T result = caseProbabilisticBranchTransition(probabilisticBranchTransition);
307                                if (result == null) result = caseAbstractBranchTransition(probabilisticBranchTransition);
308                                if (result == null) result = caseEntity(probabilisticBranchTransition);
309                                if (result == null) result = caseIdentifier(probabilisticBranchTransition);
310                                if (result == null) result = caseNamedElement(probabilisticBranchTransition);
311                                if (result == null) result = defaultCase(theEObject);
312                                return result;
313                        }
314                        case SeffPackage.ACQUIRE_ACTION: {
315                                AcquireAction acquireAction = (AcquireAction)theEObject;
316                                T result = caseAcquireAction(acquireAction);
317                                if (result == null) result = caseAbstractInternalControlFlowAction(acquireAction);
318                                if (result == null) result = caseAbstractAction(acquireAction);
319                                if (result == null) result = caseEntity(acquireAction);
320                                if (result == null) result = caseIdentifier(acquireAction);
321                                if (result == null) result = caseNamedElement(acquireAction);
322                                if (result == null) result = defaultCase(theEObject);
323                                return result;
324                        }
325                        case SeffPackage.COLLECTION_ITERATOR_ACTION: {
326                                CollectionIteratorAction collectionIteratorAction = (CollectionIteratorAction)theEObject;
327                                T result = caseCollectionIteratorAction(collectionIteratorAction);
328                                if (result == null) result = caseAbstractLoopAction(collectionIteratorAction);
329                                if (result == null) result = caseAbstractInternalControlFlowAction(collectionIteratorAction);
330                                if (result == null) result = caseAbstractAction(collectionIteratorAction);
331                                if (result == null) result = caseEntity(collectionIteratorAction);
332                                if (result == null) result = caseIdentifier(collectionIteratorAction);
333                                if (result == null) result = caseNamedElement(collectionIteratorAction);
334                                if (result == null) result = defaultCase(theEObject);
335                                return result;
336                        }
337                        case SeffPackage.GUARDED_BRANCH_TRANSITION: {
338                                GuardedBranchTransition guardedBranchTransition = (GuardedBranchTransition)theEObject;
339                                T result = caseGuardedBranchTransition(guardedBranchTransition);
340                                if (result == null) result = caseAbstractBranchTransition(guardedBranchTransition);
341                                if (result == null) result = caseEntity(guardedBranchTransition);
342                                if (result == null) result = caseIdentifier(guardedBranchTransition);
343                                if (result == null) result = caseNamedElement(guardedBranchTransition);
344                                if (result == null) result = defaultCase(theEObject);
345                                return result;
346                        }
347                        case SeffPackage.SET_VARIABLE_ACTION: {
348                                SetVariableAction setVariableAction = (SetVariableAction)theEObject;
349                                T result = caseSetVariableAction(setVariableAction);
350                                if (result == null) result = caseAbstractInternalControlFlowAction(setVariableAction);
351                                if (result == null) result = caseAbstractAction(setVariableAction);
352                                if (result == null) result = caseEntity(setVariableAction);
353                                if (result == null) result = caseIdentifier(setVariableAction);
354                                if (result == null) result = caseNamedElement(setVariableAction);
355                                if (result == null) result = defaultCase(theEObject);
356                                return result;
357                        }
358                        case SeffPackage.INTERNAL_CALL_ACTION: {
359                                InternalCallAction internalCallAction = (InternalCallAction)theEObject;
360                                T result = caseInternalCallAction(internalCallAction);
361                                if (result == null) result = caseCallAction(internalCallAction);
362                                if (result == null) result = caseAbstractInternalControlFlowAction(internalCallAction);
363                                if (result == null) result = caseAbstractAction(internalCallAction);
364                                if (result == null) result = caseEntity(internalCallAction);
365                                if (result == null) result = caseIdentifier(internalCallAction);
366                                if (result == null) result = caseNamedElement(internalCallAction);
367                                if (result == null) result = defaultCase(theEObject);
368                                return result;
369                        }
370                        case SeffPackage.EMIT_EVENT_ACTION: {
371                                EmitEventAction emitEventAction = (EmitEventAction)theEObject;
372                                T result = caseEmitEventAction(emitEventAction);
373                                if (result == null) result = caseAbstractAction(emitEventAction);
374                                if (result == null) result = caseCallAction(emitEventAction);
375                                if (result == null) result = caseEntity(emitEventAction);
376                                if (result == null) result = caseIdentifier(emitEventAction);
377                                if (result == null) result = caseNamedElement(emitEventAction);
378                                if (result == null) result = defaultCase(theEObject);
379                                return result;
380                        }
381                        case SeffPackage.INTERNAL_ACTION: {
382                                InternalAction internalAction = (InternalAction)theEObject;
383                                T result = caseInternalAction(internalAction);
384                                if (result == null) result = caseAbstractInternalControlFlowAction(internalAction);
385                                if (result == null) result = caseAbstractAction(internalAction);
386                                if (result == null) result = caseEntity(internalAction);
387                                if (result == null) result = caseIdentifier(internalAction);
388                                if (result == null) result = caseNamedElement(internalAction);
389                                if (result == null) result = defaultCase(theEObject);
390                                return result;
391                        }
392                        default: return defaultCase(theEObject);
393                }
394        }
395 
396        /**
397         * Returns the result of interpreting the object as an instance of '<em>Stop Action</em>'.
398         * <!-- begin-user-doc -->
399         * This implementation returns null;
400         * returning a non-null result will terminate the switch.
401         * <!-- end-user-doc -->
402         * @param object the target of the switch.
403         * @return the result of interpreting the object as an instance of '<em>Stop Action</em>'.
404         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
405         * @generated
406         */
407        public T caseStopAction(StopAction object) {
408                return null;
409        }
410 
411        /**
412         * Returns the result of interpreting the object as an instance of '<em>Abstract Internal Control Flow Action</em>'.
413         * <!-- begin-user-doc -->
414         * This implementation returns null;
415         * returning a non-null result will terminate the switch.
416         * <!-- end-user-doc -->
417         * @param object the target of the switch.
418         * @return the result of interpreting the object as an instance of '<em>Abstract Internal Control Flow Action</em>'.
419         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
420         * @generated
421         */
422        public T caseAbstractInternalControlFlowAction(AbstractInternalControlFlowAction object) {
423                return null;
424        }
425 
426        /**
427         * Returns the result of interpreting the object as an instance of '<em>Abstract Action</em>'.
428         * <!-- begin-user-doc -->
429         * This implementation returns null;
430         * returning a non-null result will terminate the switch.
431         * <!-- end-user-doc -->
432         * @param object the target of the switch.
433         * @return the result of interpreting the object as an instance of '<em>Abstract Action</em>'.
434         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
435         * @generated
436         */
437        public T caseAbstractAction(AbstractAction object) {
438                return null;
439        }
440 
441        /**
442         * Returns the result of interpreting the object as an instance of '<em>Resource Demanding Behaviour</em>'.
443         * <!-- begin-user-doc -->
444         * This implementation returns null;
445         * returning a non-null result will terminate the switch.
446         * <!-- end-user-doc -->
447         * @param object the target of the switch.
448         * @return the result of interpreting the object as an instance of '<em>Resource Demanding Behaviour</em>'.
449         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
450         * @generated
451         */
452        public T caseResourceDemandingBehaviour(ResourceDemandingBehaviour object) {
453                return null;
454        }
455 
456        /**
457         * Returns the result of interpreting the object as an instance of '<em>Abstract Loop Action</em>'.
458         * <!-- begin-user-doc -->
459         * This implementation returns null;
460         * returning a non-null result will terminate the switch.
461         * <!-- end-user-doc -->
462         * @param object the target of the switch.
463         * @return the result of interpreting the object as an instance of '<em>Abstract Loop Action</em>'.
464         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
465         * @generated
466         */
467        public T caseAbstractLoopAction(AbstractLoopAction object) {
468                return null;
469        }
470 
471        /**
472         * Returns the result of interpreting the object as an instance of '<em>Abstract Branch Transition</em>'.
473         * <!-- begin-user-doc -->
474         * This implementation returns null;
475         * returning a non-null result will terminate the switch.
476         * <!-- end-user-doc -->
477         * @param object the target of the switch.
478         * @return the result of interpreting the object as an instance of '<em>Abstract Branch Transition</em>'.
479         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
480         * @generated
481         */
482        public T caseAbstractBranchTransition(AbstractBranchTransition object) {
483                return null;
484        }
485 
486        /**
487         * Returns the result of interpreting the object as an instance of '<em>Branch Action</em>'.
488         * <!-- begin-user-doc -->
489         * This implementation returns null;
490         * returning a non-null result will terminate the switch.
491         * <!-- end-user-doc -->
492         * @param object the target of the switch.
493         * @return the result of interpreting the object as an instance of '<em>Branch Action</em>'.
494         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
495         * @generated
496         */
497        public T caseBranchAction(BranchAction object) {
498                return null;
499        }
500 
501        /**
502         * Returns the result of interpreting the object as an instance of '<em>Start Action</em>'.
503         * <!-- begin-user-doc -->
504         * This implementation returns null;
505         * returning a non-null result will terminate the switch.
506         * <!-- end-user-doc -->
507         * @param object the target of the switch.
508         * @return the result of interpreting the object as an instance of '<em>Start Action</em>'.
509         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
510         * @generated
511         */
512        public T caseStartAction(StartAction object) {
513                return null;
514        }
515 
516        /**
517         * Returns the result of interpreting the object as an instance of '<em>Resource Demanding SEFF</em>'.
518         * <!-- begin-user-doc -->
519         * This implementation returns null;
520         * returning a non-null result will terminate the switch.
521         * <!-- end-user-doc -->
522         * @param object the target of the switch.
523         * @return the result of interpreting the object as an instance of '<em>Resource Demanding SEFF</em>'.
524         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
525         * @generated
526         */
527        public T caseResourceDemandingSEFF(ResourceDemandingSEFF object) {
528                return null;
529        }
530 
531        /**
532         * Returns the result of interpreting the object as an instance of '<em>Resource Demanding Internal Behaviour</em>'.
533         * <!-- begin-user-doc -->
534         * This implementation returns null;
535         * returning a non-null result will terminate the switch.
536         * <!-- end-user-doc -->
537         * @param object the target of the switch.
538         * @return the result of interpreting the object as an instance of '<em>Resource Demanding Internal Behaviour</em>'.
539         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
540         * @generated
541         */
542        public T caseResourceDemandingInternalBehaviour(ResourceDemandingInternalBehaviour object) {
543                return null;
544        }
545 
546        /**
547         * Returns the result of interpreting the object as an instance of '<em>Release Action</em>'.
548         * <!-- begin-user-doc -->
549         * This implementation returns null;
550         * returning a non-null result will terminate the switch.
551         * <!-- end-user-doc -->
552         * @param object the target of the switch.
553         * @return the result of interpreting the object as an instance of '<em>Release Action</em>'.
554         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
555         * @generated
556         */
557        public T caseReleaseAction(ReleaseAction object) {
558                return null;
559        }
560 
561        /**
562         * Returns the result of interpreting the object as an instance of '<em>Loop Action</em>'.
563         * <!-- begin-user-doc -->
564         * This implementation returns null;
565         * returning a non-null result will terminate the switch.
566         * <!-- end-user-doc -->
567         * @param object the target of the switch.
568         * @return the result of interpreting the object as an instance of '<em>Loop Action</em>'.
569         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
570         * @generated
571         */
572        public T caseLoopAction(LoopAction object) {
573                return null;
574        }
575 
576        /**
577         * Returns the result of interpreting the object as an instance of '<em>Internal Action</em>'.
578         * <!-- begin-user-doc -->
579         * This implementation returns null;
580         * returning a non-null result will terminate the switch.
581         * <!-- end-user-doc -->
582         * @param object the target of the switch.
583         * @return the result of interpreting the object as an instance of '<em>Internal Action</em>'.
584         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
585         * @generated
586         */
587        public T caseInternalAction(InternalAction object) {
588                return null;
589        }
590 
591        /**
592         * Returns the result of interpreting the object as an instance of '<em>Fork Action</em>'.
593         * <!-- begin-user-doc -->
594         * This implementation returns null;
595         * returning a non-null result will terminate the switch.
596         * <!-- end-user-doc -->
597         * @param object the target of the switch.
598         * @return the result of interpreting the object as an instance of '<em>Fork Action</em>'.
599         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
600         * @generated
601         */
602        public T caseForkAction(ForkAction object) {
603                return null;
604        }
605 
606        /**
607         * Returns the result of interpreting the object as an instance of '<em>Forked Behaviour</em>'.
608         * <!-- begin-user-doc -->
609         * This implementation returns null;
610         * returning a non-null result will terminate the switch.
611         * <!-- end-user-doc -->
612         * @param object the target of the switch.
613         * @return the result of interpreting the object as an instance of '<em>Forked Behaviour</em>'.
614         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
615         * @generated
616         */
617        public T caseForkedBehaviour(ForkedBehaviour object) {
618                return null;
619        }
620 
621        /**
622         * Returns the result of interpreting the object as an instance of '<em>Synchronisation Point</em>'.
623         * <!-- begin-user-doc -->
624         * This implementation returns null;
625         * returning a non-null result will terminate the switch.
626         * <!-- end-user-doc -->
627         * @param object the target of the switch.
628         * @return the result of interpreting the object as an instance of '<em>Synchronisation Point</em>'.
629         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
630         * @generated
631         */
632        public T caseSynchronisationPoint(SynchronisationPoint object) {
633                return null;
634        }
635 
636        /**
637         * Returns the result of interpreting the object as an instance of '<em>External Call Action</em>'.
638         * <!-- begin-user-doc -->
639         * This implementation returns null;
640         * returning a non-null result will terminate the switch.
641         * <!-- end-user-doc -->
642         * @param object the target of the switch.
643         * @return the result of interpreting the object as an instance of '<em>External Call Action</em>'.
644         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
645         * @generated
646         */
647        public T caseExternalCallAction(ExternalCallAction object) {
648                return null;
649        }
650 
651        /**
652         * Returns the result of interpreting the object as an instance of '<em>Call Return Action</em>'.
653         * <!-- begin-user-doc -->
654         * This implementation returns null;
655         * returning a non-null result will terminate the switch.
656         * <!-- end-user-doc -->
657         * @param object the target of the switch.
658         * @return the result of interpreting the object as an instance of '<em>Call Return Action</em>'.
659         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
660         * @generated
661         */
662        public T caseCallReturnAction(CallReturnAction object) {
663                return null;
664        }
665 
666        /**
667         * Returns the result of interpreting the object as an instance of '<em>Call Action</em>'.
668         * <!-- begin-user-doc -->
669         * This implementation returns null;
670         * returning a non-null result will terminate the switch.
671         * <!-- end-user-doc -->
672         * @param object the target of the switch.
673         * @return the result of interpreting the object as an instance of '<em>Call Action</em>'.
674         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
675         * @generated
676         */
677        public T caseCallAction(CallAction object) {
678                return null;
679        }
680 
681        /**
682         * Returns the result of interpreting the object as an instance of '<em>Failure Handling Entity</em>'.
683         * <!-- begin-user-doc -->
684         * This implementation returns null;
685         * returning a non-null result will terminate the switch.
686         * <!-- end-user-doc -->
687         * @param object the target of the switch.
688         * @return the result of interpreting the object as an instance of '<em>Failure Handling Entity</em>'.
689         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
690         * @generated
691         */
692        public T caseFailureHandlingEntity(FailureHandlingEntity object) {
693                return null;
694        }
695 
696        /**
697         * Returns the result of interpreting the object as an instance of '<em>Probabilistic Branch Transition</em>'.
698         * <!-- begin-user-doc -->
699         * This implementation returns null;
700         * returning a non-null result will terminate the switch.
701         * <!-- end-user-doc -->
702         * @param object the target of the switch.
703         * @return the result of interpreting the object as an instance of '<em>Probabilistic Branch Transition</em>'.
704         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
705         * @generated
706         */
707        public T caseProbabilisticBranchTransition(ProbabilisticBranchTransition object) {
708                return null;
709        }
710 
711        /**
712         * Returns the result of interpreting the object as an instance of '<em>Acquire Action</em>'.
713         * <!-- begin-user-doc -->
714         * This implementation returns null;
715         * returning a non-null result will terminate the switch.
716         * <!-- end-user-doc -->
717         * @param object the target of the switch.
718         * @return the result of interpreting the object as an instance of '<em>Acquire Action</em>'.
719         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
720         * @generated
721         */
722        public T caseAcquireAction(AcquireAction object) {
723                return null;
724        }
725 
726        /**
727         * Returns the result of interpreting the object as an instance of '<em>Collection Iterator Action</em>'.
728         * <!-- begin-user-doc -->
729         * This implementation returns null;
730         * returning a non-null result will terminate the switch.
731         * <!-- end-user-doc -->
732         * @param object the target of the switch.
733         * @return the result of interpreting the object as an instance of '<em>Collection Iterator Action</em>'.
734         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
735         * @generated
736         */
737        public T caseCollectionIteratorAction(CollectionIteratorAction object) {
738                return null;
739        }
740 
741        /**
742         * Returns the result of interpreting the object as an instance of '<em>Guarded Branch Transition</em>'.
743         * <!-- begin-user-doc -->
744         * This implementation returns null;
745         * returning a non-null result will terminate the switch.
746         * <!-- end-user-doc -->
747         * @param object the target of the switch.
748         * @return the result of interpreting the object as an instance of '<em>Guarded Branch Transition</em>'.
749         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
750         * @generated
751         */
752        public T caseGuardedBranchTransition(GuardedBranchTransition object) {
753                return null;
754        }
755 
756        /**
757         * Returns the result of interpreting the object as an instance of '<em>Set Variable Action</em>'.
758         * <!-- begin-user-doc -->
759         * This implementation returns null;
760         * returning a non-null result will terminate the switch.
761         * <!-- end-user-doc -->
762         * @param object the target of the switch.
763         * @return the result of interpreting the object as an instance of '<em>Set Variable Action</em>'.
764         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
765         * @generated
766         */
767        public T caseSetVariableAction(SetVariableAction object) {
768                return null;
769        }
770 
771        /**
772         * Returns the result of interpreting the object as an instance of '<em>Internal Call Action</em>'.
773         * <!-- begin-user-doc -->
774         * This implementation returns null;
775         * returning a non-null result will terminate the switch.
776         * <!-- end-user-doc -->
777         * @param object the target of the switch.
778         * @return the result of interpreting the object as an instance of '<em>Internal Call Action</em>'.
779         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
780         * @generated
781         */
782        public T caseInternalCallAction(InternalCallAction object) {
783                return null;
784        }
785 
786        /**
787         * Returns the result of interpreting the object as an instance of '<em>Emit Event Action</em>'.
788         * <!-- begin-user-doc -->
789         * This implementation returns null;
790         * returning a non-null result will terminate the switch.
791         * <!-- end-user-doc -->
792         * @param object the target of the switch.
793         * @return the result of interpreting the object as an instance of '<em>Emit Event Action</em>'.
794         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
795         * @generated
796         */
797        public T caseEmitEventAction(EmitEventAction object) {
798                return null;
799        }
800 
801        /**
802         * Returns the result of interpreting the object as an instance of '<em>Service Effect Specification</em>'.
803         * <!-- begin-user-doc -->
804         * This implementation returns null;
805         * returning a non-null result will terminate the switch.
806         * <!-- end-user-doc -->
807         * @param object the target of the switch.
808         * @return the result of interpreting the object as an instance of '<em>Service Effect Specification</em>'.
809         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
810         * @generated
811         */
812        public T caseServiceEffectSpecification(ServiceEffectSpecification object) {
813                return null;
814        }
815 
816        /**
817         * Returns the result of interpreting the object as an instance of '<em>Identifier</em>'.
818         * <!-- begin-user-doc -->
819         * This implementation returns null;
820         * returning a non-null result will terminate the switch.
821         * <!-- end-user-doc -->
822         * @param object the target of the switch.
823         * @return the result of interpreting the object as an instance of '<em>Identifier</em>'.
824         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
825         * @generated
826         */
827        public T caseIdentifier(Identifier object) {
828                return null;
829        }
830 
831        /**
832         * Returns the result of interpreting the object as an instance of '<em>Named Element</em>'.
833         * <!-- begin-user-doc -->
834         * This implementation returns null;
835         * returning a non-null result will terminate the switch.
836         * <!-- end-user-doc -->
837         * @param object the target of the switch.
838         * @return the result of interpreting the object as an instance of '<em>Named Element</em>'.
839         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
840         * @generated
841         */
842        public T caseNamedElement(NamedElement object) {
843                return null;
844        }
845 
846        /**
847         * Returns the result of interpreting the object as an instance of '<em>Entity</em>'.
848         * <!-- begin-user-doc -->
849         * This implementation returns null;
850         * returning a non-null result will terminate the switch.
851         * <!-- end-user-doc -->
852         * @param object the target of the switch.
853         * @return the result of interpreting the object as an instance of '<em>Entity</em>'.
854         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
855         * @generated
856         */
857        public T caseEntity(Entity object) {
858                return null;
859        }
860 
861        /**
862         * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
863         * <!-- begin-user-doc -->
864         * This implementation returns null;
865         * returning a non-null result will terminate the switch, but this is the last case anyway.
866         * <!-- end-user-doc -->
867         * @param object the target of the switch.
868         * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
869         * @see #doSwitch(org.eclipse.emf.ecore.EObject)
870         * @generated
871         */
872        public T defaultCase(EObject object) {
873                return null;
874        }
875 
876} //SeffSwitch

[all classes][de.uka.ipd.sdq.pcm.seff.util]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov