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

COVERAGE SUMMARY FOR SOURCE FILE [QMLContractSwitch.java]

nameclass, %method, %block, %line, %
QMLContractSwitch.java0%   (0/1)0%   (0/32)0%   (0/796)0%   (0/192)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class QMLContractSwitch0%   (0/1)0%   (0/32)0%   (0/796)0%   (0/192)
QMLContractSwitch (): void 0%   (0/1)0%   (0/7)0%   (0/4)
caseAspectRequirement (AspectRequirement): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseConstraint (Constraint): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseCriterion (Criterion): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseDeterministicEvaluationAspect (DeterministicEvaluationAspect): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseEntity (Entity): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseEnumLiteral (EnumLiteral): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseEvaluationAspect (EvaluationAspect): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseFrequency (Frequency): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseGenericQMLContract (GenericQMLContract): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseGoal (Goal): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseIdentifier (Identifier): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseMean (Mean): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseNamedElement (NamedElement): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseNumericLiteral (NumericLiteral): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseObjective (Objective): Object 0%   (0/1)0%   (0/2)0%   (0/1)
casePercentile (Percentile): Object 0%   (0/1)0%   (0/2)0%   (0/1)
casePointEstimator (PointEstimator): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseQMLDeclaration (QMLDeclaration): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseRangeValue (RangeValue): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseRefinedQMLContract (RefinedQMLContract): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseRestriction (Restriction): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseSetLiteral (SetLiteral): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseSimpleQMLContract (SimpleQMLContract): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseStochasticEvaluationAspect (StochasticEvaluationAspect): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseValue (Value): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseValueLiteral (ValueLiteral): Object 0%   (0/1)0%   (0/2)0%   (0/1)
caseVariance (Variance): 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/699)0%   (0/152)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package de.uka.ipd.sdq.dsexplore.qml.contract.QMLContract.util;
8 
9import de.uka.ipd.sdq.dsexplore.qml.contract.QMLContract.*;
10 
11import de.uka.ipd.sdq.dsexplore.qml.declarations.QMLDeclarations.QMLDeclaration;
12 
13import de.uka.ipd.sdq.identifier.Identifier;
14 
15import de.uka.ipd.sdq.pcm.core.entity.Entity;
16import de.uka.ipd.sdq.pcm.core.entity.NamedElement;
17 
18import java.util.List;
19 
20import org.eclipse.emf.ecore.EClass;
21import org.eclipse.emf.ecore.EObject;
22 
23/**
24 * <!-- begin-user-doc -->
25 * The <b>Switch</b> for the model's inheritance hierarchy.
26 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
27 * to invoke the <code>caseXXX</code> method for each class of the model,
28 * starting with the actual class of the object
29 * and proceeding up the inheritance hierarchy
30 * until a non-null result is returned,
31 * which is the result of the switch.
32 * <!-- end-user-doc -->
33 * @see de.uka.ipd.sdq.dsexplore.qml.contract.QMLContract.QMLContractPackage
34 * @generated
35 */
36public class QMLContractSwitch<T> {
37        /**
38         * The cached model package
39         * <!-- begin-user-doc -->
40         * <!-- end-user-doc -->
41         * @generated
42         */
43        protected static QMLContractPackage modelPackage;
44 
45        /**
46         * Creates an instance of the switch.
47         * <!-- begin-user-doc -->
48         * <!-- end-user-doc -->
49         * @generated
50         */
51        public QMLContractSwitch() {
52                if (modelPackage == null) {
53                        modelPackage = QMLContractPackage.eINSTANCE;
54                }
55        }
56 
57        /**
58         * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
59         * <!-- begin-user-doc -->
60         * <!-- end-user-doc -->
61         * @return the first non-null result returned by a <code>caseXXX</code> call.
62         * @generated
63         */
64        public T doSwitch(EObject theEObject) {
65                return doSwitch(theEObject.eClass(), theEObject);
66        }
67 
68        /**
69         * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
70         * <!-- begin-user-doc -->
71         * <!-- end-user-doc -->
72         * @return the first non-null result returned by a <code>caseXXX</code> call.
73         * @generated
74         */
75        protected T doSwitch(EClass theEClass, EObject theEObject) {
76                if (theEClass.eContainer() == modelPackage) {
77                        return doSwitch(theEClass.getClassifierID(), theEObject);
78                }
79                else {
80                        List<EClass> eSuperTypes = theEClass.getESuperTypes();
81                        return
82                                eSuperTypes.isEmpty() ?
83                                        defaultCase(theEObject) :
84                                        doSwitch(eSuperTypes.get(0), theEObject);
85                }
86        }
87 
88        /**
89         * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
90         * <!-- begin-user-doc -->
91         * <!-- end-user-doc -->
92         * @return the first non-null result returned by a <code>caseXXX</code> call.
93         * @generated
94         */
95        protected T doSwitch(int classifierID, EObject theEObject) {
96                switch (classifierID) {
97                        case QMLContractPackage.SIMPLE_QML_CONTRACT: {
98                                SimpleQMLContract simpleQMLContract = (SimpleQMLContract)theEObject;
99                                T result = caseSimpleQMLContract(simpleQMLContract);
100                                if (result == null) result = caseGenericQMLContract(simpleQMLContract);
101                                if (result == null) result = caseQMLDeclaration(simpleQMLContract);
102                                if (result == null) result = caseEntity(simpleQMLContract);
103                                if (result == null) result = caseIdentifier(simpleQMLContract);
104                                if (result == null) result = caseNamedElement(simpleQMLContract);
105                                if (result == null) result = defaultCase(theEObject);
106                                return result;
107                        }
108                        case QMLContractPackage.CRITERION: {
109                                Criterion criterion = (Criterion)theEObject;
110                                T result = caseCriterion(criterion);
111                                if (result == null) result = caseIdentifier(criterion);
112                                if (result == null) result = defaultCase(theEObject);
113                                return result;
114                        }
115                        case QMLContractPackage.EVALUATION_ASPECT: {
116                                EvaluationAspect evaluationAspect = (EvaluationAspect)theEObject;
117                                T result = caseEvaluationAspect(evaluationAspect);
118                                if (result == null) result = caseIdentifier(evaluationAspect);
119                                if (result == null) result = defaultCase(theEObject);
120                                return result;
121                        }
122                        case QMLContractPackage.ASPECT_REQUIREMENT: {
123                                AspectRequirement aspectRequirement = (AspectRequirement)theEObject;
124                                T result = caseAspectRequirement(aspectRequirement);
125                                if (result == null) result = caseIdentifier(aspectRequirement);
126                                if (result == null) result = defaultCase(theEObject);
127                                return result;
128                        }
129                        case QMLContractPackage.VALUE_LITERAL: {
130                                ValueLiteral valueLiteral = (ValueLiteral)theEObject;
131                                T result = caseValueLiteral(valueLiteral);
132                                if (result == null) result = caseIdentifier(valueLiteral);
133                                if (result == null) result = defaultCase(theEObject);
134                                return result;
135                        }
136                        case QMLContractPackage.PERCENTILE: {
137                                Percentile percentile = (Percentile)theEObject;
138                                T result = casePercentile(percentile);
139                                if (result == null) result = casePointEstimator(percentile);
140                                if (result == null) result = caseStochasticEvaluationAspect(percentile);
141                                if (result == null) result = caseEvaluationAspect(percentile);
142                                if (result == null) result = caseIdentifier(percentile);
143                                if (result == null) result = defaultCase(theEObject);
144                                return result;
145                        }
146                        case QMLContractPackage.POINT_ESTIMATOR: {
147                                PointEstimator pointEstimator = (PointEstimator)theEObject;
148                                T result = casePointEstimator(pointEstimator);
149                                if (result == null) result = caseStochasticEvaluationAspect(pointEstimator);
150                                if (result == null) result = caseEvaluationAspect(pointEstimator);
151                                if (result == null) result = caseIdentifier(pointEstimator);
152                                if (result == null) result = defaultCase(theEObject);
153                                return result;
154                        }
155                        case QMLContractPackage.STOCHASTIC_EVALUATION_ASPECT: {
156                                StochasticEvaluationAspect stochasticEvaluationAspect = (StochasticEvaluationAspect)theEObject;
157                                T result = caseStochasticEvaluationAspect(stochasticEvaluationAspect);
158                                if (result == null) result = caseEvaluationAspect(stochasticEvaluationAspect);
159                                if (result == null) result = caseIdentifier(stochasticEvaluationAspect);
160                                if (result == null) result = defaultCase(theEObject);
161                                return result;
162                        }
163                        case QMLContractPackage.FREQUENCY: {
164                                Frequency frequency = (Frequency)theEObject;
165                                T result = caseFrequency(frequency);
166                                if (result == null) result = caseStochasticEvaluationAspect(frequency);
167                                if (result == null) result = caseEvaluationAspect(frequency);
168                                if (result == null) result = caseIdentifier(frequency);
169                                if (result == null) result = defaultCase(theEObject);
170                                return result;
171                        }
172                        case QMLContractPackage.RANGE_VALUE: {
173                                RangeValue rangeValue = (RangeValue)theEObject;
174                                T result = caseRangeValue(rangeValue);
175                                if (result == null) result = caseIdentifier(rangeValue);
176                                if (result == null) result = defaultCase(theEObject);
177                                return result;
178                        }
179                        case QMLContractPackage.MEAN: {
180                                Mean mean = (Mean)theEObject;
181                                T result = caseMean(mean);
182                                if (result == null) result = casePointEstimator(mean);
183                                if (result == null) result = caseStochasticEvaluationAspect(mean);
184                                if (result == null) result = caseEvaluationAspect(mean);
185                                if (result == null) result = caseIdentifier(mean);
186                                if (result == null) result = defaultCase(theEObject);
187                                return result;
188                        }
189                        case QMLContractPackage.VARIANCE: {
190                                Variance variance = (Variance)theEObject;
191                                T result = caseVariance(variance);
192                                if (result == null) result = casePointEstimator(variance);
193                                if (result == null) result = caseStochasticEvaluationAspect(variance);
194                                if (result == null) result = caseEvaluationAspect(variance);
195                                if (result == null) result = caseIdentifier(variance);
196                                if (result == null) result = defaultCase(theEObject);
197                                return result;
198                        }
199                        case QMLContractPackage.NUMERIC_LITERAL: {
200                                NumericLiteral numericLiteral = (NumericLiteral)theEObject;
201                                T result = caseNumericLiteral(numericLiteral);
202                                if (result == null) result = caseValueLiteral(numericLiteral);
203                                if (result == null) result = caseIdentifier(numericLiteral);
204                                if (result == null) result = defaultCase(theEObject);
205                                return result;
206                        }
207                        case QMLContractPackage.ENUM_LITERAL: {
208                                EnumLiteral enumLiteral = (EnumLiteral)theEObject;
209                                T result = caseEnumLiteral(enumLiteral);
210                                if (result == null) result = caseValueLiteral(enumLiteral);
211                                if (result == null) result = caseIdentifier(enumLiteral);
212                                if (result == null) result = defaultCase(theEObject);
213                                return result;
214                        }
215                        case QMLContractPackage.SET_LITERAL: {
216                                SetLiteral setLiteral = (SetLiteral)theEObject;
217                                T result = caseSetLiteral(setLiteral);
218                                if (result == null) result = caseValueLiteral(setLiteral);
219                                if (result == null) result = caseIdentifier(setLiteral);
220                                if (result == null) result = defaultCase(theEObject);
221                                return result;
222                        }
223                        case QMLContractPackage.REFINED_QML_CONTRACT: {
224                                RefinedQMLContract refinedQMLContract = (RefinedQMLContract)theEObject;
225                                T result = caseRefinedQMLContract(refinedQMLContract);
226                                if (result == null) result = caseGenericQMLContract(refinedQMLContract);
227                                if (result == null) result = caseQMLDeclaration(refinedQMLContract);
228                                if (result == null) result = caseEntity(refinedQMLContract);
229                                if (result == null) result = caseIdentifier(refinedQMLContract);
230                                if (result == null) result = caseNamedElement(refinedQMLContract);
231                                if (result == null) result = defaultCase(theEObject);
232                                return result;
233                        }
234                        case QMLContractPackage.VALUE: {
235                                Value value = (Value)theEObject;
236                                T result = caseValue(value);
237                                if (result == null) result = caseDeterministicEvaluationAspect(value);
238                                if (result == null) result = caseEvaluationAspect(value);
239                                if (result == null) result = caseIdentifier(value);
240                                if (result == null) result = defaultCase(theEObject);
241                                return result;
242                        }
243                        case QMLContractPackage.DETERMINISTIC_EVALUATION_ASPECT: {
244                                DeterministicEvaluationAspect deterministicEvaluationAspect = (DeterministicEvaluationAspect)theEObject;
245                                T result = caseDeterministicEvaluationAspect(deterministicEvaluationAspect);
246                                if (result == null) result = caseEvaluationAspect(deterministicEvaluationAspect);
247                                if (result == null) result = caseIdentifier(deterministicEvaluationAspect);
248                                if (result == null) result = defaultCase(theEObject);
249                                return result;
250                        }
251                        case QMLContractPackage.OBJECTIVE: {
252                                Objective objective = (Objective)theEObject;
253                                T result = caseObjective(objective);
254                                if (result == null) result = caseCriterion(objective);
255                                if (result == null) result = caseIdentifier(objective);
256                                if (result == null) result = defaultCase(theEObject);
257                                return result;
258                        }
259                        case QMLContractPackage.CONSTRAINT: {
260                                Constraint constraint = (Constraint)theEObject;
261                                T result = caseConstraint(constraint);
262                                if (result == null) result = caseCriterion(constraint);
263                                if (result == null) result = caseIdentifier(constraint);
264                                if (result == null) result = defaultCase(theEObject);
265                                return result;
266                        }
267                        case QMLContractPackage.RESTRICTION: {
268                                Restriction restriction = (Restriction)theEObject;
269                                T result = caseRestriction(restriction);
270                                if (result == null) result = caseAspectRequirement(restriction);
271                                if (result == null) result = caseIdentifier(restriction);
272                                if (result == null) result = defaultCase(theEObject);
273                                return result;
274                        }
275                        case QMLContractPackage.GOAL: {
276                                Goal goal = (Goal)theEObject;
277                                T result = caseGoal(goal);
278                                if (result == null) result = caseAspectRequirement(goal);
279                                if (result == null) result = caseIdentifier(goal);
280                                if (result == null) result = defaultCase(theEObject);
281                                return result;
282                        }
283                        case QMLContractPackage.GENERIC_QML_CONTRACT: {
284                                GenericQMLContract genericQMLContract = (GenericQMLContract)theEObject;
285                                T result = caseGenericQMLContract(genericQMLContract);
286                                if (result == null) result = caseQMLDeclaration(genericQMLContract);
287                                if (result == null) result = caseEntity(genericQMLContract);
288                                if (result == null) result = caseIdentifier(genericQMLContract);
289                                if (result == null) result = caseNamedElement(genericQMLContract);
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>Simple QML Contract</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>Simple QML Contract</em>'.
305         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
306         * @generated
307         */
308        public T caseSimpleQMLContract(SimpleQMLContract object) {
309                return null;
310        }
311 
312        /**
313         * Returns the result of interpreting the object as an instance of '<em>Criterion</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>Criterion</em>'.
320         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
321         * @generated
322         */
323        public T caseCriterion(Criterion object) {
324                return null;
325        }
326 
327        /**
328         * Returns the result of interpreting the object as an instance of '<em>Evaluation Aspect</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>Evaluation Aspect</em>'.
335         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
336         * @generated
337         */
338        public T caseEvaluationAspect(EvaluationAspect object) {
339                return null;
340        }
341 
342        /**
343         * Returns the result of interpreting the object as an instance of '<em>Aspect Requirement</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>Aspect Requirement</em>'.
350         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
351         * @generated
352         */
353        public T caseAspectRequirement(AspectRequirement object) {
354                return null;
355        }
356 
357        /**
358         * Returns the result of interpreting the object as an instance of '<em>Value Literal</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>Value Literal</em>'.
365         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
366         * @generated
367         */
368        public T caseValueLiteral(ValueLiteral object) {
369                return null;
370        }
371 
372        /**
373         * Returns the result of interpreting the object as an instance of '<em>Percentile</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>Percentile</em>'.
380         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
381         * @generated
382         */
383        public T casePercentile(Percentile object) {
384                return null;
385        }
386 
387        /**
388         * Returns the result of interpreting the object as an instance of '<em>Point Estimator</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>Point Estimator</em>'.
395         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
396         * @generated
397         */
398        public T casePointEstimator(PointEstimator object) {
399                return null;
400        }
401 
402        /**
403         * Returns the result of interpreting the object as an instance of '<em>Stochastic Evaluation Aspect</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>Stochastic Evaluation Aspect</em>'.
410         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
411         * @generated
412         */
413        public T caseStochasticEvaluationAspect(StochasticEvaluationAspect object) {
414                return null;
415        }
416 
417        /**
418         * Returns the result of interpreting the object as an instance of '<em>Frequency</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>Frequency</em>'.
425         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
426         * @generated
427         */
428        public T caseFrequency(Frequency object) {
429                return null;
430        }
431 
432        /**
433         * Returns the result of interpreting the object as an instance of '<em>Range Value</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>Range Value</em>'.
440         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
441         * @generated
442         */
443        public T caseRangeValue(RangeValue object) {
444                return null;
445        }
446 
447        /**
448         * Returns the result of interpreting the object as an instance of '<em>Mean</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>Mean</em>'.
455         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
456         * @generated
457         */
458        public T caseMean(Mean object) {
459                return null;
460        }
461 
462        /**
463         * Returns the result of interpreting the object as an instance of '<em>Variance</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>Variance</em>'.
470         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
471         * @generated
472         */
473        public T caseVariance(Variance object) {
474                return null;
475        }
476 
477        /**
478         * Returns the result of interpreting the object as an instance of '<em>Numeric Literal</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>Numeric Literal</em>'.
485         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
486         * @generated
487         */
488        public T caseNumericLiteral(NumericLiteral object) {
489                return null;
490        }
491 
492        /**
493         * Returns the result of interpreting the object as an instance of '<em>Enum Literal</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>Enum Literal</em>'.
500         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
501         * @generated
502         */
503        public T caseEnumLiteral(EnumLiteral object) {
504                return null;
505        }
506 
507        /**
508         * Returns the result of interpreting the object as an instance of '<em>Set Literal</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>Set Literal</em>'.
515         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
516         * @generated
517         */
518        public T caseSetLiteral(SetLiteral object) {
519                return null;
520        }
521 
522        /**
523         * Returns the result of interpreting the object as an instance of '<em>Refined QML Contract</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>Refined QML Contract</em>'.
530         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
531         * @generated
532         */
533        public T caseRefinedQMLContract(RefinedQMLContract object) {
534                return null;
535        }
536 
537        /**
538         * Returns the result of interpreting the object as an instance of '<em>Value</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>Value</em>'.
545         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
546         * @generated
547         */
548        public T caseValue(Value object) {
549                return null;
550        }
551 
552        /**
553         * Returns the result of interpreting the object as an instance of '<em>Deterministic Evaluation Aspect</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>Deterministic Evaluation Aspect</em>'.
560         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
561         * @generated
562         */
563        public T caseDeterministicEvaluationAspect(DeterministicEvaluationAspect object) {
564                return null;
565        }
566 
567        /**
568         * Returns the result of interpreting the object as an instance of '<em>Objective</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>Objective</em>'.
575         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
576         * @generated
577         */
578        public T caseObjective(Objective object) {
579                return null;
580        }
581 
582        /**
583         * Returns the result of interpreting the object as an instance of '<em>Constraint</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>Constraint</em>'.
590         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
591         * @generated
592         */
593        public T caseConstraint(Constraint object) {
594                return null;
595        }
596 
597        /**
598         * Returns the result of interpreting the object as an instance of '<em>Restriction</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>Restriction</em>'.
605         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
606         * @generated
607         */
608        public T caseRestriction(Restriction object) {
609                return null;
610        }
611 
612        /**
613         * Returns the result of interpreting the object as an instance of '<em>Goal</em>'.
614         * <!-- begin-user-doc -->
615         * This implementation returns null;
616         * returning a non-null result will terminate the switch.
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>Goal</em>'.
620         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
621         * @generated
622         */
623        public T caseGoal(Goal object) {
624                return null;
625        }
626 
627        /**
628         * Returns the result of interpreting the object as an instance of '<em>Generic QML Contract</em>'.
629         * <!-- begin-user-doc -->
630         * This implementation returns null;
631         * returning a non-null result will terminate the switch.
632         * <!-- end-user-doc -->
633         * @param object the target of the switch.
634         * @return the result of interpreting the object as an instance of '<em>Generic QML Contract</em>'.
635         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
636         * @generated
637         */
638        public T caseGenericQMLContract(GenericQMLContract object) {
639                return null;
640        }
641 
642        /**
643         * Returns the result of interpreting the object as an instance of '<em>Identifier</em>'.
644         * <!-- begin-user-doc -->
645         * This implementation returns null;
646         * returning a non-null result will terminate the switch.
647         * <!-- end-user-doc -->
648         * @param object the target of the switch.
649         * @return the result of interpreting the object as an instance of '<em>Identifier</em>'.
650         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
651         * @generated
652         */
653        public T caseIdentifier(Identifier object) {
654                return null;
655        }
656 
657        /**
658         * Returns the result of interpreting the object as an instance of '<em>Named Element</em>'.
659         * <!-- begin-user-doc -->
660         * This implementation returns null;
661         * returning a non-null result will terminate the switch.
662         * <!-- end-user-doc -->
663         * @param object the target of the switch.
664         * @return the result of interpreting the object as an instance of '<em>Named Element</em>'.
665         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
666         * @generated
667         */
668        public T caseNamedElement(NamedElement object) {
669                return null;
670        }
671 
672        /**
673         * Returns the result of interpreting the object as an instance of '<em>Entity</em>'.
674         * <!-- begin-user-doc -->
675         * This implementation returns null;
676         * returning a non-null result will terminate the switch.
677         * <!-- end-user-doc -->
678         * @param object the target of the switch.
679         * @return the result of interpreting the object as an instance of '<em>Entity</em>'.
680         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
681         * @generated
682         */
683        public T caseEntity(Entity object) {
684                return null;
685        }
686 
687        /**
688         * Returns the result of interpreting the object as an instance of '<em>QML Declaration</em>'.
689         * <!-- begin-user-doc -->
690         * This implementation returns null;
691         * returning a non-null result will terminate the switch.
692         * <!-- end-user-doc -->
693         * @param object the target of the switch.
694         * @return the result of interpreting the object as an instance of '<em>QML Declaration</em>'.
695         * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
696         * @generated
697         */
698        public T caseQMLDeclaration(QMLDeclaration object) {
699                return null;
700        }
701 
702        /**
703         * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
704         * <!-- begin-user-doc -->
705         * This implementation returns null;
706         * returning a non-null result will terminate the switch, but this is the last case anyway.
707         * <!-- end-user-doc -->
708         * @param object the target of the switch.
709         * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
710         * @see #doSwitch(org.eclipse.emf.ecore.EObject)
711         * @generated
712         */
713        public T defaultCase(EObject object) {
714                return null;
715        }
716 
717} //QMLContractSwitch

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