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

COVERAGE SUMMARY FOR SOURCE FILE [Seff_reliabilityAdapterFactory.java]

nameclass, %method, %block, %line, %
Seff_reliabilityAdapterFactory.java0%   (0/2)0%   (0/24)0%   (0/106)0%   (0/33)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class Seff_reliabilityAdapterFactory0%   (0/1)0%   (0/13)0%   (0/60)0%   (0/22)
Seff_reliabilityAdapterFactory (): void 0%   (0/1)0%   (0/13)0%   (0/6)
createAbstractActionAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createAbstractInternalControlFlowActionAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
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)
createFailureHandlingEntityAdapter (): 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)
createRecoveryActionAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createRecoveryActionBehaviourAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createResourceDemandingBehaviourAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
isFactoryForType (Object): boolean 0%   (0/1)0%   (0/20)0%   (0/5)
     
class Seff_reliabilityAdapterFactory$10%   (0/1)0%   (0/11)0%   (0/46)0%   (0/12)
Seff_reliabilityAdapterFactory$1 (Seff_reliabilityAdapterFactory): void 0%   (0/1)0%   (0/6)0%   (0/2)
caseAbstractAction (AbstractAction): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseAbstractInternalControlFlowAction (AbstractInternalControlFlowAction): Ad... 0%   (0/1)0%   (0/4)0%   (0/1)
caseEntity (Entity): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseFailureHandlingEntity (FailureHandlingEntity): 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)
caseRecoveryAction (RecoveryAction): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseRecoveryActionBehaviour (RecoveryActionBehaviour): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseResourceDemandingBehaviour (ResourceDemandingBehaviour): 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_reliability.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.identifier.Identifier;
14import de.uka.ipd.sdq.pcm.core.entity.Entity;
15import de.uka.ipd.sdq.pcm.core.entity.NamedElement;
16import de.uka.ipd.sdq.pcm.seff.AbstractAction;
17import de.uka.ipd.sdq.pcm.seff.AbstractInternalControlFlowAction;
18import de.uka.ipd.sdq.pcm.seff.ResourceDemandingBehaviour;
19import de.uka.ipd.sdq.pcm.seff.seff_reliability.*;
20import de.uka.ipd.sdq.pcm.seff.seff_reliability.FailureHandlingEntity;
21import de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage;
22 
23/**
24 * <!-- begin-user-doc -->
25 * The <b>Adapter Factory</b> for the model.
26 * It provides an adapter <code>createXXX</code> method for each class of the model.
27 * <!-- end-user-doc -->
28 * @see de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage
29 * @generated
30 */
31public class Seff_reliabilityAdapterFactory extends AdapterFactoryImpl {
32        /**
33         * <!-- begin-user-doc -->
34         * <!-- end-user-doc -->
35         * @generated
36         */
37        public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany";
38 
39        /**
40         * The cached model package.
41         * <!-- begin-user-doc -->
42         * <!-- end-user-doc -->
43         * @generated
44         */
45        protected static Seff_reliabilityPackage modelPackage;
46 
47        /**
48         * Creates an instance of the adapter factory.
49         * <!-- begin-user-doc -->
50         * <!-- end-user-doc -->
51         * @generated
52         */
53        public Seff_reliabilityAdapterFactory() {
54                if (modelPackage == null) {
55                        modelPackage = Seff_reliabilityPackage.eINSTANCE;
56                }
57        }
58 
59        /**
60         * Returns whether this factory is applicable for the type of the object.
61         * <!-- begin-user-doc -->
62         * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
63         * <!-- end-user-doc -->
64         * @return whether this factory is applicable for the type of the object.
65         * @generated
66         */
67        @Override
68        public boolean isFactoryForType(Object object) {
69                if (object == modelPackage) {
70                        return true;
71                }
72                if (object instanceof EObject) {
73                        return ((EObject)object).eClass().getEPackage() == modelPackage;
74                }
75                return false;
76        }
77 
78        /**
79         * The switch that delegates to the <code>createXXX</code> methods.
80         * <!-- begin-user-doc -->
81         * <!-- end-user-doc -->
82         * @generated
83         */
84        protected Seff_reliabilitySwitch<Adapter> modelSwitch =
85                new Seff_reliabilitySwitch<Adapter>() {
86                        @Override
87                        public Adapter caseRecoveryActionBehaviour(RecoveryActionBehaviour object) {
88                                return createRecoveryActionBehaviourAdapter();
89                        }
90                        @Override
91                        public Adapter caseRecoveryAction(RecoveryAction object) {
92                                return createRecoveryActionAdapter();
93                        }
94                        @Override
95                        public Adapter caseFailureHandlingEntity(FailureHandlingEntity object) {
96                                return createFailureHandlingEntityAdapter();
97                        }
98                        @Override
99                        public Adapter caseIdentifier(Identifier object) {
100                                return createIdentifierAdapter();
101                        }
102                        @Override
103                        public Adapter caseNamedElement(NamedElement object) {
104                                return createNamedElementAdapter();
105                        }
106                        @Override
107                        public Adapter caseEntity(Entity object) {
108                                return createEntityAdapter();
109                        }
110                        @Override
111                        public Adapter caseResourceDemandingBehaviour(ResourceDemandingBehaviour object) {
112                                return createResourceDemandingBehaviourAdapter();
113                        }
114                        @Override
115                        public Adapter caseAbstractAction(AbstractAction object) {
116                                return createAbstractActionAdapter();
117                        }
118                        @Override
119                        public Adapter caseAbstractInternalControlFlowAction(AbstractInternalControlFlowAction object) {
120                                return createAbstractInternalControlFlowActionAdapter();
121                        }
122                        @Override
123                        public Adapter defaultCase(EObject object) {
124                                return createEObjectAdapter();
125                        }
126                };
127 
128        /**
129         * Creates an adapter for the <code>target</code>.
130         * <!-- begin-user-doc -->
131         * <!-- end-user-doc -->
132         * @param target the object to adapt.
133         * @return the adapter for the <code>target</code>.
134         * @generated
135         */
136        @Override
137        public Adapter createAdapter(Notifier target) {
138                return modelSwitch.doSwitch((EObject)target);
139        }
140 
141 
142        /**
143         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.seff.seff_reliability.RecoveryActionBehaviour <em>Recovery Action Behaviour</em>}'.
144         * <!-- begin-user-doc -->
145         * This default implementation returns null so that we can easily ignore cases;
146         * it's useful to ignore a case when inheritance will catch all the cases anyway.
147         * <!-- end-user-doc -->
148         * @return the new adapter.
149         * @see de.uka.ipd.sdq.pcm.seff.seff_reliability.RecoveryActionBehaviour
150         * @generated
151         */
152        public Adapter createRecoveryActionBehaviourAdapter() {
153                return null;
154        }
155 
156        /**
157         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.seff.seff_reliability.RecoveryAction <em>Recovery Action</em>}'.
158         * <!-- begin-user-doc -->
159         * This default implementation returns null so that we can easily ignore cases;
160         * it's useful to ignore a case when inheritance will catch all the cases anyway.
161         * <!-- end-user-doc -->
162         * @return the new adapter.
163         * @see de.uka.ipd.sdq.pcm.seff.seff_reliability.RecoveryAction
164         * @generated
165         */
166        public Adapter createRecoveryActionAdapter() {
167                return null;
168        }
169 
170        /**
171         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.seff.seff_reliability.FailureHandlingEntity <em>Failure Handling Entity</em>}'.
172         * <!-- begin-user-doc -->
173         * This default implementation returns null so that we can easily ignore cases;
174         * it's useful to ignore a case when inheritance will catch all the cases anyway.
175         * <!-- end-user-doc -->
176         * @return the new adapter.
177         * @see de.uka.ipd.sdq.pcm.seff.seff_reliability.FailureHandlingEntity
178         * @generated
179         */
180        public Adapter createFailureHandlingEntityAdapter() {
181                return null;
182        }
183 
184        /**
185         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.identifier.Identifier <em>Identifier</em>}'.
186         * <!-- begin-user-doc -->
187         * This default implementation returns null so that we can easily ignore cases;
188         * it's useful to ignore a case when inheritance will catch all the cases anyway.
189         * <!-- end-user-doc -->
190         * @return the new adapter.
191         * @see de.uka.ipd.sdq.identifier.Identifier
192         * @generated
193         */
194        public Adapter createIdentifierAdapter() {
195                return null;
196        }
197 
198        /**
199         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.core.entity.NamedElement <em>Named Element</em>}'.
200         * <!-- begin-user-doc -->
201         * This default implementation returns null so that we can easily ignore cases;
202         * it's useful to ignore a case when inheritance will catch all the cases anyway.
203         * <!-- end-user-doc -->
204         * @return the new adapter.
205         * @see de.uka.ipd.sdq.pcm.core.entity.NamedElement
206         * @generated
207         */
208        public Adapter createNamedElementAdapter() {
209                return null;
210        }
211 
212        /**
213         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.core.entity.Entity <em>Entity</em>}'.
214         * <!-- begin-user-doc -->
215         * This default implementation returns null so that we can easily ignore cases;
216         * it's useful to ignore a case when inheritance will catch all the cases anyway.
217         * <!-- end-user-doc -->
218         * @return the new adapter.
219         * @see de.uka.ipd.sdq.pcm.core.entity.Entity
220         * @generated
221         */
222        public Adapter createEntityAdapter() {
223                return null;
224        }
225 
226        /**
227         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.seff.ResourceDemandingBehaviour <em>Resource Demanding Behaviour</em>}'.
228         * <!-- begin-user-doc -->
229         * This default implementation returns null so that we can easily ignore cases;
230         * it's useful to ignore a case when inheritance will catch all the cases anyway.
231         * <!-- end-user-doc -->
232         * @return the new adapter.
233         * @see de.uka.ipd.sdq.pcm.seff.ResourceDemandingBehaviour
234         * @generated
235         */
236        public Adapter createResourceDemandingBehaviourAdapter() {
237                return null;
238        }
239 
240        /**
241         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.seff.AbstractAction <em>Abstract Action</em>}'.
242         * <!-- begin-user-doc -->
243         * This default implementation returns null so that we can easily ignore cases;
244         * it's useful to ignore a case when inheritance will catch all the cases anyway.
245         * <!-- end-user-doc -->
246         * @return the new adapter.
247         * @see de.uka.ipd.sdq.pcm.seff.AbstractAction
248         * @generated
249         */
250        public Adapter createAbstractActionAdapter() {
251                return null;
252        }
253 
254        /**
255         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.seff.AbstractInternalControlFlowAction <em>Abstract Internal Control Flow Action</em>}'.
256         * <!-- begin-user-doc -->
257         * This default implementation returns null so that we can easily ignore cases;
258         * it's useful to ignore a case when inheritance will catch all the cases anyway.
259         * <!-- end-user-doc -->
260         * @return the new adapter.
261         * @see de.uka.ipd.sdq.pcm.seff.AbstractInternalControlFlowAction
262         * @generated
263         */
264        public Adapter createAbstractInternalControlFlowActionAdapter() {
265                return null;
266        }
267 
268        /**
269         * Creates a new adapter for the default case.
270         * <!-- begin-user-doc -->
271         * This default implementation returns null.
272         * <!-- end-user-doc -->
273         * @return the new adapter.
274         * @generated
275         */
276        public Adapter createEObjectAdapter() {
277                return null;
278        }
279 
280} //Seff_reliabilityAdapterFactory

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