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

COVERAGE SUMMARY FOR SOURCE FILE [SimucomstatusFactoryImpl.java]

nameclass, %method, %block, %line, %
SimucomstatusFactoryImpl.java0%   (0/1)0%   (0/14)0%   (0/124)0%   (0/39)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class SimucomstatusFactoryImpl0%   (0/1)0%   (0/14)0%   (0/124)0%   (0/39)
SimucomstatusFactoryImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
create (EClass): EObject 0%   (0/1)0%   (0/44)0%   (0/11)
createActiveResouce (): ActiveResouce 0%   (0/1)0%   (0/6)0%   (0/2)
createPassiveResource (): PassiveResource 0%   (0/1)0%   (0/6)0%   (0/2)
createProcess (): Process 0%   (0/1)0%   (0/6)0%   (0/2)
createSimuComStatus (): SimuComStatus 0%   (0/1)0%   (0/6)0%   (0/2)
createSimulatedProcesses (): SimulatedProcesses 0%   (0/1)0%   (0/6)0%   (0/2)
createSimulatedResources (): SimulatedResources 0%   (0/1)0%   (0/6)0%   (0/2)
createWaitForAcquire (): WaitForAcquire 0%   (0/1)0%   (0/6)0%   (0/2)
createWaitForDelay (): WaitForDelay 0%   (0/1)0%   (0/6)0%   (0/2)
createWaitForDemand (): WaitForDemand 0%   (0/1)0%   (0/6)0%   (0/2)
getPackage (): SimucomstatusPackage 0%   (0/1)0%   (0/2)0%   (0/1)
getSimucomstatusPackage (): SimucomstatusPackage 0%   (0/1)0%   (0/4)0%   (0/1)
init (): SimucomstatusFactory 0%   (0/1)0%   (0/17)0%   (0/6)

