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

COVERAGE SUMMARY FOR SOURCE FILE [ComputedUsageAdapterFactory.java]

nameclass, %method, %block, %line, %
ComputedUsageAdapterFactory.java0%   (0/2)0%   (0/28)0%   (0/118)0%   (0/37)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ComputedUsageAdapterFactory0%   (0/1)0%   (0/15)0%   (0/64)0%   (0/24)
ComputedUsageAdapterFactory (): void 0%   (0/1)0%   (0/13)0%   (0/6)
createAdapter (Notifier): Adapter 0%   (0/1)0%   (0/7)0%   (0/1)
createBranchProbabilityAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createComputedUsageAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createComputedUsageContextAdapter (): Adapter 0%   (0/1)0%   (0/2)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)
createExternalCallInputAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createExternalCallOutputAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createIdentifierAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createInputAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createLoopIterationAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createNamedElementAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createOutputAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
isFactoryForType (Object): boolean 0%   (0/1)0%   (0/20)0%   (0/5)
     
class ComputedUsageAdapterFactory$10%   (0/1)0%   (0/13)0%   (0/54)0%   (0/14)
ComputedUsageAdapterFactory$1 (ComputedUsageAdapterFactory): void 0%   (0/1)0%   (0/6)0%   (0/2)
caseBranchProbability (BranchProbability): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseComputedUsage (ComputedUsage): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseComputedUsageContext (ComputedUsageContext): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseEntity (Entity): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseExternalCallInput (ExternalCallInput): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseExternalCallOutput (ExternalCallOutput): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseIdentifier (Identifier): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseInput (Input): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseLoopIteration (LoopIteration): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseNamedElement (NamedElement): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseOutput (Output): 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 2006, SDQ Group, University Karlsruhe (TH)
3 *
4 * $Id$
5 */
6package de.uka.ipd.sdq.context.computed_usage.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.context.computed_usage.BranchProbability;
14import de.uka.ipd.sdq.context.computed_usage.ComputedUsage;
15import de.uka.ipd.sdq.context.computed_usage.ComputedUsageContext;
16import de.uka.ipd.sdq.context.computed_usage.ComputedUsagePackage;
17import de.uka.ipd.sdq.context.computed_usage.ExternalCallInput;
18import de.uka.ipd.sdq.context.computed_usage.ExternalCallOutput;
19import de.uka.ipd.sdq.context.computed_usage.Input;
20import de.uka.ipd.sdq.context.computed_usage.LoopIteration;
21import de.uka.ipd.sdq.context.computed_usage.Output;
22import de.uka.ipd.sdq.identifier.Identifier;
23import de.uka.ipd.sdq.pcm.core.entity.Entity;
24import de.uka.ipd.sdq.pcm.core.entity.NamedElement;
25 
26/**
27 * <!-- begin-user-doc -->
28 * The <b>Adapter Factory</b> for the model.
29 * It provides an adapter <code>createXXX</code> method for each class of the model.
30 * <!-- end-user-doc -->
31 * @see de.uka.ipd.sdq.context.computed_usage.ComputedUsagePackage
32 * @generated
33 */
34public class ComputedUsageAdapterFactory extends AdapterFactoryImpl {
35        /**
36         * <!-- begin-user-doc -->
37         * <!-- end-user-doc -->
38         * @generated
39         */
40        public static final String copyright = "Copyright 2006, SDQ Group, University Karlsruhe (TH)";
41 
42        /**
43         * The cached model package.
44         * <!-- begin-user-doc -->
45         * <!-- end-user-doc -->
46         * @generated
47         */
48        protected static ComputedUsagePackage modelPackage;
49 
50        /**
51         * Creates an instance of the adapter factory.
52         * <!-- begin-user-doc -->
53         * <!-- end-user-doc -->
54         * @generated
55         */
56        public ComputedUsageAdapterFactory() {
57                if (modelPackage == null) {
58                        modelPackage = ComputedUsagePackage.eINSTANCE;
59                }
60        }
61 
62        /**
63         * Returns whether this factory is applicable for the type of the object.
64         * <!-- begin-user-doc -->
65         * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
66         * <!-- end-user-doc -->
67         * @return whether this factory is applicable for the type of the object.
68         * @generated
69         */
70        @Override
71        public boolean isFactoryForType(Object object) {
72                if (object == modelPackage) {
73                        return true;
74                }
75                if (object instanceof EObject) {
76                        return ((EObject)object).eClass().getEPackage() == modelPackage;
77                }
78                return false;
79        }
80 
81        /**
82         * The switch that delegates to the <code>createXXX</code> methods.
83         * <!-- begin-user-doc -->
84         * <!-- end-user-doc -->
85         * @generated
86         */
87        protected ComputedUsageSwitch<Adapter> modelSwitch =
88                new ComputedUsageSwitch<Adapter>() {
89                        @Override
90                        public Adapter caseComputedUsageContext(ComputedUsageContext object) {
91                                return createComputedUsageContextAdapter();
92                        }
93                        @Override
94                        public Adapter caseBranchProbability(BranchProbability object) {
95                                return createBranchProbabilityAdapter();
96                        }
97                        @Override
98                        public Adapter caseLoopIteration(LoopIteration object) {
99                                return createLoopIterationAdapter();
100                        }
101                        @Override
102                        public Adapter caseInput(Input object) {
103                                return createInputAdapter();
104                        }
105                        @Override
106                        public Adapter caseExternalCallOutput(ExternalCallOutput object) {
107                                return createExternalCallOutputAdapter();
108                        }
109                        @Override
110                        public Adapter caseExternalCallInput(ExternalCallInput object) {
111                                return createExternalCallInputAdapter();
112                        }
113                        @Override
114                        public Adapter caseOutput(Output object) {
115                                return createOutputAdapter();
116                        }
117                        @Override
118                        public Adapter caseComputedUsage(ComputedUsage object) {
119                                return createComputedUsageAdapter();
120                        }
121                        @Override
122                        public Adapter caseIdentifier(Identifier object) {
123                                return createIdentifierAdapter();
124                        }
125                        @Override
126                        public Adapter caseNamedElement(NamedElement object) {
127                                return createNamedElementAdapter();
128                        }
129                        @Override
130                        public Adapter caseEntity(Entity object) {
131                                return createEntityAdapter();
132                        }
133                        @Override
134                        public Adapter defaultCase(EObject object) {
135                                return createEObjectAdapter();
136                        }
137                };
138 
139        /**
140         * Creates an adapter for the <code>target</code>.
141         * <!-- begin-user-doc -->
142         * <!-- end-user-doc -->
143         * @param target the object to adapt.
144         * @return the adapter for the <code>target</code>.
145         * @generated
146         */
147        @Override
148        public Adapter createAdapter(Notifier target) {
149                return modelSwitch.doSwitch((EObject)target);
150        }
151 
152 
153        /**
154         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.context.computed_usage.ComputedUsageContext <em>Context</em>}'.
155         * <!-- begin-user-doc -->
156         * This default implementation returns null so that we can easily ignore cases;
157         * it's useful to ignore a case when inheritance will catch all the cases anyway.
158         * <!-- end-user-doc -->
159         * @return the new adapter.
160         * @see de.uka.ipd.sdq.context.computed_usage.ComputedUsageContext
161         * @generated
162         */
163        public Adapter createComputedUsageContextAdapter() {
164                return null;
165        }
166 
167        /**
168         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.context.computed_usage.BranchProbability <em>Branch Probability</em>}'.
169         * <!-- begin-user-doc -->
170         * This default implementation returns null so that we can easily ignore cases;
171         * it's useful to ignore a case when inheritance will catch all the cases anyway.
172         * <!-- end-user-doc -->
173         * @return the new adapter.
174         * @see de.uka.ipd.sdq.context.computed_usage.BranchProbability
175         * @generated
176         */
177        public Adapter createBranchProbabilityAdapter() {
178                return null;
179        }
180 
181        /**
182         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.context.computed_usage.LoopIteration <em>Loop Iteration</em>}'.
183         * <!-- begin-user-doc -->
184         * This default implementation returns null so that we can easily ignore cases;
185         * it's useful to ignore a case when inheritance will catch all the cases anyway.
186         * <!-- end-user-doc -->
187         * @return the new adapter.
188         * @see de.uka.ipd.sdq.context.computed_usage.LoopIteration
189         * @generated
190         */
191        public Adapter createLoopIterationAdapter() {
192                return null;
193        }
194 
195        /**
196         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.context.computed_usage.Input <em>Input</em>}'.
197         * <!-- begin-user-doc -->
198         * This default implementation returns null so that we can easily ignore cases;
199         * it's useful to ignore a case when inheritance will catch all the cases anyway.
200         * <!-- end-user-doc -->
201         * @return the new adapter.
202         * @see de.uka.ipd.sdq.context.computed_usage.Input
203         * @generated
204         */
205        public Adapter createInputAdapter() {
206                return null;
207        }
208 
209        /**
210         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.context.computed_usage.ExternalCallOutput <em>External Call Output</em>}'.
211         * <!-- begin-user-doc -->
212         * This default implementation returns null so that we can easily ignore cases;
213         * it's useful to ignore a case when inheritance will catch all the cases anyway.
214         * <!-- end-user-doc -->
215         * @return the new adapter.
216         * @see de.uka.ipd.sdq.context.computed_usage.ExternalCallOutput
217         * @generated
218         */
219        public Adapter createExternalCallOutputAdapter() {
220                return null;
221        }
222 
223        /**
224         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.context.computed_usage.ExternalCallInput <em>External Call Input</em>}'.
225         * <!-- begin-user-doc -->
226         * This default implementation returns null so that we can easily ignore cases;
227         * it's useful to ignore a case when inheritance will catch all the cases anyway.
228         * <!-- end-user-doc -->
229         * @return the new adapter.
230         * @see de.uka.ipd.sdq.context.computed_usage.ExternalCallInput
231         * @generated
232         */
233        public Adapter createExternalCallInputAdapter() {
234                return null;
235        }
236 
237        /**
238         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.context.computed_usage.Output <em>Output</em>}'.
239         * <!-- begin-user-doc -->
240         * This default implementation returns null so that we can easily ignore cases;
241         * it's useful to ignore a case when inheritance will catch all the cases anyway.
242         * <!-- end-user-doc -->
243         * @return the new adapter.
244         * @see de.uka.ipd.sdq.context.computed_usage.Output
245         * @generated
246         */
247        public Adapter createOutputAdapter() {
248                return null;
249        }
250 
251        /**
252         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.context.computed_usage.ComputedUsage <em>Computed Usage</em>}'.
253         * <!-- begin-user-doc -->
254         * This default implementation returns null so that we can easily ignore cases;
255         * it's useful to ignore a case when inheritance will catch all the cases anyway.
256         * <!-- end-user-doc -->
257         * @return the new adapter.
258         * @see de.uka.ipd.sdq.context.computed_usage.ComputedUsage
259         * @generated
260         */
261        public Adapter createComputedUsageAdapter() {
262                return null;
263        }
264 
265        /**
266         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.identifier.Identifier <em>Identifier</em>}'.
267         * <!-- begin-user-doc -->
268         * This default implementation returns null so that we can easily ignore cases;
269         * it's useful to ignore a case when inheritance will catch all the cases anyway.
270         * <!-- end-user-doc -->
271         * @return the new adapter.
272         * @see de.uka.ipd.sdq.identifier.Identifier
273         * @generated
274         */
275        public Adapter createIdentifierAdapter() {
276                return null;
277        }
278 
279        /**
280         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.core.entity.NamedElement <em>Named Element</em>}'.
281         * <!-- begin-user-doc -->
282         * This default implementation returns null so that we can easily ignore cases;
283         * it's useful to ignore a case when inheritance will catch all the cases anyway.
284         * <!-- end-user-doc -->
285         * @return the new adapter.
286         * @see de.uka.ipd.sdq.pcm.core.entity.NamedElement
287         * @generated
288         */
289        public Adapter createNamedElementAdapter() {
290                return null;
291        }
292 
293        /**
294         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.core.entity.Entity <em>Entity</em>}'.
295         * <!-- begin-user-doc -->
296         * This default implementation returns null so that we can easily ignore cases;
297         * it's useful to ignore a case when inheritance will catch all the cases anyway.
298         * <!-- end-user-doc -->
299         * @return the new adapter.
300         * @see de.uka.ipd.sdq.pcm.core.entity.Entity
301         * @generated
302         */
303        public Adapter createEntityAdapter() {
304                return null;
305        }
306 
307        /**
308         * Creates a new adapter for the default case.
309         * <!-- begin-user-doc -->
310         * This default implementation returns null.
311         * <!-- end-user-doc -->
312         * @return the new adapter.
313         * @generated
314         */
315        public Adapter createEObjectAdapter() {
316                return null;
317        }
318 
319} //ComputedUsageAdapterFactory

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