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

COVERAGE SUMMARY FOR SOURCE FILE [Qos_performanceAdapterFactory.java]

nameclass, %method, %block, %line, %
Qos_performanceAdapterFactory.java0%   (0/2)0%   (0/14)0%   (0/76)0%   (0/23)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class Qos_performanceAdapterFactory0%   (0/1)0%   (0/8)0%   (0/50)0%   (0/17)
Qos_performanceAdapterFactory (): void 0%   (0/1)0%   (0/13)0%   (0/6)
createAdapter (Notifier): Adapter 0%   (0/1)0%   (0/7)0%   (0/1)
createComponentSpecifiedExecutionTimeAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createEObjectAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createSpecifiedExecutionTimeAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createSpecifiedQoSAnnotationAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createSystemSpecifiedExecutionTimeAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
isFactoryForType (Object): boolean 0%   (0/1)0%   (0/20)0%   (0/5)
     
class Qos_performanceAdapterFactory$10%   (0/1)0%   (0/6)0%   (0/26)0%   (0/7)
Qos_performanceAdapterFactory$1 (Qos_performanceAdapterFactory): void 0%   (0/1)0%   (0/6)0%   (0/2)
caseComponentSpecifiedExecutionTime (ComponentSpecifiedExecutionTime): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseSpecifiedExecutionTime (SpecifiedExecutionTime): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseSpecifiedQoSAnnotation (SpecifiedQoSAnnotation): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseSystemSpecifiedExecutionTime (SystemSpecifiedExecutionTime): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
defaultCase (EObject): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)

