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

COVERAGE SUMMARY FOR SOURCE FILE [ResourceenvironmentdecoratorAdapterFactory.java]

nameclass, %method, %block, %line, %
ResourceenvironmentdecoratorAdapterFactory.java0%   (0/2)0%   (0/20)0%   (0/94)0%   (0/29)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ResourceenvironmentdecoratorAdapterFactory0%   (0/1)0%   (0/11)0%   (0/56)0%   (0/20)
ResourceenvironmentdecoratorAdapterFactory (): void 0%   (0/1)0%   (0/13)0%   (0/6)
createActiveResourceUtilisationResultAdapter (): 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)
createLinkingResourceResultsAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createNamedElementAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createPassiveResourceResultAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createProcessingResourceSpecificationResultAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createResourceContainerResultsAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createUtilisationResultAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
isFactoryForType (Object): boolean 0%   (0/1)0%   (0/20)0%   (0/5)
     
class ResourceenvironmentdecoratorAdapterFactory$10%   (0/1)0%   (0/9)0%   (0/38)0%   (0/10)
ResourceenvironmentdecoratorAdapterFactory$1 (ResourceenvironmentdecoratorAda... 0%   (0/1)0%   (0/6)0%   (0/2)
caseActiveResourceUtilisationResult (ActiveResourceUtilisationResult): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseLinkingResourceResults (LinkingResourceResults): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseNamedElement (NamedElement): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
casePassiveResourceResult (PassiveResourceResult): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseProcessingResourceSpecificationResult (ProcessingResourceSpecificationRes... 0%   (0/1)0%   (0/4)0%   (0/1)
caseResourceContainerResults (ResourceContainerResults): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseUtilisationResult (UtilisationResult): 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.pcm.resultdecorator.resourceenvironmentdecorator.util;
8 
9import de.uka.ipd.sdq.pcm.core.entity.NamedElement;
10 
11import de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.*;
12 
13import org.eclipse.emf.common.notify.Adapter;
14import org.eclipse.emf.common.notify.Notifier;
15 
16import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
17 
18import org.eclipse.emf.ecore.EObject;
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.resultdecorator.resourceenvironmentdecorator.ResourceenvironmentdecoratorPackage
26 * @generated
27 */
28public class ResourceenvironmentdecoratorAdapterFactory extends AdapterFactoryImpl {
29        /**
30         * The cached model package.
31         * <!-- begin-user-doc -->
32         * <!-- end-user-doc -->
33         * @generated
34         */
35        protected static ResourceenvironmentdecoratorPackage modelPackage;
36 
37        /**
38         * Creates an instance of the adapter factory.
39         * <!-- begin-user-doc -->
40         * <!-- end-user-doc -->
41         * @generated
42         */
43        public ResourceenvironmentdecoratorAdapterFactory() {
44                if (modelPackage == null) {
45                        modelPackage = ResourceenvironmentdecoratorPackage.eINSTANCE;
46                }
47        }
48 
49        /**
50         * Returns whether this factory is applicable for the type of the object.
51         * <!-- begin-user-doc -->
52         * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
53         * <!-- end-user-doc -->
54         * @return whether this factory is applicable for the type of the object.
55         * @generated
56         */
57        @Override
58        public boolean isFactoryForType(Object object) {
59                if (object == modelPackage) {
60                        return true;
61                }
62                if (object instanceof EObject) {
63                        return ((EObject)object).eClass().getEPackage() == modelPackage;
64                }
65                return false;
66        }
67 
68        /**
69         * The switch that delegates to the <code>createXXX</code> methods.
70         * <!-- begin-user-doc -->
71         * <!-- end-user-doc -->
72         * @generated
73         */
74        protected ResourceenvironmentdecoratorSwitch<Adapter> modelSwitch =
75                new ResourceenvironmentdecoratorSwitch<Adapter>() {
76                        @Override
77                        public Adapter caseLinkingResourceResults(LinkingResourceResults object) {
78                                return createLinkingResourceResultsAdapter();
79                        }
80                        @Override
81                        public Adapter caseActiveResourceUtilisationResult(ActiveResourceUtilisationResult object) {
82                                return createActiveResourceUtilisationResultAdapter();
83                        }
84                        @Override
85                        public Adapter caseUtilisationResult(UtilisationResult object) {
86                                return createUtilisationResultAdapter();
87                        }
88                        @Override
89                        public Adapter caseResourceContainerResults(ResourceContainerResults object) {
90                                return createResourceContainerResultsAdapter();
91                        }
92                        @Override
93                        public Adapter caseProcessingResourceSpecificationResult(ProcessingResourceSpecificationResult object) {
94                                return createProcessingResourceSpecificationResultAdapter();
95                        }
96                        @Override
97                        public Adapter casePassiveResourceResult(PassiveResourceResult object) {
98                                return createPassiveResourceResultAdapter();
99                        }
100                        @Override
101                        public Adapter caseNamedElement(NamedElement object) {
102                                return createNamedElementAdapter();
103                        }
104                        @Override
105                        public Adapter defaultCase(EObject object) {
106                                return createEObjectAdapter();
107                        }
108                };
109 
110        /**
111         * Creates an adapter for the <code>target</code>.
112         * <!-- begin-user-doc -->
113         * <!-- end-user-doc -->
114         * @param target the object to adapt.
115         * @return the adapter for the <code>target</code>.
116         * @generated
117         */
118        @Override
119        public Adapter createAdapter(Notifier target) {
120                return modelSwitch.doSwitch((EObject)target);
121        }
122 
123 
124        /**
125         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.LinkingResourceResults <em>Linking Resource Results</em>}'.
126         * <!-- begin-user-doc -->
127         * This default implementation returns null so that we can easily ignore cases;
128         * it's useful to ignore a case when inheritance will catch all the cases anyway.
129         * <!-- end-user-doc -->
130         * @return the new adapter.
131         * @see de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.LinkingResourceResults
132         * @generated
133         */
134        public Adapter createLinkingResourceResultsAdapter() {
135                return null;
136        }
137 
138        /**
139         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.ActiveResourceUtilisationResult <em>Active Resource Utilisation Result</em>}'.
140         * <!-- begin-user-doc -->
141         * This default implementation returns null so that we can easily ignore cases;
142         * it's useful to ignore a case when inheritance will catch all the cases anyway.
143         * <!-- end-user-doc -->
144         * @return the new adapter.
145         * @see de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.ActiveResourceUtilisationResult
146         * @generated
147         */
148        public Adapter createActiveResourceUtilisationResultAdapter() {
149                return null;
150        }
151 
152        /**
153         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.UtilisationResult <em>Utilisation Result</em>}'.
154         * <!-- begin-user-doc -->
155         * This default implementation returns null so that we can easily ignore cases;
156         * it's useful to ignore a case when inheritance will catch all the cases anyway.
157         * <!-- end-user-doc -->
158         * @return the new adapter.
159         * @see de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.UtilisationResult
160         * @generated
161         */
162        public Adapter createUtilisationResultAdapter() {
163                return null;
164        }
165 
166        /**
167         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.ResourceContainerResults <em>Resource Container Results</em>}'.
168         * <!-- begin-user-doc -->
169         * This default implementation returns null so that we can easily ignore cases;
170         * it's useful to ignore a case when inheritance will catch all the cases anyway.
171         * <!-- end-user-doc -->
172         * @return the new adapter.
173         * @see de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.ResourceContainerResults
174         * @generated
175         */
176        public Adapter createResourceContainerResultsAdapter() {
177                return null;
178        }
179 
180        /**
181         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.ProcessingResourceSpecificationResult <em>Processing Resource Specification Result</em>}'.
182         * <!-- begin-user-doc -->
183         * This default implementation returns null so that we can easily ignore cases;
184         * it's useful to ignore a case when inheritance will catch all the cases anyway.
185         * <!-- end-user-doc -->
186         * @return the new adapter.
187         * @see de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.ProcessingResourceSpecificationResult
188         * @generated
189         */
190        public Adapter createProcessingResourceSpecificationResultAdapter() {
191                return null;
192        }
193 
194        /**
195         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.PassiveResourceResult <em>Passive Resource Result</em>}'.
196         * <!-- begin-user-doc -->
197         * This default implementation returns null so that we can easily ignore cases;
198         * it's useful to ignore a case when inheritance will catch all the cases anyway.
199         * <!-- end-user-doc -->
200         * @return the new adapter.
201         * @see de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.PassiveResourceResult
202         * @generated
203         */
204        public Adapter createPassiveResourceResultAdapter() {
205                return null;
206        }
207 
208        /**
209         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.core.entity.NamedElement <em>Named Element</em>}'.
210         * <!-- begin-user-doc -->
211         * This default implementation returns null so that we can easily ignore cases;
212         * it's useful to ignore a case when inheritance will catch all the cases anyway.
213         * <!-- end-user-doc -->
214         * @return the new adapter.
215         * @see de.uka.ipd.sdq.pcm.core.entity.NamedElement
216         * @generated
217         */
218        public Adapter createNamedElementAdapter() {
219                return null;
220        }
221 
222        /**
223         * Creates a new adapter for the default case.
224         * <!-- begin-user-doc -->
225         * This default implementation returns null.
226         * <!-- end-user-doc -->
227         * @return the new adapter.
228         * @generated
229         */
230        public Adapter createEObjectAdapter() {
231                return null;
232        }
233 
234} //ResourceenvironmentdecoratorAdapterFactory

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