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

COVERAGE SUMMARY FOR SOURCE FILE [Seff_performanceAdapterFactory.java]

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

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class Seff_performanceAdapterFactory0%   (0/1)0%   (0/8)0%   (0/50)0%   (0/17)
Seff_performanceAdapterFactory (): void 0%   (0/1)0%   (0/13)0%   (0/6)
createAdapter (Notifier): Adapter 0%   (0/1)0%   (0/7)0%   (0/1)
createCallActionAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createEObjectAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createInfrastructureCallAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createParametricResourceDemandAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createResourceCallAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
isFactoryForType (Object): boolean 0%   (0/1)0%   (0/20)0%   (0/5)
     
class Seff_performanceAdapterFactory$10%   (0/1)0%   (0/6)0%   (0/26)0%   (0/7)
Seff_performanceAdapterFactory$1 (Seff_performanceAdapterFactory): void 0%   (0/1)0%   (0/6)0%   (0/2)
caseCallAction (CallAction): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseInfrastructureCall (InfrastructureCall): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseParametricResourceDemand (ParametricResourceDemand): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseResourceCall (ResourceCall): 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.seff.seff_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.seff.CallAction;
14import de.uka.ipd.sdq.pcm.seff.seff_performance.*;
15import de.uka.ipd.sdq.pcm.seff.seff_performance.InfrastructureCall;
16import de.uka.ipd.sdq.pcm.seff.seff_performance.ParametricResourceDemand;
17import de.uka.ipd.sdq.pcm.seff.seff_performance.ResourceCall;
18import de.uka.ipd.sdq.pcm.seff.seff_performance.Seff_performancePackage;
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.seff.seff_performance.Seff_performancePackage
26 * @generated
27 */
28public class Seff_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 Seff_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 Seff_performanceAdapterFactory() {
51                if (modelPackage == null) {
52                        modelPackage = Seff_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 Seff_performanceSwitch<Adapter> modelSwitch =
82                new Seff_performanceSwitch<Adapter>() {
83                        @Override
84                        public Adapter caseInfrastructureCall(InfrastructureCall object) {
85                                return createInfrastructureCallAdapter();
86                        }
87                        @Override
88                        public Adapter caseResourceCall(ResourceCall object) {
89                                return createResourceCallAdapter();
90                        }
91                        @Override
92                        public Adapter caseParametricResourceDemand(ParametricResourceDemand object) {
93                                return createParametricResourceDemandAdapter();
94                        }
95                        @Override
96                        public Adapter caseCallAction(CallAction object) {
97                                return createCallActionAdapter();
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.seff.seff_performance.InfrastructureCall <em>Infrastructure Call</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.seff.seff_performance.InfrastructureCall
127         * @generated
128         */
129        public Adapter createInfrastructureCallAdapter() {
130                return null;
131        }
132 
133        /**
134         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.seff.seff_performance.ResourceCall <em>Resource Call</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.seff.seff_performance.ResourceCall
141         * @generated
142         */
143        public Adapter createResourceCallAdapter() {
144                return null;
145        }
146 
147        /**
148         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.seff.seff_performance.ParametricResourceDemand <em>Parametric Resource Demand</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.seff.seff_performance.ParametricResourceDemand
155         * @generated
156         */
157        public Adapter createParametricResourceDemandAdapter() {
158                return null;
159        }
160 
161        /**
162         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.seff.CallAction <em>Call Action</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.seff.CallAction
169         * @generated
170         */
171        public Adapter createCallActionAdapter() {
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} //Seff_performanceAdapterFactory

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