1/**
2 * Copyright 2008, sdq.ipd.uka.de, U KA
3 *
4 * $Id$
5 */
6package de.uka.ipd.sdq.simucomframework.simucomstatus.impl;
7 
8import de.uka.ipd.sdq.simucomframework.simucomstatus.ActiveResouce;
9import de.uka.ipd.sdq.simucomframework.simucomstatus.PassiveResource;
10import de.uka.ipd.sdq.simucomframework.simucomstatus.SimuComStatus;
11import de.uka.ipd.sdq.simucomframework.simucomstatus.SimucomstatusFactory;
12import de.uka.ipd.sdq.simucomframework.simucomstatus.SimucomstatusPackage;
13import de.uka.ipd.sdq.simucomframework.simucomstatus.SimulatedProcesses;
14import de.uka.ipd.sdq.simucomframework.simucomstatus.SimulatedResources;
15import de.uka.ipd.sdq.simucomframework.simucomstatus.WaitForAcquire;
16import de.uka.ipd.sdq.simucomframework.simucomstatus.WaitForDelay;
17import de.uka.ipd.sdq.simucomframework.simucomstatus.WaitForDemand;
18 
19import org.eclipse.emf.ecore.EClass;
20import org.eclipse.emf.ecore.EObject;
21import org.eclipse.emf.ecore.EPackage;
22 
23import org.eclipse.emf.ecore.impl.EFactoryImpl;
24 
25import org.eclipse.emf.ecore.plugin.EcorePlugin;
26 
27/**
28 * <!-- begin-user-doc -->
29 * An implementation of the model <b>Factory</b>.
30 * <!-- end-user-doc -->
31 * @generated
32 */
33public class SimucomstatusFactoryImpl extends EFactoryImpl implements SimucomstatusFactory {
34        /**
35         * Creates the default factory implementation.
36         * <!-- begin-user-doc -->
37         * <!-- end-user-doc -->
38         * @generated
39         */
40        public static SimucomstatusFactory init() {
41                try {
42                        SimucomstatusFactory theSimucomstatusFactory = (SimucomstatusFactory)EPackage.Registry.INSTANCE.getEFactory("http://sdq.ipd.uka.de/SimuComStatus/1.0"); 
43                        if (theSimucomstatusFactory != null) {
44                                return theSimucomstatusFactory;
45                        }
46                }
47                catch (Exception exception) {
48                        EcorePlugin.INSTANCE.log(exception);
49                }
50                return new SimucomstatusFactoryImpl();
51        }
52 
53        /**
54         * Creates an instance of the factory.
55         * <!-- begin-user-doc -->
56         * <!-- end-user-doc -->
57         * @generated
58         */
59        public SimucomstatusFactoryImpl() {
60                super();
61        }
62 
63        /**
64         * <!-- begin-user-doc -->
65         * <!-- end-user-doc -->
66         * @generated
67         */
68        @Override
69        public EObject create(EClass eClass) {
70                switch (eClass.getClassifierID()) {
71                        case SimucomstatusPackage.SIMU_COM_STATUS: return createSimuComStatus();
72                        case SimucomstatusPackage.SIMULATED_PROCESSES: return createSimulatedProcesses();
73                        case SimucomstatusPackage.PROCESS: return createProcess();
74                        case SimucomstatusPackage.SIMULATED_RESOURCES: return createSimulatedResources();
75                        case SimucomstatusPackage.ACTIVE_RESOUCE: return createActiveResouce();
76                        case SimucomstatusPackage.WAIT_FOR_DEMAND: return createWaitForDemand();
77                        case SimucomstatusPackage.PASSIVE_RESOURCE: return createPassiveResource();
78                        case SimucomstatusPackage.WAIT_FOR_ACQUIRE: return createWaitForAcquire();
79                        case SimucomstatusPackage.WAIT_FOR_DELAY: return createWaitForDelay();
80                        default:
81                                throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
82                }
83        }
84 
85        /**
86         * <!-- begin-user-doc -->
87         * <!-- end-user-doc -->
88         * @generated
89         */
90        public SimuComStatus createSimuComStatus() {
91                SimuComStatusImpl simuComStatus = new SimuComStatusImpl();
92                return simuComStatus;
93        }
94 
95        /**
96         * <!-- begin-user-doc -->
97         * <!-- end-user-doc -->
98         * @generated
99         */
100        public SimulatedProcesses createSimulatedProcesses() {
101                SimulatedProcessesImpl simulatedProcesses = new SimulatedProcessesImpl();
102                return simulatedProcesses;
103        }
104 
105        /**
106         * <!-- begin-user-doc -->
107         * <!-- end-user-doc -->
108         * @generated
109         */
110        public de.uka.ipd.sdq.simucomframework.simucomstatus.Process createProcess() {
111                ProcessImpl process = new ProcessImpl();
112                return process;
113        }
114 
115        /**
116         * <!-- begin-user-doc -->
117         * <!-- end-user-doc -->
118         * @generated
119         */
120        public SimulatedResources createSimulatedResources() {
121                SimulatedResourcesImpl simulatedResources = new SimulatedResourcesImpl();
122                return simulatedResources;
123        }
124 
125        /**
126         * <!-- begin-user-doc -->
127         * <!-- end-user-doc -->
128         * @generated
129         */
130        public ActiveResouce createActiveResouce() {
131                ActiveResouceImpl activeResouce = new ActiveResouceImpl();
132                return activeResouce;
133        }
134 
135        /**
136         * <!-- begin-user-doc -->
137         * <!-- end-user-doc -->
138         * @generated
139         */
140        public WaitForDemand createWaitForDemand() {
141                WaitForDemandImpl waitForDemand = new WaitForDemandImpl();
142                return waitForDemand;
143        }
144 
145        /**
146         * <!-- begin-user-doc -->
147         * <!-- end-user-doc -->
148         * @generated
149         */
150        public PassiveResource createPassiveResource() {
151                PassiveResourceImpl passiveResource = new PassiveResourceImpl();
152                return passiveResource;
153        }
154 
155        /**
156         * <!-- begin-user-doc -->
157         * <!-- end-user-doc -->
158         * @generated
159         */
160        public WaitForAcquire createWaitForAcquire() {
161                WaitForAcquireImpl waitForAcquire = new WaitForAcquireImpl();
162                return waitForAcquire;
163        }
164 
165        /**
166         * <!-- begin-user-doc -->
167         * <!-- end-user-doc -->
168         * @generated
169         */
170        public WaitForDelay createWaitForDelay() {
171                WaitForDelayImpl waitForDelay = new WaitForDelayImpl();
172                return waitForDelay;
173        }
174 
175        /**
176         * <!-- begin-user-doc -->
177         * <!-- end-user-doc -->
178         * @generated
179         */
180        public SimucomstatusPackage getSimucomstatusPackage() {
181                return (SimucomstatusPackage)getEPackage();
182        }
183 
184        /**
185         * <!-- begin-user-doc -->
186         * <!-- end-user-doc -->
187         * @deprecated
188         * @generated
189         */
190        @Deprecated
191        public static SimucomstatusPackage getPackage() {
192                return SimucomstatusPackage.eINSTANCE;
193        }
194 
195} //SimucomstatusFactoryImpl

[all classes][de.uka.ipd.sdq.simucomframework.simucomstatus.impl]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov