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

COVERAGE SUMMARY FOR SOURCE FILE [CompositionSwitch.java]

nameclass, %method, %block, %line, %
CompositionSwitch.java0%   (0/1)0%   (0/26)0%   (0/787)0%   (0/179)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class CompositionSwitch0%   (0/1)0%   (0/26)0%   (0/787)0%   (0/179)
CompositionSwitch (): void 0%   (0/1)0%   (0/7)0%   (0/4)
caseAssemblyConnector (AssemblyConnector): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseAssemblyContext (AssemblyContext): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseAssemblyEventConnector (AssemblyEventConnector): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseAssemblyInfrastructureConnector (AssemblyInfrastructureConnector): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseComposedStructure (ComposedStructure): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseConnector (Connector): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseDelegationConnector (DelegationConnector): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseEntity (Entity): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseEventChannel (EventChannel): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseEventChannelSinkConnector (EventChannelSinkConnector): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseEventChannelSourceConnector (EventChannelSourceConnector): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseIdentifier (Identifier): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseNamedElement (NamedElement): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseProvidedDelegationConnector (ProvidedDelegationConnector): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseProvidedInfrastructureDelegationConnector (ProvidedInfrastructureDelegati... 0%   (0/1)0%   (0/2)0%   (0/1)
caseRequiredDelegationConnector (RequiredDelegationConnector): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseRequiredInfrastructureDelegationConnector (RequiredInfrastructureDelegati... 0%   (0/1)0%   (0/2)0%   (0/1)
caseRequiredResourceDelegationConnector (RequiredResourceDelegationConnector)... 0%   (0/1)0%   (0/2)0%   (0/1)
caseResourceRequiredDelegationConnector (ResourceRequiredDelegationConnector)... 0%   (0/1)0%   (0/2)0%   (0/1)
caseSinkDelegationConnector (SinkDelegationConnector): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseSourceDelegationConnector (SourceDelegationConnector): 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/702)0%   (0/145)

1package de.uka.ipd.sdq.pcm.core.composition.util;
2 
3 
4import java.util.List;
5 
6import org.eclipse.emf.ecore.EClass;
7import org.eclipse.emf.ecore.EObject;
8 
9import de.uka.ipd.sdq.identifier.Identifier;
10import de.uka.ipd.sdq.pcm.core.composition.*;
11import de.uka.ipd.sdq.pcm.core.composition.AssemblyConnector;
12import de.uka.ipd.sdq.pcm.core.composition.AssemblyContext;
13import de.uka.ipd.sdq.pcm.core.composition.AssemblyEventConnector;
14import de.uka.ipd.sdq.pcm.core.composition.AssemblyInfrastructureConnector;
15import de.uka.ipd.sdq.pcm.core.composition.ComposedStructure;
16import de.uka.ipd.sdq.pcm.core.composition.CompositionPackage;
17import de.uka.ipd.sdq.pcm.core.composition.Connector;
18import de.uka.ipd.sdq.pcm.core.composition.DelegationConnector;
19import de.uka.ipd.sdq.pcm.core.composition.EventChannel;
20import de.uka.ipd.sdq.pcm.core.composition.EventChannelSinkConnector;
21import de.uka.ipd.sdq.pcm.core.composition.EventChannelSourceConnector;
22import de.uka.ipd.sdq.pcm.core.composition.ProvidedDelegationConnector;
23import de.uka.ipd.sdq.pcm.core.composition.ProvidedInfrastructureDelegationConnector;
24import de.uka.ipd.sdq.pcm.core.composition.RequiredDelegationConnector;
25import de.uka.ipd.sdq.pcm.core.composition.RequiredInfrastructureDelegationConnector;
26import de.uka.ipd.sdq.pcm.core.composition.RequiredResourceDelegationConnector;
27import de.uka.ipd.sdq.pcm.core.composition.ResourceRequiredDelegationConnector;
28import de.uka.ipd.sdq.pcm.core.composition.SinkDelegationConnector;
29import de.uka.ipd.sdq.pcm.core.composition.SourceDelegationConnector;
30import de.uka.ipd.sdq.pcm.core.entity.Entity;
31import de.uka.ipd.sdq.pcm.core.entity.NamedElement;
32 
33/**
34 * <!-- begin-user-doc -->
35 * The <b>Switch</b> for the model's inheritance hierarchy.
36 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
37 * to invoke the <code>caseXXX</code> method for each class of the model,
38 * starting with the actual class of the object
39 * and proceeding up the inheritance hierarchy
40 * until a non-null result is returned,
41 * which is the result of the switch.
42 * <!-- end-user-doc -->
43 * @see de.uka.ipd.sdq.pcm.core.composition.CompositionPackage
44 * @generated
45 */
46public class CompositionSwitch<T> {
47        /**
48         * <!-- begin-user-doc -->
49         * <!-- end-user-doc -->
50         * @generated
51         */
52        public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany";
53 
54        /**
55         * The cached model package
56         * <!-- begin-user-doc -->
57         * <!-- end-user-doc -->
58         * @generated
59         */
60        protected static CompositionPackage modelPackage;
61 
62        /**
63         * Creates an instance of the switch.
64         * <!-- begin-user-doc -->
65         * <!-- end-user-doc -->
66         * @generated
67         */
68        public CompositionSwitch() {
69                if (modelPackage == null) {
70                        modelPackage = CompositionPackage.eINSTANCE;
71                }
72        }
73 
74        /**
75         * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
76         * <!-- begin-user-doc -->
77         * <!-- end-user-doc -->
78         * @return the first non-null result returned by a <code>caseXXX</code> call.
79         * @generated
80         */
81        public T doSwitch(EObject theEObject) {
82                return doSwitch(theEObject.eClass(), theEObject);
83        }
84 
85        /**
86         * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
87         * <!-- begin-user-doc -->
88         * <!-- end-user-doc -->
89         * @return the first non-null result returned by a <code>caseXXX</code> call.
90         * @generated
91         */
92        protected T doSwitch(EClass theEClass, EObject theEObject) {
93                if (theEClass.eContainer() == modelPackage) {
94                        return doSwitch(theEClass.getClassifierID(), theEObject);
95                }
96                else {
97                        List<EClass> eSuperTypes = theEClass.getESuperTypes();
98                        return
99                                eSuperTypes.isEmpty() ?
100                                        defaultCase(theEObject) :
101                                        doSwitch(eSuperTypes.get(0), theEObject);
102                }
103        }
104 
105        /**
106         * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
107         * <!-- begin-user-doc -->
108         * <!-- end-user-doc -->
109         * @return the first non-null result returned by a <code>caseXXX</code> call.
110         * @generated
111         */
112        protected T doSwitch(int classifierID, EObject theEObject) {
113                switch (classifierID) {
114                        case CompositionPackage.DELEGATION_CONNECTOR: {
115                                DelegationConnector delegationConnector = (DelegationConnector)theEObject;
116                                T result = caseDelegationConnector(delegationConnector);
117                                if (result == null) result = caseConnector(delegationConnector);
118                                if (result == null) result = caseEntity(delegationConnector);
119                                if (result == null) result = caseIdentifier(delegationConnector);
120                                if (result == null) result = caseNamedElement(delegationConnector);
121                                if (result == null) result = defaultCase(theEObject);
122                                return result;
123                        }
124                        case CompositionPackage.CONNECTOR: {
125                                Connector connector = (Connector)theEObject;
126                                T result = caseConnector(connector);
127                                if (result == null) result = caseEntity(connector);
128                                if (result == null) result = caseIdentifier(connector);
129                                if (result == null) result = caseNamedElement(connector);
130                                if (result == null) result = defaultCase(theEObject);
131                                return result;
132                        }
133                        case CompositionPackage.COMPOSED_STRUCTURE: {
134                                ComposedStructure composedStructure = (ComposedStructure)theEObject;
135                                T result = caseComposedStructure(composedStructure);
136                                if (result == null) result = caseEntity(composedStructure);
137                                if (result == null) result = caseIdentifier(composedStructure);
138                                if (result == null) result = caseNamedElement(composedStructure);
139                                if (result == null) result = defaultCase(theEObject);
140                                return result;
141                        }
142                        case CompositionPackage.RESOURCE_REQUIRED_DELEGATION_CONNECTOR: {
143                                ResourceRequiredDelegationConnector resourceRequiredDelegationConnector = (ResourceRequiredDelegationConnector)theEObject;
144                                T result = caseResourceRequiredDelegationConnector(resourceRequiredDelegationConnector);
145                                if (result == null) result = defaultCase(theEObject);
146                                return result;
147                        }
148                        case CompositionPackage.EVENT_CHANNEL: {
149                                EventChannel eventChannel = (EventChannel)theEObject;
150                                T result = caseEventChannel(eventChannel);
151                                if (result == null) result = caseEntity(eventChannel);
152                                if (result == null) result = caseIdentifier(eventChannel);
153                                if (result == null) result = caseNamedElement(eventChannel);
154                                if (result == null) result = defaultCase(theEObject);
155                                return result;
156                        }
157                        case CompositionPackage.EVENT_CHANNEL_SOURCE_CONNECTOR: {
158                                EventChannelSourceConnector eventChannelSourceConnector = (EventChannelSourceConnector)theEObject;
159                                T result = caseEventChannelSourceConnector(eventChannelSourceConnector);
160                                if (result == null) result = caseConnector(eventChannelSourceConnector);
161                                if (result == null) result = caseEntity(eventChannelSourceConnector);
162                                if (result == null) result = caseIdentifier(eventChannelSourceConnector);
163                                if (result == null) result = caseNamedElement(eventChannelSourceConnector);
164                                if (result == null) result = defaultCase(theEObject);
165                                return result;
166                        }
167                        case CompositionPackage.EVENT_CHANNEL_SINK_CONNECTOR: {
168                                EventChannelSinkConnector eventChannelSinkConnector = (EventChannelSinkConnector)theEObject;
169                                T result = caseEventChannelSinkConnector(eventChannelSinkConnector);
170                                if (result == null) result = caseConnector(eventChannelSinkConnector);
171                                if (result == null) result = caseEntity(eventChannelSinkConnector);
172                                if (result == null) result = caseIdentifier(eventChannelSinkConnector);
173                                if (result == null) result = caseNamedElement(eventChannelSinkConnector);
174                                if (result == null) result = defaultCase(theEObject);
175                                return result;
176                        }
177                        case CompositionPackage.PROVIDED_DELEGATION_CONNECTOR: {
178                                ProvidedDelegationConnector providedDelegationConnector = (ProvidedDelegationConnector)theEObject;
179                                T result = caseProvidedDelegationConnector(providedDelegationConnector);
180                                if (result == null) result = caseDelegationConnector(providedDelegationConnector);
181                                if (result == null) result = caseConnector(providedDelegationConnector);
182                                if (result == null) result = caseEntity(providedDelegationConnector);
183                                if (result == null) result = caseIdentifier(providedDelegationConnector);
184                                if (result == null) result = caseNamedElement(providedDelegationConnector);
185                                if (result == null) result = defaultCase(theEObject);
186                                return result;
187                        }
188                        case CompositionPackage.REQUIRED_DELEGATION_CONNECTOR: {
189                                RequiredDelegationConnector requiredDelegationConnector = (RequiredDelegationConnector)theEObject;
190                                T result = caseRequiredDelegationConnector(requiredDelegationConnector);
191                                if (result == null) result = caseDelegationConnector(requiredDelegationConnector);
192                                if (result == null) result = caseConnector(requiredDelegationConnector);
193                                if (result == null) result = caseEntity(requiredDelegationConnector);
194                                if (result == null) result = caseIdentifier(requiredDelegationConnector);
195                                if (result == null) result = caseNamedElement(requiredDelegationConnector);
196                                if (result == null) result = defaultCase(theEObject);
197                                return result;
198                        }
199                        case CompositionPackage.ASSEMBLY_CONNECTOR: {
200                                AssemblyConnector assemblyConnector = (AssemblyConnector)theEObject;
201                                T result = caseAssemblyConnector(assemblyConnector);
202                                if (result == null) result = caseConnector(assemblyConnector);
203                                if (result == null) result = caseEntity(assemblyConnector);
204                                if (result == null) result = caseIdentifier(assemblyConnector);
205                                if (result == null) result = caseNamedElement(assemblyConnector);
206                                if (result == null) result = defaultCase(theEObject);
207                                return result;
208                        }
209                        case CompositionPackage.ASSEMBLY_EVENT_CONNECTOR: {
210                                AssemblyEventConnector assemblyEventConnector = (AssemblyEventConnector)theEObject;
211                                T result = caseAssemblyEventConnector(assemblyEventConnector);
212                                if (result == null) result = caseConnector(assemblyEventConnector);
213                                if (result == null) result = caseEntity(assemblyEventConnector);
214                                if (result == null) result = caseIdentifier(assemblyEventConnector);
215                                if (result == null) result = caseNamedElement(assemblyEventConnector);
216                                if (result == null) result = defaultCase(theEObject);
217                                return result;
218                        }
219                        case CompositionPackage.SOURCE_DELEGATION_CONNECTOR: {
220                                SourceDelegationConnector sourceDelegationConnector = (SourceDelegationConnector)theEObject;
221                                T result = caseSourceDelegationConnector(sourceDelegationConnector);
222                                if (result == null) result = caseDelegationConnector(sourceDelegationConnector);
223                                if (result == null) result = caseConnector(sourceDelegationConnector);
224                                if (result == null) result = caseEntity(sourceDelegationConnector);
225                                if (result == null) result = caseIdentifier(sourceDelegationConnector);
226                                if (result == null) result = caseNamedElement(sourceDelegationConnector);
227                                if (result == null) result = defaultCase(theEObject);
228                                return result;
229                        }
230                        case CompositionPackage.SINK_DELEGATION_CONNECTOR: {
231                                SinkDelegationConnector sinkDelegationConnector = (SinkDelegationConnector)theEObject;
232                                T result = caseSinkDelegationConnector(sinkDelegationConnector);
233                                if (result == null) result = caseDelegationConnector(sinkDelegationConnector);
234                                if (result == null) result = caseConnector(sinkDelegationConnector);
235                                if (result == null) result = caseEntity(sinkDelegationConnector);
236                                if (result == null) result = caseIdentifier(sinkDelegationConnector);
237                                if (result == null) result = caseNamedElement(sinkDelegationConnector);
238                                if (result == null) result = defaultCase(theEObject);
239                                return result;
240                        }
241                        case CompositionPackage.ASSEMBLY_INFRASTRUCTURE_CONNECTOR: {
242                                AssemblyInfrastructureConnector assemblyInfrastructureConnector = (AssemblyInfrastructureConnector)theEObject;
243                                T result = caseAssemblyInfrastructureConnector(assemblyInfrastructureConnector);
244                                if (result == null) result = caseConnector(assemblyInfrastructureConnector);
245                                if (result == null) result = caseEntity(assemblyInfrastructureConnector);
246                                if (result == null) result = caseIdentifier(assemblyInfrastructureConnector);
247                                if (result == null) result = caseNamedElement(assemblyInfrastructureConnector);
248                                if (result == null) result = defaultCase(theEObject);
249                                return result;
250                        }
251                        case CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR: {
252                                ProvidedInfrastructureDelegationConnector providedInfrastructureDelegationConnector = (ProvidedInfrastructureDelegationConnector)theEObject;
253                                T result = caseProvidedInfrastructureDelegationConnector(providedInfrastructureDelegationConnector);
254                                if (result == null) result = caseDelegationConnector(providedInfrastructureDelegationConnector);
255                                if (result == null) result = caseConnector(providedInfrastructureDelegationConnector);
256                                if (result == null) result = caseEntity(providedInfrastructureDelegationConnector);
257                                if (result == null) result = caseIdentifier(providedInfrastructureDelegationConnector);
258                                if (result == null) result = caseNamedElement(providedInfrastructureDelegationConnector);
259                                if (result == null) result = defaultCase(theEObject);
260                                return result;
261                        }
262                        case CompositionPackage.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR: {
263                                RequiredInfrastructureDelegationConnector requiredInfrastructureDelegationConnector = (RequiredInfrastructureDelegationConnector)theEObject;
264                                T result = caseRequiredInfrastructureDelegationConnector(requiredInfrastructureDelegationConnector);
265                                if (result == null) result = caseDelegationConnector(requiredInfrastructureDelegationConnector);
266                                if (result == null) result = caseConnector(requiredInfrastructureDelegationConnector);
267                                if (result == null) result = caseEntity(requiredInfrastructureDelegationConnector);
268                                if (result == null) result = caseIdentifier(requiredInfrastructureDelegationConnector);
269                                if (result == null) result = caseNamedElement(requiredInfrastructureDelegationConnector);
270                                if (result == null) result = defaultCase(theEObject);
271                                return result;
272                        }
273                        case CompositionPackage.REQUIRED_RESOURCE_DELEGATION_CONNECTOR: {
274                                RequiredResourceDelegationConnector requiredResourceDelegationConnector = (RequiredResourceDelegationConnector)theEObject;
275                                T result = caseRequiredResourceDelegationConnector(requiredResourceDelegationConnector);
276                                if (result == null) result = caseDelegationConnector(requiredResourceDelegationConnector);
277                                if (result == null) result = caseConnector(requiredResourceDelegationConnector);
278                                if (result == null) result = caseEntity(requiredResourceDelegationConnector);
279                                if (result == null) result = caseIdentifier(requiredResourceDelegationConnector);
280                                if (result == null) result = caseNamedElement(requiredResourceDelegationConnector);
281                                if (result == null) result = defaultCase(theEObject);
282                                return result;
283                        }
284                        case CompositionPackage.ASSEMBLY_CONTEXT: {
285                                AssemblyContext assemblyContext = (AssemblyContext)theEObject;
286                                T result = caseAssemblyContext(assemblyContext);
287                                if (result == null) result = caseEntity(assemblyContext);
288                                if (result == null) result = caseIdentifier(assemblyContext);
289                                if (result == null) result = caseNamedElement(assemblyContext);
290                                if (result == null) result = defaultCase(theEObject);
291                                return result;
292                        }
293                        default: return defaultCase(theEObject);
294                }
295        }
296 
297        /**
298         * Returns the result of interpreting the object as an instance of '<em>Delegation Connector</em>'.
299         * <!-- begin-user-doc -->
300         * This implementation returns null;
301         * returning a non-null result will terminate the switch.
302         * <!-- end-user-doc -->
303         * @param object the target of the switch.
304         * @return the result of interpreting the object as an instance of '<em>Delegation Connector</em>'.
305         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
306         * @generated
307         */
308        public T caseDelegationConnector(DelegationConnector object) {
309                return null;
310        }
311 
312        /**
313         * Returns the result of interpreting the object as an instance of '<em>Connector</em>'.
314         * <!-- begin-user-doc -->
315         * This implementation returns null;
316         * returning a non-null result will terminate the switch.
317         * <!-- end-user-doc -->
318         * @param object the target of the switch.
319         * @return the result of interpreting the object as an instance of '<em>Connector</em>'.
320         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
321         * @generated
322         */
323        public T caseConnector(Connector object) {
324                return null;
325        }
326 
327        /**
328         * Returns the result of interpreting the object as an instance of '<em>Composed Structure</em>'.
329         * <!-- begin-user-doc -->
330         * This implementation returns null;
331         * returning a non-null result will terminate the switch.
332         * <!-- end-user-doc -->
333         * @param object the target of the switch.
334         * @return the result of interpreting the object as an instance of '<em>Composed Structure</em>'.
335         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
336         * @generated
337         */
338        public T caseComposedStructure(ComposedStructure object) {
339                return null;
340        }
341 
342        /**
343         * Returns the result of interpreting the object as an instance of '<em>Resource Required Delegation Connector</em>'.
344         * <!-- begin-user-doc -->
345         * This implementation returns null;
346         * returning a non-null result will terminate the switch.
347         * <!-- end-user-doc -->
348         * @param object the target of the switch.
349         * @return the result of interpreting the object as an instance of '<em>Resource Required Delegation Connector</em>'.
350         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
351         * @generated
352         */
353        public T caseResourceRequiredDelegationConnector(ResourceRequiredDelegationConnector object) {
354                return null;
355        }
356 
357        /**
358         * Returns the result of interpreting the object as an instance of '<em>Event Channel</em>'.
359         * <!-- begin-user-doc -->
360         * This implementation returns null;
361         * returning a non-null result will terminate the switch.
362         * <!-- end-user-doc -->
363         * @param object the target of the switch.
364         * @return the result of interpreting the object as an instance of '<em>Event Channel</em>'.
365         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
366         * @generated
367         */
368        public T caseEventChannel(EventChannel object) {
369                return null;
370        }
371 
372        /**
373         * Returns the result of interpreting the object as an instance of '<em>Provided Delegation Connector</em>'.
374         * <!-- begin-user-doc -->
375         * This implementation returns null;
376         * returning a non-null result will terminate the switch.
377         * <!-- end-user-doc -->
378         * @param object the target of the switch.
379         * @return the result of interpreting the object as an instance of '<em>Provided Delegation Connector</em>'.
380         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
381         * @generated
382         */
383        public T caseProvidedDelegationConnector(ProvidedDelegationConnector object) {
384                return null;
385        }
386 
387        /**
388         * Returns the result of interpreting the object as an instance of '<em>Required Delegation Connector</em>'.
389         * <!-- begin-user-doc -->
390         * This implementation returns null;
391         * returning a non-null result will terminate the switch.
392         * <!-- end-user-doc -->
393         * @param object the target of the switch.
394         * @return the result of interpreting the object as an instance of '<em>Required Delegation Connector</em>'.
395         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
396         * @generated
397         */
398        public T caseRequiredDelegationConnector(RequiredDelegationConnector object) {
399                return null;
400        }
401 
402        /**
403         * Returns the result of interpreting the object as an instance of '<em>Assembly Connector</em>'.
404         * <!-- begin-user-doc -->
405         * This implementation returns null;
406         * returning a non-null result will terminate the switch.
407         * <!-- end-user-doc -->
408         * @param object the target of the switch.
409         * @return the result of interpreting the object as an instance of '<em>Assembly Connector</em>'.
410         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
411         * @generated
412         */
413        public T caseAssemblyConnector(AssemblyConnector object) {
414                return null;
415        }
416 
417        /**
418         * Returns the result of interpreting the object as an instance of '<em>Assembly Event Connector</em>'.
419         * <!-- begin-user-doc -->
420         * This implementation returns null;
421         * returning a non-null result will terminate the switch.
422         * <!-- end-user-doc -->
423         * @param object the target of the switch.
424         * @return the result of interpreting the object as an instance of '<em>Assembly Event Connector</em>'.
425         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
426         * @generated
427         */
428        public T caseAssemblyEventConnector(AssemblyEventConnector object) {
429                return null;
430        }
431 
432        /**
433         * Returns the result of interpreting the object as an instance of '<em>Source Delegation Connector</em>'.
434         * <!-- begin-user-doc -->
435         * This implementation returns null;
436         * returning a non-null result will terminate the switch.
437         * <!-- end-user-doc -->
438         * @param object the target of the switch.
439         * @return the result of interpreting the object as an instance of '<em>Source Delegation Connector</em>'.
440         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
441         * @generated
442         */
443        public T caseSourceDelegationConnector(SourceDelegationConnector object) {
444                return null;
445        }
446 
447        /**
448         * Returns the result of interpreting the object as an instance of '<em>Sink Delegation Connector</em>'.
449         * <!-- begin-user-doc -->
450         * This implementation returns null;
451         * returning a non-null result will terminate the switch.
452         * <!-- end-user-doc -->
453         * @param object the target of the switch.
454         * @return the result of interpreting the object as an instance of '<em>Sink Delegation Connector</em>'.
455         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
456         * @generated
457         */
458        public T caseSinkDelegationConnector(SinkDelegationConnector object) {
459                return null;
460        }
461 
462        /**
463         * Returns the result of interpreting the object as an instance of '<em>Assembly Infrastructure Connector</em>'.
464         * <!-- begin-user-doc -->
465         * This implementation returns null;
466         * returning a non-null result will terminate the switch.
467         * <!-- end-user-doc -->
468         * @param object the target of the switch.
469         * @return the result of interpreting the object as an instance of '<em>Assembly Infrastructure Connector</em>'.
470         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
471         * @generated
472         */
473        public T caseAssemblyInfrastructureConnector(AssemblyInfrastructureConnector object) {
474                return null;
475        }
476 
477        /**
478         * Returns the result of interpreting the object as an instance of '<em>Provided Infrastructure Delegation Connector</em>'.
479         * <!-- begin-user-doc -->
480         * This implementation returns null;
481         * returning a non-null result will terminate the switch.
482         * <!-- end-user-doc -->
483         * @param object the target of the switch.
484         * @return the result of interpreting the object as an instance of '<em>Provided Infrastructure Delegation Connector</em>'.
485         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
486         * @generated
487         */
488        public T caseProvidedInfrastructureDelegationConnector(ProvidedInfrastructureDelegationConnector object) {
489                return null;
490        }
491 
492        /**
493         * Returns the result of interpreting the object as an instance of '<em>Required Infrastructure Delegation Connector</em>'.
494         * <!-- begin-user-doc -->
495         * This implementation returns null;
496         * returning a non-null result will terminate the switch.
497         * <!-- end-user-doc -->
498         * @param object the target of the switch.
499         * @return the result of interpreting the object as an instance of '<em>Required Infrastructure Delegation Connector</em>'.
500         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
501         * @generated
502         */
503        public T caseRequiredInfrastructureDelegationConnector(RequiredInfrastructureDelegationConnector object) {
504                return null;
505        }
506 
507        /**
508         * Returns the result of interpreting the object as an instance of '<em>Required Resource Delegation Connector</em>'.
509         * <!-- begin-user-doc -->
510         * This implementation returns null;
511         * returning a non-null result will terminate the switch.
512         * <!-- end-user-doc -->
513         * @param object the target of the switch.
514         * @return the result of interpreting the object as an instance of '<em>Required Resource Delegation Connector</em>'.
515         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
516         * @generated
517         */
518        public T caseRequiredResourceDelegationConnector(RequiredResourceDelegationConnector object) {
519                return null;
520        }
521 
522        /**
523         * Returns the result of interpreting the object as an instance of '<em>Event Channel Sink Connector</em>'.
524         * <!-- begin-user-doc -->
525         * This implementation returns null;
526         * returning a non-null result will terminate the switch.
527         * <!-- end-user-doc -->
528         * @param object the target of the switch.
529         * @return the result of interpreting the object as an instance of '<em>Event Channel Sink Connector</em>'.
530         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
531         * @generated
532         */
533        public T caseEventChannelSinkConnector(EventChannelSinkConnector object) {
534                return null;
535        }
536 
537        /**
538         * Returns the result of interpreting the object as an instance of '<em>Event Channel Source Connector</em>'.
539         * <!-- begin-user-doc -->
540         * This implementation returns null;
541         * returning a non-null result will terminate the switch.
542         * <!-- end-user-doc -->
543         * @param object the target of the switch.
544         * @return the result of interpreting the object as an instance of '<em>Event Channel Source Connector</em>'.
545         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
546         * @generated
547         */
548        public T caseEventChannelSourceConnector(EventChannelSourceConnector object) {
549                return null;
550        }
551 
552        /**
553         * Returns the result of interpreting the object as an instance of '<em>Assembly Context</em>'.
554         * <!-- begin-user-doc -->
555         * This implementation returns null;
556         * returning a non-null result will terminate the switch.
557         * <!-- end-user-doc -->
558         * @param object the target of the switch.
559         * @return the result of interpreting the object as an instance of '<em>Assembly Context</em>'.
560         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
561         * @generated
562         */
563        public T caseAssemblyContext(AssemblyContext object) {
564                return null;
565        }
566 
567        /**
568         * Returns the result of interpreting the object as an instance of '<em>Identifier</em>'.
569         * <!-- begin-user-doc -->
570         * This implementation returns null;
571         * returning a non-null result will terminate the switch.
572         * <!-- end-user-doc -->
573         * @param object the target of the switch.
574         * @return the result of interpreting the object as an instance of '<em>Identifier</em>'.
575         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
576         * @generated
577         */
578        public T caseIdentifier(Identifier object) {
579                return null;
580        }
581 
582        /**
583         * Returns the result of interpreting the object as an instance of '<em>Named Element</em>'.
584         * <!-- begin-user-doc -->
585         * This implementation returns null;
586         * returning a non-null result will terminate the switch.
587         * <!-- end-user-doc -->
588         * @param object the target of the switch.
589         * @return the result of interpreting the object as an instance of '<em>Named Element</em>'.
590         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
591         * @generated
592         */
593        public T caseNamedElement(NamedElement object) {
594                return null;
595        }
596 
597        /**
598         * Returns the result of interpreting the object as an instance of '<em>Entity</em>'.
599         * <!-- begin-user-doc -->
600         * This implementation returns null;
601         * returning a non-null result will terminate the switch.
602         * <!-- end-user-doc -->
603         * @param object the target of the switch.
604         * @return the result of interpreting the object as an instance of '<em>Entity</em>'.
605         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
606         * @generated
607         */
608        public T caseEntity(Entity object) {
609                return null;
610        }
611 
612        /**
613         * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
614         * <!-- begin-user-doc -->
615         * This implementation returns null;
616         * returning a non-null result will terminate the switch, but this is the last case anyway.
617         * <!-- end-user-doc -->
618         * @param object the target of the switch.
619         * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
620         * @see #doSwitch(org.eclipse.emf.ecore.EObject)
621         * @generated
622         */
623        public T defaultCase(EObject object) {
624                return null;
625        }
626 
627} //CompositionSwitch

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