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

COVERAGE SUMMARY FOR SOURCE FILE [ComputedAllocationAdapterFactory.java]

nameclass, %method, %block, %line, %
ComputedAllocationAdapterFactory.java0%   (0/2)0%   (0/18)0%   (0/88)0%   (0/27)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ComputedAllocationAdapterFactory0%   (0/1)0%   (0/10)0%   (0/54)0%   (0/19)
ComputedAllocationAdapterFactory (): void 0%   (0/1)0%   (0/13)0%   (0/6)
createAdapter (Notifier): Adapter 0%   (0/1)0%   (0/7)0%   (0/1)
createComputedAllocationAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createComputedAllocationContextAdapter (): 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)
createIdentifierAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createNamedElementAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createResourceDemandAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
isFactoryForType (Object): boolean 0%   (0/1)0%   (0/20)0%   (0/5)
     
class ComputedAllocationAdapterFactory$10%   (0/1)0%   (0/8)0%   (0/34)0%   (0/9)
ComputedAllocationAdapterFactory$1 (ComputedAllocationAdapterFactory): void 0%   (0/1)0%   (0/6)0%   (0/2)
caseComputedAllocation (ComputedAllocation): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseComputedAllocationContext (ComputedAllocationContext): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseEntity (Entity): 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)
caseResourceDemand (ResourceDemand): 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_allocation.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_allocation.ComputedAllocation;
14import de.uka.ipd.sdq.context.computed_allocation.ComputedAllocationContext;
15import de.uka.ipd.sdq.context.computed_allocation.ComputedAllocationPackage;
16import de.uka.ipd.sdq.context.computed_allocation.ResourceDemand;
17import de.uka.ipd.sdq.identifier.Identifier;
18import de.uka.ipd.sdq.pcm.core.entity.Entity;
19import de.uka.ipd.sdq.pcm.core.entity.NamedElement;
20 
21/**
22 * <!-- begin-user-doc -->
23 * The <b>Adapter Factory</b> for the model.
24 * It provides an adapter <code>createXXX</code> method for each class of the model.
25 * <!-- end-user-doc -->
26 * @see de.uka.ipd.sdq.context.computed_allocation.ComputedAllocationPackage
27 * @generated
28 */
29public class ComputedAllocationAdapterFactory extends AdapterFactoryImpl {
30        /**
31         * <!-- begin-user-doc -->
32         * <!-- end-user-doc -->
33         * @generated
34         */
35        public static final String copyright = "Copyright 2006, SDQ Group, University Karlsruhe (TH)";
36 
37        /**
38         * The cached model package.
39         * <!-- begin-user-doc -->
40         * <!-- end-user-doc -->
41         * @generated
42         */
43        protected static ComputedAllocationPackage modelPackage;
44 
45        /**
46         * Creates an instance of the adapter factory.
47         * <!-- begin-user-doc -->
48         * <!-- end-user-doc -->
49         * @generated
50         */
51        public ComputedAllocationAdapterFactory() {
52                if (modelPackage == null) {
53                        modelPackage = ComputedAllocationPackage.eINSTANCE;
54                }
55        }
56 
57        /**
58         * Returns whether this factory is applicable for the type of the object.
59         * <!-- begin-user-doc -->
60         * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
61         * <!-- end-user-doc -->
62         * @return whether this factory is applicable for the type of the object.
63         * @generated
64         */
65        @Override
66        public boolean isFactoryForType(Object object) {
67                if (object == modelPackage) {
68                        return true;
69                }
70                if (object instanceof EObject) {
71                        return ((EObject)object).eClass().getEPackage() == modelPackage;
72                }
73                return false;
74        }
75 
76        /**
77         * The switch that delegates to the <code>createXXX</code> methods.
78         * <!-- begin-user-doc -->
79         * <!-- end-user-doc -->
80         * @generated
81         */
82        protected ComputedAllocationSwitch<Adapter> modelSwitch =
83                new ComputedAllocationSwitch<Adapter>() {
84                        @Override
85                        public Adapter caseComputedAllocationContext(ComputedAllocationContext object) {
86                                return createComputedAllocationContextAdapter();
87                        }
88                        @Override
89                        public Adapter caseResourceDemand(ResourceDemand object) {
90                                return createResourceDemandAdapter();
91                        }
92                        @Override
93                        public Adapter caseComputedAllocation(ComputedAllocation object) {
94                                return createComputedAllocationAdapter();
95                        }
96                        @Override
97                        public Adapter caseIdentifier(Identifier object) {
98                                return createIdentifierAdapter();
99                        }
100                        @Override
101                        public Adapter caseNamedElement(NamedElement object) {
102                                return createNamedElementAdapter();
103                        }
104                        @Override
105                        public Adapter caseEntity(Entity object) {
106                                return createEntityAdapter();
107                        }
108                        @Override
109                        public Adapter defaultCase(EObject object) {
110                                return createEObjectAdapter();
111                        }
112                };
113 
114        /**
115         * Creates an adapter for the <code>target</code>.
116         * <!-- begin-user-doc -->
117         * <!-- end-user-doc -->
118         * @param target the object to adapt.
119         * @return the adapter for the <code>target</code>.
120         * @generated
121         */
122        @Override
123        public Adapter createAdapter(Notifier target) {
124                return modelSwitch.doSwitch((EObject)target);
125        }
126 
127 
128        /**
129         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.context.computed_allocation.ComputedAllocationContext <em>Context</em>}'.
130         * <!-- begin-user-doc -->
131         * This default implementation returns null so that we can easily ignore cases;
132         * it's useful to ignore a case when inheritance will catch all the cases anyway.
133         * <!-- end-user-doc -->
134         * @return the new adapter.
135         * @see de.uka.ipd.sdq.context.computed_allocation.ComputedAllocationContext
136         * @generated
137         */
138        public Adapter createComputedAllocationContextAdapter() {
139                return null;
140        }
141 
142        /**
143         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.context.computed_allocation.ResourceDemand <em>Resource Demand</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.context.computed_allocation.ResourceDemand
150         * @generated
151         */
152        public Adapter createResourceDemandAdapter() {
153                return null;
154        }
155 
156        /**
157         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.context.computed_allocation.ComputedAllocation <em>Computed Allocation</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.context.computed_allocation.ComputedAllocation
164         * @generated
165         */
166        public Adapter createComputedAllocationAdapter() {
167                return null;
168        }
169 
170        /**
171         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.identifier.Identifier <em>Identifier</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.identifier.Identifier
178         * @generated
179         */
180        public Adapter createIdentifierAdapter() {
181                return null;
182        }
183 
184        /**
185         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.core.entity.NamedElement <em>Named Element</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.pcm.core.entity.NamedElement
192         * @generated
193         */
194        public Adapter createNamedElementAdapter() {
195                return null;
196        }
197 
198        /**
199         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.core.entity.Entity <em>Entity</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.Entity
206         * @generated
207         */
208        public Adapter createEntityAdapter() {
209                return null;
210        }
211 
212        /**
213         * Creates a new adapter for the default case.
214         * <!-- begin-user-doc -->
215         * This default implementation returns null.
216         * <!-- end-user-doc -->
217         * @return the new adapter.
218         * @generated
219         */
220        public Adapter createEObjectAdapter() {
221                return null;
222        }
223 
224} //ComputedAllocationAdapterFactory

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