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

COVERAGE SUMMARY FOR SOURCE FILE [ResourceenvironmentAdapterFactory.java]

nameclass, %method, %block, %line, %
ResourceenvironmentAdapterFactory.java0%   (0/2)0%   (0/22)0%   (0/100)0%   (0/31)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ResourceenvironmentAdapterFactory0%   (0/1)0%   (0/12)0%   (0/58)0%   (0/21)
ResourceenvironmentAdapterFactory (): void 0%   (0/1)0%   (0/13)0%   (0/6)
createAdapter (Notifier): Adapter 0%   (0/1)0%   (0/7)0%   (0/1)
createCommunicationLinkResourceSpecificationAdapter (): 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)
createLinkingResourceAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createNamedElementAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createProcessingResourceSpecificationAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createResourceContainerAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
createResourceEnvironmentAdapter (): Adapter 0%   (0/1)0%   (0/2)0%   (0/1)
isFactoryForType (Object): boolean 0%   (0/1)0%   (0/20)0%   (0/5)
     
class ResourceenvironmentAdapterFactory$10%   (0/1)0%   (0/10)0%   (0/42)0%   (0/11)
ResourceenvironmentAdapterFactory$1 (ResourceenvironmentAdapterFactory): void 0%   (0/1)0%   (0/6)0%   (0/2)
caseCommunicationLinkResourceSpecification (CommunicationLinkResourceSpecific... 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)
caseLinkingResource (LinkingResource): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseNamedElement (NamedElement): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseProcessingResourceSpecification (ProcessingResourceSpecification): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseResourceContainer (ResourceContainer): Adapter 0%   (0/1)0%   (0/4)0%   (0/1)
caseResourceEnvironment (ResourceEnvironment): 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.resourceenvironment.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.resourceenvironment.*;
17import de.uka.ipd.sdq.pcm.resourceenvironment.CommunicationLinkResourceSpecification;
18import de.uka.ipd.sdq.pcm.resourceenvironment.LinkingResource;
19import de.uka.ipd.sdq.pcm.resourceenvironment.ProcessingResourceSpecification;
20import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceContainer;
21import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceEnvironment;
22import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceenvironmentPackage;
23 
24/**
25 * <!-- begin-user-doc -->
26 * The <b>Adapter Factory</b> for the model.
27 * It provides an adapter <code>createXXX</code> method for each class of the model.
28 * <!-- end-user-doc -->
29 * @see de.uka.ipd.sdq.pcm.resourceenvironment.ResourceenvironmentPackage
30 * @generated
31 */
32public class ResourceenvironmentAdapterFactory extends AdapterFactoryImpl {
33        /**
34         * <!-- begin-user-doc -->
35         * <!-- end-user-doc -->
36         * @generated
37         */
38        public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany";
39 
40        /**
41         * The cached model package.
42         * <!-- begin-user-doc -->
43         * <!-- end-user-doc -->
44         * @generated
45         */
46        protected static ResourceenvironmentPackage modelPackage;
47 
48        /**
49         * Creates an instance of the adapter factory.
50         * <!-- begin-user-doc -->
51         * <!-- end-user-doc -->
52         * @generated
53         */
54        public ResourceenvironmentAdapterFactory() {
55                if (modelPackage == null) {
56                        modelPackage = ResourceenvironmentPackage.eINSTANCE;
57                }
58        }
59 
60        /**
61         * Returns whether this factory is applicable for the type of the object.
62         * <!-- begin-user-doc -->
63         * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
64         * <!-- end-user-doc -->
65         * @return whether this factory is applicable for the type of the object.
66         * @generated
67         */
68        @Override
69        public boolean isFactoryForType(Object object) {
70                if (object == modelPackage) {
71                        return true;
72                }
73                if (object instanceof EObject) {
74                        return ((EObject)object).eClass().getEPackage() == modelPackage;
75                }
76                return false;
77        }
78 
79        /**
80         * The switch that delegates to the <code>createXXX</code> methods.
81         * <!-- begin-user-doc -->
82         * <!-- end-user-doc -->
83         * @generated
84         */
85        protected ResourceenvironmentSwitch<Adapter> modelSwitch =
86                new ResourceenvironmentSwitch<Adapter>() {
87                        @Override
88                        public Adapter caseResourceEnvironment(ResourceEnvironment object) {
89                                return createResourceEnvironmentAdapter();
90                        }
91                        @Override
92                        public Adapter caseLinkingResource(LinkingResource object) {
93                                return createLinkingResourceAdapter();
94                        }
95                        @Override
96                        public Adapter caseResourceContainer(ResourceContainer object) {
97                                return createResourceContainerAdapter();
98                        }
99                        @Override
100                        public Adapter caseProcessingResourceSpecification(ProcessingResourceSpecification object) {
101                                return createProcessingResourceSpecificationAdapter();
102                        }
103                        @Override
104                        public Adapter caseCommunicationLinkResourceSpecification(CommunicationLinkResourceSpecification object) {
105                                return createCommunicationLinkResourceSpecificationAdapter();
106                        }
107                        @Override
108                        public Adapter caseNamedElement(NamedElement object) {
109                                return createNamedElementAdapter();
110                        }
111                        @Override
112                        public Adapter caseIdentifier(Identifier object) {
113                                return createIdentifierAdapter();
114                        }
115                        @Override
116                        public Adapter caseEntity(Entity object) {
117                                return createEntityAdapter();
118                        }
119                        @Override
120                        public Adapter defaultCase(EObject object) {
121                                return createEObjectAdapter();
122                        }
123                };
124 
125        /**
126         * Creates an adapter for the <code>target</code>.
127         * <!-- begin-user-doc -->
128         * <!-- end-user-doc -->
129         * @param target the object to adapt.
130         * @return the adapter for the <code>target</code>.
131         * @generated
132         */
133        @Override
134        public Adapter createAdapter(Notifier target) {
135                return modelSwitch.doSwitch((EObject)target);
136        }
137 
138 
139        /**
140         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.resourceenvironment.ResourceEnvironment <em>Resource Environment</em>}'.
141         * <!-- begin-user-doc -->
142         * This default implementation returns null so that we can easily ignore cases;
143         * it's useful to ignore a case when inheritance will catch all the cases anyway.
144         * <!-- end-user-doc -->
145         * @return the new adapter.
146         * @see de.uka.ipd.sdq.pcm.resourceenvironment.ResourceEnvironment
147         * @generated
148         */
149        public Adapter createResourceEnvironmentAdapter() {
150                return null;
151        }
152 
153        /**
154         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.resourceenvironment.LinkingResource <em>Linking Resource</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.pcm.resourceenvironment.LinkingResource
161         * @generated
162         */
163        public Adapter createLinkingResourceAdapter() {
164                return null;
165        }
166 
167        /**
168         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.resourceenvironment.ResourceContainer <em>Resource Container</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.pcm.resourceenvironment.ResourceContainer
175         * @generated
176         */
177        public Adapter createResourceContainerAdapter() {
178                return null;
179        }
180 
181        /**
182         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.resourceenvironment.ProcessingResourceSpecification <em>Processing Resource Specification</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.pcm.resourceenvironment.ProcessingResourceSpecification
189         * @generated
190         */
191        public Adapter createProcessingResourceSpecificationAdapter() {
192                return null;
193        }
194 
195        /**
196         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.resourceenvironment.CommunicationLinkResourceSpecification <em>Communication Link Resource Specification</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.pcm.resourceenvironment.CommunicationLinkResourceSpecification
203         * @generated
204         */
205        public Adapter createCommunicationLinkResourceSpecificationAdapter() {
206                return null;
207        }
208 
209        /**
210         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.core.entity.NamedElement <em>Named Element</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.pcm.core.entity.NamedElement
217         * @generated
218         */
219        public Adapter createNamedElementAdapter() {
220                return null;
221        }
222 
223        /**
224         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.identifier.Identifier <em>Identifier</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.identifier.Identifier
231         * @generated
232         */
233        public Adapter createIdentifierAdapter() {
234                return null;
235        }
236 
237        /**
238         * Creates a new adapter for an object of class '{@link de.uka.ipd.sdq.pcm.core.entity.Entity <em>Entity</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.pcm.core.entity.Entity
245         * @generated
246         */
247        public Adapter createEntityAdapter() {
248                return null;
249        }
250 
251        /**
252         * Creates a new adapter for the default case.
253         * <!-- begin-user-doc -->
254         * This default implementation returns null.
255         * <!-- end-user-doc -->
256         * @return the new adapter.
257         * @generated
258         */
259        public Adapter createEObjectAdapter() {
260                return null;
261        }
262 
263} //ResourceenvironmentAdapterFactory

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