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

COVERAGE SUMMARY FOR SOURCE FILE [Qos_performanceFactoryImpl.java]

nameclass, %method, %block, %line, %
Qos_performanceFactoryImpl.java0%   (0/1)0%   (0/7)0%   (0/61)0%   (0/18)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class Qos_performanceFactoryImpl0%   (0/1)0%   (0/7)0%   (0/61)0%   (0/18)
Qos_performanceFactoryImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
create (EClass): EObject 0%   (0/1)0%   (0/23)0%   (0/4)
createComponentSpecifiedExecutionTime (): ComponentSpecifiedExecutionTime 0%   (0/1)0%   (0/6)0%   (0/2)
createSystemSpecifiedExecutionTime (): SystemSpecifiedExecutionTime 0%   (0/1)0%   (0/6)0%   (0/2)
getPackage (): Qos_performancePackage 0%   (0/1)0%   (0/2)0%   (0/1)
getQos_performancePackage (): Qos_performancePackage 0%   (0/1)0%   (0/4)0%   (0/1)
init (): Qos_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.qosannotations.qos_performance.impl;
7 
8import de.uka.ipd.sdq.pcm.qosannotations.qos_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.qosannotations.qos_performance.ComponentSpecifiedExecutionTime;
16import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.Qos_performanceFactory;
17import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.Qos_performancePackage;
18import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.SystemSpecifiedExecutionTime;
19 
20/**
21 * <!-- begin-user-doc -->
22 * An implementation of the model <b>Factory</b>.
23 * <!-- end-user-doc -->
24 * @generated
25 */
26public class Qos_performanceFactoryImpl extends EFactoryImpl implements Qos_performanceFactory {
27        /**
28         * <!-- begin-user-doc -->
29         * <!-- end-user-doc -->
30         * @generated
31         */
32        public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany";
33 
34        /**
35         * Creates the default factory implementation.
36         * <!-- begin-user-doc -->
37         * <!-- end-user-doc -->
38         * @generated
39         */
40        public static Qos_performanceFactory init() {
41                try {
42                        Qos_performanceFactory theQos_performanceFactory = (Qos_performanceFactory)EPackage.Registry.INSTANCE.getEFactory("http://sdq.ipd.uka.de/PalladioComponentModel/QoSAnnotations/QoS_Performance/4.0"); 
43                        if (theQos_performanceFactory != null) {
44                                return theQos_performanceFactory;
45                        }
46                }
47                catch (Exception exception) {
48                        EcorePlugin.INSTANCE.log(exception);
49                }
50                return new Qos_performanceFactoryImpl();
51        }
52 
53        /**
54         * Creates an instance of the factory.
55         * <!-- begin-user-doc -->
56         * <!-- end-user-doc -->
57         * @generated
58         */
59        public Qos_performanceFactoryImpl() {
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 Qos_performancePackage.SYSTEM_SPECIFIED_EXECUTION_TIME: return createSystemSpecifiedExecutionTime();
72                        case Qos_performancePackage.COMPONENT_SPECIFIED_EXECUTION_TIME: return createComponentSpecifiedExecutionTime();
73                        default:
74                                throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
75                }
76        }
77 
78        /**
79         * <!-- begin-user-doc -->
80         * <!-- end-user-doc -->
81         * @generated
82         */
83        public SystemSpecifiedExecutionTime createSystemSpecifiedExecutionTime() {
84                SystemSpecifiedExecutionTimeImpl systemSpecifiedExecutionTime = new SystemSpecifiedExecutionTimeImpl();
85                return systemSpecifiedExecutionTime;
86        }
87 
88        /**
89         * <!-- begin-user-doc -->
90         * <!-- end-user-doc -->
91         * @generated
92         */
93        public ComponentSpecifiedExecutionTime createComponentSpecifiedExecutionTime() {
94                ComponentSpecifiedExecutionTimeImpl componentSpecifiedExecutionTime = new ComponentSpecifiedExecutionTimeImpl();
95                return componentSpecifiedExecutionTime;
96        }
97 
98        /**
99         * <!-- begin-user-doc -->
100         * <!-- end-user-doc -->
101         * @generated
102         */
103        public Qos_performancePackage getQos_performancePackage() {
104                return (Qos_performancePackage)getEPackage();
105        }
106 
107        /**
108         * <!-- begin-user-doc -->
109         * <!-- end-user-doc -->
110         * @deprecated
111         * @generated
112         */
113        @Deprecated
114        public static Qos_performancePackage getPackage() {
115                return Qos_performancePackage.eINSTANCE;
116        }
117 
118} //Qos_performanceFactoryImpl

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