1/**
2 * Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany
3 *
4 * $Id$
5 */
6package de.uka.ipd.sdq.pcm.qosannotations.qos_performance.util;
7 
8import org.eclipse.emf.common.notify.Adapter;
9import org.eclipse.emf.common.notify.Notifier;
10import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
11import org.eclipse.emf.ecore.EObject;
12 
13import de.uka.ipd.sdq.pcm.qosannotations.SpecifiedQoSAnnotation;
14import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.*;
15import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.ComponentSpecifiedExecutionTime;
16import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.Qos_performancePackage;
17import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.SpecifiedExecutionTime;
18import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.SystemSpecifiedExecutionTime;
19 
20/**
21 * <!-- begin-user-doc -->
22 * The <b>Adapter Factory</b> for the model.
23 * It provides an adapter <code>createXXX</code> method for each class of the model.
24 * <!-- end-user-doc -->
25 * @see de.uka.ipd.sdq.pcm.qosannotations.qos_performance.Qos_performancePackage
26 * @generated
27 */
28public class Qos_performanceAdapterFactory extends AdapterFactoryImpl {
29        /**
30         * <!-- begin-user-doc -->
31         * <!-- end-user-doc -->
32         * @generated
33         */
34        public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany";
35 
36        /**
37         * The cached model package.
38         * <!-- begin-user-doc -->
39         * <!-- end-user-doc -->
40         * @generated
41         */
42        protected static Qos_performancePackage modelPackage;
43 
44        /**
45         * Creates an instance of the adapter factory.
46         * <!-- begin-user-doc -->
47         * <!-- end-user-doc -->
48         * @generated
49         */
50        public Qos_performanceAdapterFactory() {
51                if (modelPackage == null) {
52                        modelPackage = Qos_performancePackage.eINSTANCE;
53                }
54        }
55 
56        /**
57         * Returns whether this factory is applicable for the type of the object.
58         * <!-- begin-user-doc -->
59         * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
60         * <!-- end-user-doc -->
61         * @return whether this factory is applicable for the type of the object.
62         * @generated
63         */
64        @Override
65        public boolean isFactoryForType(Object object) {
66                if (object == modelPackage) {
67                        return true;
68                }
69                if (object instanceof EObject) {
70                        return ((EObject)object).eClass().getEPackage() == modelPackage;
71                }
72                return false;
73        }
74 
75        /**
76         * The switch that delegates to the <code>createXXX</code> methods.
77         * <!-- begin-user-doc -->
78         * <!-- end-user-doc -->
79         * @generated
80         */
81        protected Qos_performanceSwitch<Adapter> modelSwitch =
82                new Qos_performanceSwitch<Adapter>() {
83                        @Override
84                        public Adapter caseSystemSpecifiedExecutionTime(SystemSpecifiedExecutionTime object) {
85                                return createSystemSpecifiedExecutionTimeAdapter();
86                        }
87                        @Override
88                        public Adapter caseSpecifiedExecutionTime(SpecifiedExecutionTime object) {
89                                return createSpecifiedExecutionTimeAdapter();
90                        }
91                        @Override
92                        public Adapter caseComponentSpecifiedExecutionTime(ComponentSpecifiedExecutionTime object) {
93                                return createComponentSpecifiedExecutionTimeAdapter();
94                        }
95                        @Override
96                        public Adapter caseSpecifiedQoSAnnotation(SpecifiedQoSAnnotation object) {
97                                return createSpecifiedQoSAnnotationAdapter();
98                        }
99                        @Override
100                        public Adapter defaultCase(EObject object) {
101                                return createEObjectAdapter();
102                        }
103                };
104 
105        /**
106         * Creates an adapter for the <code>target</code>.
107         * <!-- begin-user-doc -->
108         * <!-- end-user-doc -->
109         * @param target the object to adapt.
110         * @return the adapter for the <code>target</code>.
111         * @generated
112         */
113        @Override
114        public Adapter createAdapter(Notifier target) {
115                return modelSwitch.doSwitch((EObject)target);
116        }
117 
118 
119        /**
120         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.qosannotations.qos_performance.SystemSpecifiedExecutionTime <em>System Specified Execution Time</em>}'.
121         * <!-- begin-user-doc -->
122         * This default implementation returns null so that we can easily ignore cases;
123         * it's useful to ignore a case when inheritance will catch all the cases anyway.
124         * <!-- end-user-doc -->
125         * @return the new adapter.
126         * @see de.uka.ipd.sdq.pcm.qosannotations.qos_performance.SystemSpecifiedExecutionTime
127         * @generated
128         */
129        public Adapter createSystemSpecifiedExecutionTimeAdapter() {
130                return null;
131        }
132 
133        /**
134         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.qosannotations.qos_performance.SpecifiedExecutionTime <em>Specified Execution Time</em>}'.
135         * <!-- begin-user-doc -->
136         * This default implementation returns null so that we can easily ignore cases;
137         * it's useful to ignore a case when inheritance will catch all the cases anyway.
138         * <!-- end-user-doc -->
139         * @return the new adapter.
140         * @see de.uka.ipd.sdq.pcm.qosannotations.qos_performance.SpecifiedExecutionTime
141         * @generated
142         */
143        public Adapter createSpecifiedExecutionTimeAdapter() {
144                return null;
145        }
146 
147        /**
148         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.qosannotations.qos_performance.ComponentSpecifiedExecutionTime <em>Component Specified Execution Time</em>}'.
149         * <!-- begin-user-doc -->
150         * This default implementation returns null so that we can easily ignore cases;
151         * it's useful to ignore a case when inheritance will catch all the cases anyway.
152         * <!-- end-user-doc -->
153         * @return the new adapter.
154         * @see de.uka.ipd.sdq.pcm.qosannotations.qos_performance.ComponentSpecifiedExecutionTime
155         * @generated
156         */
157        public Adapter createComponentSpecifiedExecutionTimeAdapter() {
158                return null;
159        }
160 
161        /**
162         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.qosannotations.SpecifiedQoSAnnotation <em>Specified Qo SAnnotation</em>}'.
163         * <!-- begin-user-doc -->
164         * This default implementation returns null so that we can easily ignore cases;
165         * it's useful to ignore a case when inheritance will catch all the cases anyway.
166         * <!-- end-user-doc -->
167         * @return the new adapter.
168         * @see de.uka.ipd.sdq.pcm.qosannotations.SpecifiedQoSAnnotation
169         * @generated
170         */
171        public Adapter createSpecifiedQoSAnnotationAdapter() {
172                return null;
173        }
174 
175        /**
176         * Creates a new adapter for the default case.
177         * <!-- begin-user-doc -->
178         * This default implementation returns null.
179         * <!-- end-user-doc -->
180         * @return the new adapter.
181         * @generated
182         */
183        public Adapter createEObjectAdapter() {
184                return null;
185        }
186 
187} //Qos_performanceAdapterFactory

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