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

COVERAGE SUMMARY FOR SOURCE FILE [Seff_performanceFactoryImpl.java]

nameclass, %method, %block, %line, %
Seff_performanceFactoryImpl.java0%   (0/1)0%   (0/8)0%   (0/70)0%   (0/21)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class Seff_performanceFactoryImpl0%   (0/1)0%   (0/8)0%   (0/70)0%   (0/21)
Seff_performanceFactoryImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
create (EClass): EObject 0%   (0/1)0%   (0/26)0%   (0/5)
createInfrastructureCall (): InfrastructureCall 0%   (0/1)0%   (0/6)0%   (0/2)
createParametricResourceDemand (): ParametricResourceDemand 0%   (0/1)0%   (0/6)0%   (0/2)
createResourceCall (): ResourceCall 0%   (0/1)0%   (0/6)0%   (0/2)
getPackage (): Seff_performancePackage 0%   (0/1)0%   (0/2)0%   (0/1)
getSeff_performancePackage (): Seff_performancePackage 0%   (0/1)0%   (0/4)0%   (0/1)
init (): Seff_performanceFactory 0%   (0/1)0%   (0/17)0%   (0/6)

1/**
2 * Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany
3 *
4 * $Id$
5 */
6package de.uka.ipd.sdq.pcm.seff.seff_performance.impl;
7 
8import de.uka.ipd.sdq.pcm.seff.seff_performance.*;
9import org.eclipse.emf.ecore.EClass;
10import org.eclipse.emf.ecore.EObject;
11import org.eclipse.emf.ecore.EPackage;
12import org.eclipse.emf.ecore.impl.EFactoryImpl;
13import org.eclipse.emf.ecore.plugin.EcorePlugin;
14 
15import de.uka.ipd.sdq.pcm.seff.seff_performance.InfrastructureCall;
16import de.uka.ipd.sdq.pcm.seff.seff_performance.ParametricResourceDemand;
17import de.uka.ipd.sdq.pcm.seff.seff_performance.ResourceCall;
18import de.uka.ipd.sdq.pcm.seff.seff_performance.Seff_performanceFactory;
19import de.uka.ipd.sdq.pcm.seff.seff_performance.Seff_performancePackage;
20 
21/**
22 * <!-- begin-user-doc -->
23 * An implementation of the model <b>Factory</b>.
24 * <!-- end-user-doc -->
25 * @generated
26 */
27public class Seff_performanceFactoryImpl extends EFactoryImpl implements Seff_performanceFactory {
28        /**
29         * <!-- begin-user-doc -->
30         * <!-- end-user-doc -->
31         * @generated
32         */
33        public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany";
34 
35        /**
36         * Creates the default factory implementation.
37         * <!-- begin-user-doc -->
38         * <!-- end-user-doc -->
39         * @generated
40         */
41        public static Seff_performanceFactory init() {
42                try {
43                        Seff_performanceFactory theSeff_performanceFactory = (Seff_performanceFactory)EPackage.Registry.INSTANCE.getEFactory("http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/SEFF_Performance/1.0"); 
44                        if (theSeff_performanceFactory != null) {
45                                return theSeff_performanceFactory;
46                        }
47                }
48                catch (Exception exception) {
49                        EcorePlugin.INSTANCE.log(exception);
50                }
51                return new Seff_performanceFactoryImpl();
52        }
53 
54        /**
55         * Creates an instance of the factory.
56         * <!-- begin-user-doc -->
57         * <!-- end-user-doc -->
58         * @generated
59         */
60        public Seff_performanceFactoryImpl() {
61                super();
62        }
63 
64        /**
65         * <!-- begin-user-doc -->
66         * <!-- end-user-doc -->
67         * @generated
68         */
69        @Override
70        public EObject create(EClass eClass) {
71                switch (eClass.getClassifierID()) {
72                        case Seff_performancePackage.INFRASTRUCTURE_CALL: return createInfrastructureCall();
73                        case Seff_performancePackage.RESOURCE_CALL: return createResourceCall();
74                        case Seff_performancePackage.PARAMETRIC_RESOURCE_DEMAND: return createParametricResourceDemand();
75                        default:
76                                throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
77                }
78        }
79 
80        /**
81         * <!-- begin-user-doc -->
82         * <!-- end-user-doc -->
83         * @generated
84         */
85        public InfrastructureCall createInfrastructureCall() {
86                InfrastructureCallImpl infrastructureCall = new InfrastructureCallImpl();
87                return infrastructureCall;
88        }
89 
90        /**
91         * <!-- begin-user-doc -->
92         * <!-- end-user-doc -->
93         * @generated
94         */
95        public ResourceCall createResourceCall() {
96                ResourceCallImpl resourceCall = new ResourceCallImpl();
97                return resourceCall;
98        }
99 
100        /**
101         * <!-- begin-user-doc -->
102         * <!-- end-user-doc -->
103         * @generated
104         */
105        public ParametricResourceDemand createParametricResourceDemand() {
106                ParametricResourceDemandImpl parametricResourceDemand = new ParametricResourceDemandImpl();
107                return parametricResourceDemand;
108        }
109 
110        /**
111         * <!-- begin-user-doc -->
112         * <!-- end-user-doc -->
113         * @generated
114         */
115        public Seff_performancePackage getSeff_performancePackage() {
116                return (Seff_performancePackage)getEPackage();
117        }
118 
119        /**
120         * <!-- begin-user-doc -->
121         * <!-- end-user-doc -->
122         * @deprecated
123         * @generated
124         */
125        @Deprecated
126        public static Seff_performancePackage getPackage() {
127                return Seff_performancePackage.eINSTANCE;
128        }
129 
130} //Seff_performanceFactoryImpl

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