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

COVERAGE SUMMARY FOR SOURCE FILE [QMLProfileAdapterFactory.java]

nameclass, %method, %block, %line, %
QMLProfileAdapterFactory.java0%   (0/2)0%   (0/26)0%   (0/112)0%   (0/35)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class QMLProfileAdapterFactory0%   (0/1)0%   (0/14)0%   (0/62)0%   (0/23)
QMLProfileAdapterFactory (): void 0%   (0/1)0%   (0/13)0%   (0/6)
createAdapter (Notifier): Adapter 0%   (0/1)0%   (0/7)0%   (0/1)
createEObjectAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createEntityAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createEntryLevelSystemCallRequirementAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createGenericQMLProfileAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createIdentifierAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createNamedElementAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createQMLDeclarationAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createRefinedQMLProfileAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createRequirementAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createSimpleQMLProfileAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createUsageScenarioRequirementAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
isFactoryForType (Object): boolean 0%   (0/1)0%   (0/20)0%   (0/5)
     
class QMLProfileAdapterFactory$10%   (0/1)0%   (0/12)0%   (0/50)0%   (0/13)
QMLProfileAdapterFactory$1 (QMLProfileAdapterFactory): void 0%   (0/1)0%   (0/6)0%   (0/2)
caseEntity (Entity): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseEntryLevelSystemCallRequirement (EntryLevelSystemCallRequirement): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseGenericQMLProfile (GenericQMLProfile): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseIdentifier (Identifier): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseNamedElement (NamedElement): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseQMLDeclaration (QMLDeclaration): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseRefinedQMLProfile (RefinedQMLProfile): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseRequirement (Requirement): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseSimpleQMLProfile (SimpleQMLProfile): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseUsageScenarioRequirement (UsageScenarioRequirement): 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>
3 * </copyright>
4 *
5 * $Id$
6 */
7package de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.util;
8 
9import de.uka.ipd.sdq.dsexplore.qml.declarations.QMLDeclarations.QMLDeclaration;
10 
11import de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.*;
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 org.eclipse.emf.common.notify.Adapter;
19import org.eclipse.emf.common.notify.Notifier;
20 
21import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
22 
23import org.eclipse.emf.ecore.EObject;
24 
25/**
26 * <!-- begin-user-doc -->
27 * The <b>Adapter Factory</b> for the model.
28 * It provides an adapter <code>createXXX</code> method for each class of the model.
29 * <!-- end-user-doc -->
30 * @see de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.QMLProfilePackage
31 * @generated
32 */
33public class QMLProfileAdapterFactory extends AdapterFactoryImpl {
34        /**
35         * The cached model package.
36         * <!-- begin-user-doc -->
37         * <!-- end-user-doc -->
38         * @generated
39         */
40        protected static QMLProfilePackage modelPackage;
41 
42        /**
43         * Creates an instance of the adapter factory.
44         * <!-- begin-user-doc -->
45         * <!-- end-user-doc -->
46         * @generated
47         */
48        public QMLProfileAdapterFactory() {
49                if (modelPackage == null) {
50                        modelPackage = QMLProfilePackage.eINSTANCE;
51                }
52        }
53 
54        /**
55         * Returns whether this factory is applicable for the type of the object.
56         * <!-- begin-user-doc -->
57         * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
58         * <!-- end-user-doc -->
59         * @return whether this factory is applicable for the type of the object.
60         * @generated
61         */
62        @Override
63        public boolean isFactoryForType(Object object) {
64                if (object == modelPackage) {
65                        return true;
66                }
67                if (object instanceof EObject) {
68                        return ((EObject)object).eClass().getEPackage() == modelPackage;
69                }
70                return false;
71        }
72 
73        /**
74         * The switch that delegates to the <code>createXXX</code> methods.
75         * <!-- begin-user-doc -->
76         * <!-- end-user-doc -->
77         * @generated
78         */
79        protected QMLProfileSwitch<Adapter> modelSwitch =
80                new QMLProfileSwitch<Adapter>() {
81                        @Override
82                        public Adapter caseSimpleQMLProfile(SimpleQMLProfile object) {
83                                return createSimpleQMLProfileAdapter();
84                        }
85                        @Override
86                        public Adapter caseGenericQMLProfile(GenericQMLProfile object) {
87                                return createGenericQMLProfileAdapter();
88                        }
89                        @Override
90                        public Adapter caseRequirement(Requirement object) {
91                                return createRequirementAdapter();
92                        }
93                        @Override
94                        public Adapter caseRefinedQMLProfile(RefinedQMLProfile object) {
95                                return createRefinedQMLProfileAdapter();
96                        }
97                        @Override
98                        public Adapter caseUsageScenarioRequirement(UsageScenarioRequirement object) {
99                                return createUsageScenarioRequirementAdapter();
100                        }
101                        @Override
102                        public Adapter caseEntryLevelSystemCallRequirement(EntryLevelSystemCallRequirement object) {
103                                return createEntryLevelSystemCallRequirementAdapter();
104                        }
105                        @Override
106                        public Adapter caseIdentifier(Identifier object) {
107                                return createIdentifierAdapter();
108                        }
109                        @Override
110                        public Adapter caseNamedElement(NamedElement object) {
111                                return createNamedElementAdapter();
112                        }
113                        @Override
114                        public Adapter caseEntity(Entity object) {
115                                return createEntityAdapter();
116                        }
117                        @Override
118                        public Adapter caseQMLDeclaration(QMLDeclaration object) {
119                                return createQMLDeclarationAdapter();
120                        }
121                        @Override
122                        public Adapter defaultCase(EObject object) {
123                                return createEObjectAdapter();
124                        }
125                };
126 
127        /**
128         * Creates an adapter for the <code>target</code>.
129         * <!-- begin-user-doc -->
130         * <!-- end-user-doc -->
131         * @param target the object to adapt.
132         * @return the adapter for the <code>target</code>.
133         * @generated
134         */
135        @Override
136        public Adapter createAdapter(Notifier target) {
137                return modelSwitch.doSwitch((EObject)target);
138        }
139 
140 
141        /**
142         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.SimpleQMLProfile <em>Simple QML Profile</em>}'.
143         * <!-- begin-user-doc -->
144         * This default implementation returns null so that we can easily ignore cases;
145         * it's useful to ignore a case when inheritance will catch all the cases anyway.
146         * <!-- end-user-doc -->
147         * @return the new adapter.
148         * @see de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.SimpleQMLProfile
149         * @generated
150         */
151        public Adapter createSimpleQMLProfileAdapter() {
152                return null;
153        }
154 
155        /**
156         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.GenericQMLProfile <em>Generic QML Profile</em>}'.
157         * <!-- begin-user-doc -->
158         * This default implementation returns null so that we can easily ignore cases;
159         * it's useful to ignore a case when inheritance will catch all the cases anyway.
160         * <!-- end-user-doc -->
161         * @return the new adapter.
162         * @see de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.GenericQMLProfile
163         * @generated
164         */
165        public Adapter createGenericQMLProfileAdapter() {
166                return null;
167        }
168 
169        /**
170         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.Requirement <em>Requirement</em>}'.
171         * <!-- begin-user-doc -->
172         * This default implementation returns null so that we can easily ignore cases;
173         * it's useful to ignore a case when inheritance will catch all the cases anyway.
174         * <!-- end-user-doc -->
175         * @return the new adapter.
176         * @see de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.Requirement
177         * @generated
178         */
179        public Adapter createRequirementAdapter() {
180                return null;
181        }
182 
183        /**
184         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.RefinedQMLProfile <em>Refined QML Profile</em>}'.
185         * <!-- begin-user-doc -->
186         * This default implementation returns null so that we can easily ignore cases;
187         * it's useful to ignore a case when inheritance will catch all the cases anyway.
188         * <!-- end-user-doc -->
189         * @return the new adapter.
190         * @see de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.RefinedQMLProfile
191         * @generated
192         */
193        public Adapter createRefinedQMLProfileAdapter() {
194                return null;
195        }
196 
197        /**
198         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.UsageScenarioRequirement <em>Usage Scenario Requirement</em>}'.
199         * <!-- begin-user-doc -->
200         * This default implementation returns null so that we can easily ignore cases;
201         * it's useful to ignore a case when inheritance will catch all the cases anyway.
202         * <!-- end-user-doc -->
203         * @return the new adapter.
204         * @see de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.UsageScenarioRequirement
205         * @generated
206         */
207        public Adapter createUsageScenarioRequirementAdapter() {
208                return null;
209        }
210 
211        /**
212         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.EntryLevelSystemCallRequirement <em>Entry Level System Call Requirement</em>}'.
213         * <!-- begin-user-doc -->
214         * This default implementation returns null so that we can easily ignore cases;
215         * it's useful to ignore a case when inheritance will catch all the cases anyway.
216         * <!-- end-user-doc -->
217         * @return the new adapter.
218         * @see de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.EntryLevelSystemCallRequirement
219         * @generated
220         */
221        public Adapter createEntryLevelSystemCallRequirementAdapter() {
222                return null;
223        }
224 
225        /**
226         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.identifier.Identifier <em>Identifier</em>}'.
227         * <!-- begin-user-doc -->
228         * This default implementation returns null so that we can easily ignore cases;
229         * it's useful to ignore a case when inheritance will catch all the cases anyway.
230         * <!-- end-user-doc -->
231         * @return the new adapter.
232         * @see de.uka.ipd.sdq.identifier.Identifier
233         * @generated
234         */
235        public Adapter createIdentifierAdapter() {
236                return null;
237        }
238 
239        /**
240         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.core.entity.NamedElement <em>Named Element</em>}'.
241         * <!-- begin-user-doc -->
242         * This default implementation returns null so that we can easily ignore cases;
243         * it's useful to ignore a case when inheritance will catch all the cases anyway.
244         * <!-- end-user-doc -->
245         * @return the new adapter.
246         * @see de.uka.ipd.sdq.pcm.core.entity.NamedElement
247         * @generated
248         */
249        public Adapter createNamedElementAdapter() {
250                return null;
251        }
252 
253        /**
254         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.core.entity.Entity <em>Entity</em>}'.
255         * <!-- begin-user-doc -->
256         * This default implementation returns null so that we can easily ignore cases;
257         * it's useful to ignore a case when inheritance will catch all the cases anyway.
258         * <!-- end-user-doc -->
259         * @return the new adapter.
260         * @see de.uka.ipd.sdq.pcm.core.entity.Entity
261         * @generated
262         */
263        public Adapter createEntityAdapter() {
264                return null;
265        }
266 
267        /**
268         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.dsexplore.qml.declarations.QMLDeclarations.QMLDeclaration <em>QML Declaration</em>}'.
269         * <!-- begin-user-doc -->
270         * This default implementation returns null so that we can easily ignore cases;
271         * it's useful to ignore a case when inheritance will catch all the cases anyway.
272         * <!-- end-user-doc -->
273         * @return the new adapter.
274         * @see de.uka.ipd.sdq.dsexplore.qml.declarations.QMLDeclarations.QMLDeclaration
275         * @generated
276         */
277        public Adapter createQMLDeclarationAdapter() {
278                return null;
279        }
280 
281        /**
282         * Creates a new adapter for the default case.
283         * <!-- begin-user-doc -->
284         * This default implementation returns null.
285         * <!-- end-user-doc -->
286         * @return the new adapter.
287         * @generated
288         */
289        public Adapter createEObjectAdapter() {
290                return null;
291        }
292 
293} //QMLProfileAdapterFactory

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