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

COVERAGE SUMMARY FOR SOURCE FILE [SensitivitySwitch.java]

nameclass, %method, %block, %line, %
SensitivitySwitch.java0%   (0/1)0%   (0/35)0%   (0/1114)0%   (0/253)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class SensitivitySwitch0%   (0/1)0%   (0/35)0%   (0/1114)0%   (0/253)
SensitivitySwitch (): void 0%   (0/1)0%   (0/7)0%   (0/4)
caseCombinedSensitivityParameter (CombinedSensitivityParameter): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseCommunicationLinkReliabilityParameter (CommunicationLinkReliabilityParame... 0%   (0/1)0%   (0/2)0%   (0/1)
caseComponentReliabilityParameter (ComponentReliabilityParameter): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseDoubleOffsetSequence (DoubleOffsetSequence): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseDoubleParameterFunction (DoubleParameterFunction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseDoubleParameterRange (DoubleParameterRange): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseDoubleParameterSequence (DoubleParameterSequence): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseDoubleParameterVariation (DoubleParameterVariation): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseEntity (Entity): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseFailureDimensionResultSpecification (FailureDimensionResultSpecification)... 0%   (0/1)0%   (0/2)0%   (0/1)
caseFailureTypeResultSpecification (FailureTypeResultSpecification): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseHardwareMTTFParameter (HardwareMTTFParameter): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseHardwareMTTRParameter (HardwareMTTRParameter): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseIdentifier (Identifier): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseInternalActionReliabilityParameter (InternalActionReliabilityParameter): ... 0%   (0/1)0%   (0/2)0%   (0/1)
caseNamedElement (NamedElement): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseNetworkReliabilityParameter (NetworkReliabilityParameter): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseProbabilisticBranchParameter (ProbabilisticBranchParameter): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseResourceMTTFParameter (ResourceMTTFParameter): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseResourceMTTRParameter (ResourceMTTRParameter): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseSensitivityConfiguration (SensitivityConfiguration): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseSensitivityParameter (SensitivityParameter): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseSensitivityParameterVariation (SensitivityParameterVariation): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseSensitivityResultSpecification (SensitivityResultSpecification): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseSingleSensitivityParameter (SingleSensitivityParameter): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseSoftwareFailureTypesParameter (SoftwareFailureTypesParameter): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseSoftwareReliabilityParameter (SoftwareReliabilityParameter): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseStringParameterSequence (StringParameterSequence): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseUsageBranchParameter (UsageBranchParameter): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseVariableUsageParameter (VariableUsageParameter): 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/1011)0%   (0/210)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package de.uka.ipd.sdq.sensitivity.util;
8 
9import de.uka.ipd.sdq.identifier.Identifier;
10 
11import de.uka.ipd.sdq.pcm.core.entity.Entity;
12import de.uka.ipd.sdq.pcm.core.entity.NamedElement;
13 
14import de.uka.ipd.sdq.sensitivity.*;
15 
16import java.util.List;
17 
18import org.eclipse.emf.ecore.EClass;
19import org.eclipse.emf.ecore.EObject;
20 
21/**
22 * <!-- begin-user-doc -->
23 * The <b>Switch</b> for the model's inheritance hierarchy.
24 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
25 * to invoke the <code>caseXXX</code> method for each class of the model,
26 * starting with the actual class of the object
27 * and proceeding up the inheritance hierarchy
28 * until a non-null result is returned,
29 * which is the result of the switch.
30 * <!-- end-user-doc -->
31 * @see de.uka.ipd.sdq.sensitivity.SensitivityPackage
32 * @generated
33 */
34public class SensitivitySwitch<T> {
35        /**
36         * The cached model package
37         * <!-- begin-user-doc -->
38         * <!-- end-user-doc -->
39         * @generated
40         */
41        protected static SensitivityPackage modelPackage;
42 
43        /**
44         * Creates an instance of the switch.
45         * <!-- begin-user-doc -->
46         * <!-- end-user-doc -->
47         * @generated
48         */
49        public SensitivitySwitch() {
50                if (modelPackage == null) {
51                        modelPackage = SensitivityPackage.eINSTANCE;
52                }
53        }
54 
55        /**
56         * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
57         * <!-- begin-user-doc -->
58         * <!-- end-user-doc -->
59         * @return the first non-null result returned by a <code>caseXXX</code> call.
60         * @generated
61         */
62        public T doSwitch(EObject theEObject) {
63                return doSwitch(theEObject.eClass(), theEObject);
64        }
65 
66        /**
67         * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
68         * <!-- begin-user-doc -->
69         * <!-- end-user-doc -->
70         * @return the first non-null result returned by a <code>caseXXX</code> call.
71         * @generated
72         */
73        protected T doSwitch(EClass theEClass, EObject theEObject) {
74                if (theEClass.eContainer() == modelPackage) {
75                        return doSwitch(theEClass.getClassifierID(), theEObject);
76                }
77                else {
78                        List<EClass> eSuperTypes = theEClass.getESuperTypes();
79                        return
80                                eSuperTypes.isEmpty() ?
81                                        defaultCase(theEObject) :
82                                        doSwitch(eSuperTypes.get(0), theEObject);
83                }
84        }
85 
86        /**
87         * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
88         * <!-- begin-user-doc -->
89         * <!-- end-user-doc -->
90         * @return the first non-null result returned by a <code>caseXXX</code> call.
91         * @generated
92         */
93        protected T doSwitch(int classifierID, EObject theEObject) {
94                switch (classifierID) {
95                        case SensitivityPackage.SENSITIVITY_CONFIGURATION: {
96                                SensitivityConfiguration sensitivityConfiguration = (SensitivityConfiguration)theEObject;
97                                T result = caseSensitivityConfiguration(sensitivityConfiguration);
98                                if (result == null) result = caseEntity(sensitivityConfiguration);
99                                if (result == null) result = caseIdentifier(sensitivityConfiguration);
100                                if (result == null) result = caseNamedElement(sensitivityConfiguration);
101                                if (result == null) result = defaultCase(theEObject);
102                                return result;
103                        }
104                        case SensitivityPackage.SENSITIVITY_PARAMETER: {
105                                SensitivityParameter sensitivityParameter = (SensitivityParameter)theEObject;
106                                T result = caseSensitivityParameter(sensitivityParameter);
107                                if (result == null) result = caseEntity(sensitivityParameter);
108                                if (result == null) result = caseIdentifier(sensitivityParameter);
109                                if (result == null) result = caseNamedElement(sensitivityParameter);
110                                if (result == null) result = defaultCase(theEObject);
111                                return result;
112                        }
113                        case SensitivityPackage.COMBINED_SENSITIVITY_PARAMETER: {
114                                CombinedSensitivityParameter combinedSensitivityParameter = (CombinedSensitivityParameter)theEObject;
115                                T result = caseCombinedSensitivityParameter(combinedSensitivityParameter);
116                                if (result == null) result = caseSensitivityParameter(combinedSensitivityParameter);
117                                if (result == null) result = caseEntity(combinedSensitivityParameter);
118                                if (result == null) result = caseIdentifier(combinedSensitivityParameter);
119                                if (result == null) result = caseNamedElement(combinedSensitivityParameter);
120                                if (result == null) result = defaultCase(theEObject);
121                                return result;
122                        }
123                        case SensitivityPackage.SENSITIVITY_RESULT_SPECIFICATION: {
124                                SensitivityResultSpecification sensitivityResultSpecification = (SensitivityResultSpecification)theEObject;
125                                T result = caseSensitivityResultSpecification(sensitivityResultSpecification);
126                                if (result == null) result = caseEntity(sensitivityResultSpecification);
127                                if (result == null) result = caseIdentifier(sensitivityResultSpecification);
128                                if (result == null) result = caseNamedElement(sensitivityResultSpecification);
129                                if (result == null) result = defaultCase(theEObject);
130                                return result;
131                        }
132                        case SensitivityPackage.SINGLE_SENSITIVITY_PARAMETER: {
133                                SingleSensitivityParameter singleSensitivityParameter = (SingleSensitivityParameter)theEObject;
134                                T result = caseSingleSensitivityParameter(singleSensitivityParameter);
135                                if (result == null) result = caseSensitivityParameter(singleSensitivityParameter);
136                                if (result == null) result = caseEntity(singleSensitivityParameter);
137                                if (result == null) result = caseIdentifier(singleSensitivityParameter);
138                                if (result == null) result = caseNamedElement(singleSensitivityParameter);
139                                if (result == null) result = defaultCase(theEObject);
140                                return result;
141                        }
142                        case SensitivityPackage.SENSITIVITY_PARAMETER_VARIATION: {
143                                SensitivityParameterVariation sensitivityParameterVariation = (SensitivityParameterVariation)theEObject;
144                                T result = caseSensitivityParameterVariation(sensitivityParameterVariation);
145                                if (result == null) result = defaultCase(theEObject);
146                                return result;
147                        }
148                        case SensitivityPackage.COMPONENT_RELIABILITY_PARAMETER: {
149                                ComponentReliabilityParameter componentReliabilityParameter = (ComponentReliabilityParameter)theEObject;
150                                T result = caseComponentReliabilityParameter(componentReliabilityParameter);
151                                if (result == null) result = caseSingleSensitivityParameter(componentReliabilityParameter);
152                                if (result == null) result = caseSensitivityParameter(componentReliabilityParameter);
153                                if (result == null) result = caseEntity(componentReliabilityParameter);
154                                if (result == null) result = caseIdentifier(componentReliabilityParameter);
155                                if (result == null) result = caseNamedElement(componentReliabilityParameter);
156                                if (result == null) result = defaultCase(theEObject);
157                                return result;
158                        }
159                        case SensitivityPackage.DOUBLE_PARAMETER_VARIATION: {
160                                DoubleParameterVariation doubleParameterVariation = (DoubleParameterVariation)theEObject;
161                                T result = caseDoubleParameterVariation(doubleParameterVariation);
162                                if (result == null) result = caseSensitivityParameterVariation(doubleParameterVariation);
163                                if (result == null) result = defaultCase(theEObject);
164                                return result;
165                        }
166                        case SensitivityPackage.STRING_PARAMETER_SEQUENCE: {
167                                StringParameterSequence stringParameterSequence = (StringParameterSequence)theEObject;
168                                T result = caseStringParameterSequence(stringParameterSequence);
169                                if (result == null) result = caseSensitivityParameterVariation(stringParameterSequence);
170                                if (result == null) result = defaultCase(theEObject);
171                                return result;
172                        }
173                        case SensitivityPackage.DOUBLE_PARAMETER_RANGE: {
174                                DoubleParameterRange doubleParameterRange = (DoubleParameterRange)theEObject;
175                                T result = caseDoubleParameterRange(doubleParameterRange);
176                                if (result == null) result = caseDoubleParameterVariation(doubleParameterRange);
177                                if (result == null) result = caseSensitivityParameterVariation(doubleParameterRange);
178                                if (result == null) result = defaultCase(theEObject);
179                                return result;
180                        }
181                        case SensitivityPackage.DOUBLE_PARAMETER_SEQUENCE: {
182                                DoubleParameterSequence doubleParameterSequence = (DoubleParameterSequence)theEObject;
183                                T result = caseDoubleParameterSequence(doubleParameterSequence);
184                                if (result == null) result = caseDoubleParameterVariation(doubleParameterSequence);
185                                if (result == null) result = caseSensitivityParameterVariation(doubleParameterSequence);
186                                if (result == null) result = defaultCase(theEObject);
187                                return result;
188                        }
189                        case SensitivityPackage.DOUBLE_PARAMETER_FUNCTION: {
190                                DoubleParameterFunction doubleParameterFunction = (DoubleParameterFunction)theEObject;
191                                T result = caseDoubleParameterFunction(doubleParameterFunction);
192                                if (result == null) result = caseDoubleParameterVariation(doubleParameterFunction);
193                                if (result == null) result = caseSensitivityParameterVariation(doubleParameterFunction);
194                                if (result == null) result = defaultCase(theEObject);
195                                return result;
196                        }
197                        case SensitivityPackage.INTERNAL_ACTION_RELIABILITY_PARAMETER: {
198                                InternalActionReliabilityParameter internalActionReliabilityParameter = (InternalActionReliabilityParameter)theEObject;
199                                T result = caseInternalActionReliabilityParameter(internalActionReliabilityParameter);
200                                if (result == null) result = caseSingleSensitivityParameter(internalActionReliabilityParameter);
201                                if (result == null) result = caseSensitivityParameter(internalActionReliabilityParameter);
202                                if (result == null) result = caseEntity(internalActionReliabilityParameter);
203                                if (result == null) result = caseIdentifier(internalActionReliabilityParameter);
204                                if (result == null) result = caseNamedElement(internalActionReliabilityParameter);
205                                if (result == null) result = defaultCase(theEObject);
206                                return result;
207                        }
208                        case SensitivityPackage.PROBABILISTIC_BRANCH_PARAMETER: {
209                                ProbabilisticBranchParameter probabilisticBranchParameter = (ProbabilisticBranchParameter)theEObject;
210                                T result = caseProbabilisticBranchParameter(probabilisticBranchParameter);
211                                if (result == null) result = caseSingleSensitivityParameter(probabilisticBranchParameter);
212                                if (result == null) result = caseSensitivityParameter(probabilisticBranchParameter);
213                                if (result == null) result = caseEntity(probabilisticBranchParameter);
214                                if (result == null) result = caseIdentifier(probabilisticBranchParameter);
215                                if (result == null) result = caseNamedElement(probabilisticBranchParameter);
216                                if (result == null) result = defaultCase(theEObject);
217                                return result;
218                        }
219                        case SensitivityPackage.HARDWARE_MTTF_PARAMETER: {
220                                HardwareMTTFParameter hardwareMTTFParameter = (HardwareMTTFParameter)theEObject;
221                                T result = caseHardwareMTTFParameter(hardwareMTTFParameter);
222                                if (result == null) result = caseSingleSensitivityParameter(hardwareMTTFParameter);
223                                if (result == null) result = caseSensitivityParameter(hardwareMTTFParameter);
224                                if (result == null) result = caseEntity(hardwareMTTFParameter);
225                                if (result == null) result = caseIdentifier(hardwareMTTFParameter);
226                                if (result == null) result = caseNamedElement(hardwareMTTFParameter);
227                                if (result == null) result = defaultCase(theEObject);
228                                return result;
229                        }
230                        case SensitivityPackage.HARDWARE_MTTR_PARAMETER: {
231                                HardwareMTTRParameter hardwareMTTRParameter = (HardwareMTTRParameter)theEObject;
232                                T result = caseHardwareMTTRParameter(hardwareMTTRParameter);
233                                if (result == null) result = caseSingleSensitivityParameter(hardwareMTTRParameter);
234                                if (result == null) result = caseSensitivityParameter(hardwareMTTRParameter);
235                                if (result == null) result = caseEntity(hardwareMTTRParameter);
236                                if (result == null) result = caseIdentifier(hardwareMTTRParameter);
237                                if (result == null) result = caseNamedElement(hardwareMTTRParameter);
238                                if (result == null) result = defaultCase(theEObject);
239                                return result;
240                        }
241                        case SensitivityPackage.RESOURCE_MTTF_PARAMETER: {
242                                ResourceMTTFParameter resourceMTTFParameter = (ResourceMTTFParameter)theEObject;
243                                T result = caseResourceMTTFParameter(resourceMTTFParameter);
244                                if (result == null) result = caseSingleSensitivityParameter(resourceMTTFParameter);
245                                if (result == null) result = caseSensitivityParameter(resourceMTTFParameter);
246                                if (result == null) result = caseEntity(resourceMTTFParameter);
247                                if (result == null) result = caseIdentifier(resourceMTTFParameter);
248                                if (result == null) result = caseNamedElement(resourceMTTFParameter);
249                                if (result == null) result = defaultCase(theEObject);
250                                return result;
251                        }
252                        case SensitivityPackage.RESOURCE_MTTR_PARAMETER: {
253                                ResourceMTTRParameter resourceMTTRParameter = (ResourceMTTRParameter)theEObject;
254                                T result = caseResourceMTTRParameter(resourceMTTRParameter);
255                                if (result == null) result = caseSingleSensitivityParameter(resourceMTTRParameter);
256                                if (result == null) result = caseSensitivityParameter(resourceMTTRParameter);
257                                if (result == null) result = caseEntity(resourceMTTRParameter);
258                                if (result == null) result = caseIdentifier(resourceMTTRParameter);
259                                if (result == null) result = caseNamedElement(resourceMTTRParameter);
260                                if (result == null) result = defaultCase(theEObject);
261                                return result;
262                        }
263                        case SensitivityPackage.NETWORK_RELIABILITY_PARAMETER: {
264                                NetworkReliabilityParameter networkReliabilityParameter = (NetworkReliabilityParameter)theEObject;
265                                T result = caseNetworkReliabilityParameter(networkReliabilityParameter);
266                                if (result == null) result = caseSingleSensitivityParameter(networkReliabilityParameter);
267                                if (result == null) result = caseSensitivityParameter(networkReliabilityParameter);
268                                if (result == null) result = caseEntity(networkReliabilityParameter);
269                                if (result == null) result = caseIdentifier(networkReliabilityParameter);
270                                if (result == null) result = caseNamedElement(networkReliabilityParameter);
271                                if (result == null) result = defaultCase(theEObject);
272                                return result;
273                        }
274                        case SensitivityPackage.COMMUNICATION_LINK_RELIABILITY_PARAMETER: {
275                                CommunicationLinkReliabilityParameter communicationLinkReliabilityParameter = (CommunicationLinkReliabilityParameter)theEObject;
276                                T result = caseCommunicationLinkReliabilityParameter(communicationLinkReliabilityParameter);
277                                if (result == null) result = caseSingleSensitivityParameter(communicationLinkReliabilityParameter);
278                                if (result == null) result = caseSensitivityParameter(communicationLinkReliabilityParameter);
279                                if (result == null) result = caseEntity(communicationLinkReliabilityParameter);
280                                if (result == null) result = caseIdentifier(communicationLinkReliabilityParameter);
281                                if (result == null) result = caseNamedElement(communicationLinkReliabilityParameter);
282                                if (result == null) result = defaultCase(theEObject);
283                                return result;
284                        }
285                        case SensitivityPackage.SOFTWARE_RELIABILITY_PARAMETER: {
286                                SoftwareReliabilityParameter softwareReliabilityParameter = (SoftwareReliabilityParameter)theEObject;
287                                T result = caseSoftwareReliabilityParameter(softwareReliabilityParameter);
288                                if (result == null) result = caseSingleSensitivityParameter(softwareReliabilityParameter);
289                                if (result == null) result = caseSensitivityParameter(softwareReliabilityParameter);
290                                if (result == null) result = caseEntity(softwareReliabilityParameter);
291                                if (result == null) result = caseIdentifier(softwareReliabilityParameter);
292                                if (result == null) result = caseNamedElement(softwareReliabilityParameter);
293                                if (result == null) result = defaultCase(theEObject);
294                                return result;
295                        }
296                        case SensitivityPackage.VARIABLE_USAGE_PARAMETER: {
297                                VariableUsageParameter variableUsageParameter = (VariableUsageParameter)theEObject;
298                                T result = caseVariableUsageParameter(variableUsageParameter);
299                                if (result == null) result = caseSingleSensitivityParameter(variableUsageParameter);
300                                if (result == null) result = caseSensitivityParameter(variableUsageParameter);
301                                if (result == null) result = caseEntity(variableUsageParameter);
302                                if (result == null) result = caseIdentifier(variableUsageParameter);
303                                if (result == null) result = caseNamedElement(variableUsageParameter);
304                                if (result == null) result = defaultCase(theEObject);
305                                return result;
306                        }
307                        case SensitivityPackage.USAGE_BRANCH_PARAMETER: {
308                                UsageBranchParameter usageBranchParameter = (UsageBranchParameter)theEObject;
309                                T result = caseUsageBranchParameter(usageBranchParameter);
310                                if (result == null) result = caseSingleSensitivityParameter(usageBranchParameter);
311                                if (result == null) result = caseSensitivityParameter(usageBranchParameter);
312                                if (result == null) result = caseEntity(usageBranchParameter);
313                                if (result == null) result = caseIdentifier(usageBranchParameter);
314                                if (result == null) result = caseNamedElement(usageBranchParameter);
315                                if (result == null) result = defaultCase(theEObject);
316                                return result;
317                        }
318                        case SensitivityPackage.DOUBLE_OFFSET_SEQUENCE: {
319                                DoubleOffsetSequence doubleOffsetSequence = (DoubleOffsetSequence)theEObject;
320                                T result = caseDoubleOffsetSequence(doubleOffsetSequence);
321                                if (result == null) result = caseDoubleParameterVariation(doubleOffsetSequence);
322                                if (result == null) result = caseSensitivityParameterVariation(doubleOffsetSequence);
323                                if (result == null) result = defaultCase(theEObject);
324                                return result;
325                        }
326                        case SensitivityPackage.SOFTWARE_FAILURE_TYPES_PARAMETER: {
327                                SoftwareFailureTypesParameter softwareFailureTypesParameter = (SoftwareFailureTypesParameter)theEObject;
328                                T result = caseSoftwareFailureTypesParameter(softwareFailureTypesParameter);
329                                if (result == null) result = caseSingleSensitivityParameter(softwareFailureTypesParameter);
330                                if (result == null) result = caseSensitivityParameter(softwareFailureTypesParameter);
331                                if (result == null) result = caseEntity(softwareFailureTypesParameter);
332                                if (result == null) result = caseIdentifier(softwareFailureTypesParameter);
333                                if (result == null) result = caseNamedElement(softwareFailureTypesParameter);
334                                if (result == null) result = defaultCase(theEObject);
335                                return result;
336                        }
337                        case SensitivityPackage.FAILURE_TYPE_RESULT_SPECIFICATION: {
338                                FailureTypeResultSpecification failureTypeResultSpecification = (FailureTypeResultSpecification)theEObject;
339                                T result = caseFailureTypeResultSpecification(failureTypeResultSpecification);
340                                if (result == null) result = caseSensitivityResultSpecification(failureTypeResultSpecification);
341                                if (result == null) result = caseEntity(failureTypeResultSpecification);
342                                if (result == null) result = caseIdentifier(failureTypeResultSpecification);
343                                if (result == null) result = caseNamedElement(failureTypeResultSpecification);
344                                if (result == null) result = defaultCase(theEObject);
345                                return result;
346                        }
347                        case SensitivityPackage.FAILURE_DIMENSION_RESULT_SPECIFICATION: {
348                                FailureDimensionResultSpecification failureDimensionResultSpecification = (FailureDimensionResultSpecification)theEObject;
349                                T result = caseFailureDimensionResultSpecification(failureDimensionResultSpecification);
350                                if (result == null) result = caseSensitivityResultSpecification(failureDimensionResultSpecification);
351                                if (result == null) result = caseEntity(failureDimensionResultSpecification);
352                                if (result == null) result = caseIdentifier(failureDimensionResultSpecification);
353                                if (result == null) result = caseNamedElement(failureDimensionResultSpecification);
354                                if (result == null) result = defaultCase(theEObject);
355                                return result;
356                        }
357                        default: return defaultCase(theEObject);
358                }
359        }
360 
361        /**
362         * Returns the result of interpreting the object as an instance of '<em>Configuration</em>'.
363         * <!-- begin-user-doc -->
364         * This implementation returns null;
365         * returning a non-null result will terminate the switch.
366         * <!-- end-user-doc -->
367         * @param object the target of the switch.
368         * @return the result of interpreting the object as an instance of '<em>Configuration</em>'.
369         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
370         * @generated
371         */
372        public T caseSensitivityConfiguration(SensitivityConfiguration object) {
373                return null;
374        }
375 
376        /**
377         * Returns the result of interpreting the object as an instance of '<em>Parameter</em>'.
378         * <!-- begin-user-doc -->
379         * This implementation returns null;
380         * returning a non-null result will terminate the switch.
381         * <!-- end-user-doc -->
382         * @param object the target of the switch.
383         * @return the result of interpreting the object as an instance of '<em>Parameter</em>'.
384         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
385         * @generated
386         */
387        public T caseSensitivityParameter(SensitivityParameter object) {
388                return null;
389        }
390 
391        /**
392         * Returns the result of interpreting the object as an instance of '<em>Combined Sensitivity Parameter</em>'.
393         * <!-- begin-user-doc -->
394         * This implementation returns null;
395         * returning a non-null result will terminate the switch.
396         * <!-- end-user-doc -->
397         * @param object the target of the switch.
398         * @return the result of interpreting the object as an instance of '<em>Combined Sensitivity Parameter</em>'.
399         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
400         * @generated
401         */
402        public T caseCombinedSensitivityParameter(CombinedSensitivityParameter object) {
403                return null;
404        }
405 
406        /**
407         * Returns the result of interpreting the object as an instance of '<em>Result Specification</em>'.
408         * <!-- begin-user-doc -->
409         * This implementation returns null;
410         * returning a non-null result will terminate the switch.
411         * <!-- end-user-doc -->
412         * @param object the target of the switch.
413         * @return the result of interpreting the object as an instance of '<em>Result Specification</em>'.
414         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
415         * @generated
416         */
417        public T caseSensitivityResultSpecification(SensitivityResultSpecification object) {
418                return null;
419        }
420 
421        /**
422         * Returns the result of interpreting the object as an instance of '<em>Single Sensitivity Parameter</em>'.
423         * <!-- begin-user-doc -->
424         * This implementation returns null;
425         * returning a non-null result will terminate the switch.
426         * <!-- end-user-doc -->
427         * @param object the target of the switch.
428         * @return the result of interpreting the object as an instance of '<em>Single Sensitivity Parameter</em>'.
429         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
430         * @generated
431         */
432        public T caseSingleSensitivityParameter(SingleSensitivityParameter object) {
433                return null;
434        }
435 
436        /**
437         * Returns the result of interpreting the object as an instance of '<em>Parameter Variation</em>'.
438         * <!-- begin-user-doc -->
439         * This implementation returns null;
440         * returning a non-null result will terminate the switch.
441         * <!-- end-user-doc -->
442         * @param object the target of the switch.
443         * @return the result of interpreting the object as an instance of '<em>Parameter Variation</em>'.
444         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
445         * @generated
446         */
447        public T caseSensitivityParameterVariation(SensitivityParameterVariation object) {
448                return null;
449        }
450 
451        /**
452         * Returns the result of interpreting the object as an instance of '<em>Component Reliability Parameter</em>'.
453         * <!-- begin-user-doc -->
454         * This implementation returns null;
455         * returning a non-null result will terminate the switch.
456         * <!-- end-user-doc -->
457         * @param object the target of the switch.
458         * @return the result of interpreting the object as an instance of '<em>Component Reliability Parameter</em>'.
459         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
460         * @generated
461         */
462        public T caseComponentReliabilityParameter(ComponentReliabilityParameter object) {
463                return null;
464        }
465 
466        /**
467         * Returns the result of interpreting the object as an instance of '<em>Double Parameter Variation</em>'.
468         * <!-- begin-user-doc -->
469         * This implementation returns null;
470         * returning a non-null result will terminate the switch.
471         * <!-- end-user-doc -->
472         * @param object the target of the switch.
473         * @return the result of interpreting the object as an instance of '<em>Double Parameter Variation</em>'.
474         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
475         * @generated
476         */
477        public T caseDoubleParameterVariation(DoubleParameterVariation object) {
478                return null;
479        }
480 
481        /**
482         * Returns the result of interpreting the object as an instance of '<em>String Parameter Sequence</em>'.
483         * <!-- begin-user-doc -->
484         * This implementation returns null;
485         * returning a non-null result will terminate the switch.
486         * <!-- end-user-doc -->
487         * @param object the target of the switch.
488         * @return the result of interpreting the object as an instance of '<em>String Parameter Sequence</em>'.
489         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
490         * @generated
491         */
492        public T caseStringParameterSequence(StringParameterSequence object) {
493                return null;
494        }
495 
496        /**
497         * Returns the result of interpreting the object as an instance of '<em>Double Parameter Range</em>'.
498         * <!-- begin-user-doc -->
499         * This implementation returns null;
500         * returning a non-null result will terminate the switch.
501         * <!-- end-user-doc -->
502         * @param object the target of the switch.
503         * @return the result of interpreting the object as an instance of '<em>Double Parameter Range</em>'.
504         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
505         * @generated
506         */
507        public T caseDoubleParameterRange(DoubleParameterRange object) {
508                return null;
509        }
510 
511        /**
512         * Returns the result of interpreting the object as an instance of '<em>Double Parameter Sequence</em>'.
513         * <!-- begin-user-doc -->
514         * This implementation returns null;
515         * returning a non-null result will terminate the switch.
516         * <!-- end-user-doc -->
517         * @param object the target of the switch.
518         * @return the result of interpreting the object as an instance of '<em>Double Parameter Sequence</em>'.
519         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
520         * @generated
521         */
522        public T caseDoubleParameterSequence(DoubleParameterSequence object) {
523                return null;
524        }
525 
526        /**
527         * Returns the result of interpreting the object as an instance of '<em>Double Parameter Function</em>'.
528         * <!-- begin-user-doc -->
529         * This implementation returns null;
530         * returning a non-null result will terminate the switch.
531         * <!-- end-user-doc -->
532         * @param object the target of the switch.
533         * @return the result of interpreting the object as an instance of '<em>Double Parameter Function</em>'.
534         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
535         * @generated
536         */
537        public T caseDoubleParameterFunction(DoubleParameterFunction object) {
538                return null;
539        }
540 
541        /**
542         * Returns the result of interpreting the object as an instance of '<em>Internal Action Reliability Parameter</em>'.
543         * <!-- begin-user-doc -->
544         * This implementation returns null;
545         * returning a non-null result will terminate the switch.
546         * <!-- end-user-doc -->
547         * @param object the target of the switch.
548         * @return the result of interpreting the object as an instance of '<em>Internal Action Reliability Parameter</em>'.
549         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
550         * @generated
551         */
552        public T caseInternalActionReliabilityParameter(InternalActionReliabilityParameter object) {
553                return null;
554        }
555 
556        /**
557         * Returns the result of interpreting the object as an instance of '<em>Probabilistic Branch Parameter</em>'.
558         * <!-- begin-user-doc -->
559         * This implementation returns null;
560         * returning a non-null result will terminate the switch.
561         * <!-- end-user-doc -->
562         * @param object the target of the switch.
563         * @return the result of interpreting the object as an instance of '<em>Probabilistic Branch Parameter</em>'.
564         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
565         * @generated
566         */
567        public T caseProbabilisticBranchParameter(ProbabilisticBranchParameter object) {
568                return null;
569        }
570 
571        /**
572         * Returns the result of interpreting the object as an instance of '<em>Hardware MTTF Parameter</em>'.
573         * <!-- begin-user-doc -->
574         * This implementation returns null;
575         * returning a non-null result will terminate the switch.
576         * <!-- end-user-doc -->
577         * @param object the target of the switch.
578         * @return the result of interpreting the object as an instance of '<em>Hardware MTTF Parameter</em>'.
579         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
580         * @generated
581         */
582        public T caseHardwareMTTFParameter(HardwareMTTFParameter object) {
583                return null;
584        }
585 
586        /**
587         * Returns the result of interpreting the object as an instance of '<em>Hardware MTTR Parameter</em>'.
588         * <!-- begin-user-doc -->
589         * This implementation returns null;
590         * returning a non-null result will terminate the switch.
591         * <!-- end-user-doc -->
592         * @param object the target of the switch.
593         * @return the result of interpreting the object as an instance of '<em>Hardware MTTR Parameter</em>'.
594         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
595         * @generated
596         */
597        public T caseHardwareMTTRParameter(HardwareMTTRParameter object) {
598                return null;
599        }
600 
601        /**
602         * Returns the result of interpreting the object as an instance of '<em>Resource MTTF Parameter</em>'.
603         * <!-- begin-user-doc -->
604         * This implementation returns null;
605         * returning a non-null result will terminate the switch.
606         * <!-- end-user-doc -->
607         * @param object the target of the switch.
608         * @return the result of interpreting the object as an instance of '<em>Resource MTTF Parameter</em>'.
609         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
610         * @generated
611         */
612        public T caseResourceMTTFParameter(ResourceMTTFParameter object) {
613                return null;
614        }
615 
616        /**
617         * Returns the result of interpreting the object as an instance of '<em>Resource MTTR Parameter</em>'.
618         * <!-- begin-user-doc -->
619         * This implementation returns null;
620         * returning a non-null result will terminate the switch.
621         * <!-- end-user-doc -->
622         * @param object the target of the switch.
623         * @return the result of interpreting the object as an instance of '<em>Resource MTTR Parameter</em>'.
624         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
625         * @generated
626         */
627        public T caseResourceMTTRParameter(ResourceMTTRParameter object) {
628                return null;
629        }
630 
631        /**
632         * Returns the result of interpreting the object as an instance of '<em>Network Reliability Parameter</em>'.
633         * <!-- begin-user-doc -->
634         * This implementation returns null;
635         * returning a non-null result will terminate the switch.
636         * <!-- end-user-doc -->
637         * @param object the target of the switch.
638         * @return the result of interpreting the object as an instance of '<em>Network Reliability Parameter</em>'.
639         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
640         * @generated
641         */
642        public T caseNetworkReliabilityParameter(NetworkReliabilityParameter object) {
643                return null;
644        }
645 
646        /**
647         * Returns the result of interpreting the object as an instance of '<em>Communication Link Reliability Parameter</em>'.
648         * <!-- begin-user-doc -->
649         * This implementation returns null;
650         * returning a non-null result will terminate the switch.
651         * <!-- end-user-doc -->
652         * @param object the target of the switch.
653         * @return the result of interpreting the object as an instance of '<em>Communication Link Reliability Parameter</em>'.
654         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
655         * @generated
656         */
657        public T caseCommunicationLinkReliabilityParameter(CommunicationLinkReliabilityParameter object) {
658                return null;
659        }
660 
661        /**
662         * Returns the result of interpreting the object as an instance of '<em>Software Reliability Parameter</em>'.
663         * <!-- begin-user-doc -->
664         * This implementation returns null;
665         * returning a non-null result will terminate the switch.
666         * <!-- end-user-doc -->
667         * @param object the target of the switch.
668         * @return the result of interpreting the object as an instance of '<em>Software Reliability Parameter</em>'.
669         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
670         * @generated
671         */
672        public T caseSoftwareReliabilityParameter(SoftwareReliabilityParameter object) {
673                return null;
674        }
675 
676        /**
677         * Returns the result of interpreting the object as an instance of '<em>Variable Usage Parameter</em>'.
678         * <!-- begin-user-doc -->
679         * This implementation returns null;
680         * returning a non-null result will terminate the switch.
681         * <!-- end-user-doc -->
682         * @param object the target of the switch.
683         * @return the result of interpreting the object as an instance of '<em>Variable Usage Parameter</em>'.
684         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
685         * @generated
686         */
687        public T caseVariableUsageParameter(VariableUsageParameter object) {
688                return null;
689        }
690 
691        /**
692         * Returns the result of interpreting the object as an instance of '<em>Usage Branch Parameter</em>'.
693         * <!-- begin-user-doc -->
694         * This implementation returns null;
695         * returning a non-null result will terminate the switch.
696         * <!-- end-user-doc -->
697         * @param object the target of the switch.
698         * @return the result of interpreting the object as an instance of '<em>Usage Branch Parameter</em>'.
699         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
700         * @generated
701         */
702        public T caseUsageBranchParameter(UsageBranchParameter object) {
703                return null;
704        }
705 
706        /**
707         * Returns the result of interpreting the object as an instance of '<em>Double Offset Sequence</em>'.
708         * <!-- begin-user-doc -->
709         * This implementation returns null;
710         * returning a non-null result will terminate the switch.
711         * <!-- end-user-doc -->
712         * @param object the target of the switch.
713         * @return the result of interpreting the object as an instance of '<em>Double Offset Sequence</em>'.
714         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
715         * @generated
716         */
717        public T caseDoubleOffsetSequence(DoubleOffsetSequence object) {
718                return null;
719        }
720 
721        /**
722         * Returns the result of interpreting the object as an instance of '<em>Software Failure Types Parameter</em>'.
723         * <!-- begin-user-doc -->
724         * This implementation returns null;
725         * returning a non-null result will terminate the switch.
726         * <!-- end-user-doc -->
727         * @param object the target of the switch.
728         * @return the result of interpreting the object as an instance of '<em>Software Failure Types Parameter</em>'.
729         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
730         * @generated
731         */
732        public T caseSoftwareFailureTypesParameter(SoftwareFailureTypesParameter object) {
733                return null;
734        }
735 
736        /**
737         * Returns the result of interpreting the object as an instance of '<em>Failure Type Result Specification</em>'.
738         * <!-- begin-user-doc -->
739         * This implementation returns null;
740         * returning a non-null result will terminate the switch.
741         * <!-- end-user-doc -->
742         * @param object the target of the switch.
743         * @return the result of interpreting the object as an instance of '<em>Failure Type Result Specification</em>'.
744         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
745         * @generated
746         */
747        public T caseFailureTypeResultSpecification(FailureTypeResultSpecification object) {
748                return null;
749        }
750 
751        /**
752         * Returns the result of interpreting the object as an instance of '<em>Failure Dimension Result Specification</em>'.
753         * <!-- begin-user-doc -->
754         * This implementation returns null;
755         * returning a non-null result will terminate the switch.
756         * <!-- end-user-doc -->
757         * @param object the target of the switch.
758         * @return the result of interpreting the object as an instance of '<em>Failure Dimension Result Specification</em>'.
759         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
760         * @generated
761         */
762        public T caseFailureDimensionResultSpecification(FailureDimensionResultSpecification object) {
763                return null;
764        }
765 
766        /**
767         * Returns the result of interpreting the object as an instance of '<em>Identifier</em>'.
768         * <!-- begin-user-doc -->
769         * This implementation returns null;
770         * returning a non-null result will terminate the switch.
771         * <!-- end-user-doc -->
772         * @param object the target of the switch.
773         * @return the result of interpreting the object as an instance of '<em>Identifier</em>'.
774         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
775         * @generated
776         */
777        public T caseIdentifier(Identifier object) {
778                return null;
779        }
780 
781        /**
782         * Returns the result of interpreting the object as an instance of '<em>Named Element</em>'.
783         * <!-- begin-user-doc -->
784         * This implementation returns null;
785         * returning a non-null result will terminate the switch.
786         * <!-- end-user-doc -->
787         * @param object the target of the switch.
788         * @return the result of interpreting the object as an instance of '<em>Named Element</em>'.
789         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
790         * @generated
791         */
792        public T caseNamedElement(NamedElement object) {
793                return null;
794        }
795 
796        /**
797         * Returns the result of interpreting the object as an instance of '<em>Entity</em>'.
798         * <!-- begin-user-doc -->
799         * This implementation returns null;
800         * returning a non-null result will terminate the switch.
801         * <!-- end-user-doc -->
802         * @param object the target of the switch.
803         * @return the result of interpreting the object as an instance of '<em>Entity</em>'.
804         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
805         * @generated
806         */
807        public T caseEntity(Entity object) {
808                return null;
809        }
810 
811        /**
812         * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
813         * <!-- begin-user-doc -->
814         * This implementation returns null;
815         * returning a non-null result will terminate the switch, but this is the last case anyway.
816         * <!-- end-user-doc -->
817         * @param object the target of the switch.
818         * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
819         * @see #doSwitch(org.eclipse.emf.ecore.EObject)
820         * @generated
821         */
822        public T defaultCase(EObject object) {
823                return null;
824        }
825 
826} //SensitivitySwitch

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