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

COVERAGE SUMMARY FOR SOURCE FILE [QMLProfileFactoryImpl.java]

nameclass, %method, %block, %line, %
QMLProfileFactoryImpl.java0%   (0/1)0%   (0/9)0%   (0/79)0%   (0/24)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class QMLProfileFactoryImpl0%   (0/1)0%   (0/9)0%   (0/79)0%   (0/24)
QMLProfileFactoryImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
create (EClass): EObject 0%   (0/1)0%   (0/29)0%   (0/6)
createEntryLevelSystemCallRequirement (): EntryLevelSystemCallRequirement 0%   (0/1)0%   (0/6)0%   (0/2)
createRefinedQMLProfile (): RefinedQMLProfile 0%   (0/1)0%   (0/6)0%   (0/2)
createSimpleQMLProfile (): SimpleQMLProfile 0%   (0/1)0%   (0/6)0%   (0/2)
createUsageScenarioRequirement (): UsageScenarioRequirement 0%   (0/1)0%   (0/6)0%   (0/2)
getPackage (): QMLProfilePackage 0%   (0/1)0%   (0/2)0%   (0/1)
getQMLProfilePackage (): QMLProfilePackage 0%   (0/1)0%   (0/4)0%   (0/1)
init (): QMLProfileFactory 0%   (0/1)0%   (0/17)0%   (0/6)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.impl;
8 
9import de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.*;
10 
11import org.eclipse.emf.ecore.EClass;
12import org.eclipse.emf.ecore.EObject;
13import org.eclipse.emf.ecore.EPackage;
14 
15import org.eclipse.emf.ecore.impl.EFactoryImpl;
16 
17import org.eclipse.emf.ecore.plugin.EcorePlugin;
18 
19/**
20 * <!-- begin-user-doc -->
21 * An implementation of the model <b>Factory</b>.
22 * <!-- end-user-doc -->
23 * @generated
24 */
25public class QMLProfileFactoryImpl extends EFactoryImpl implements QMLProfileFactory {
26        /**
27         * Creates the default factory implementation.
28         * <!-- begin-user-doc -->
29         * <!-- end-user-doc -->
30         * @generated
31         */
32        public static QMLProfileFactory init() {
33                try {
34                        QMLProfileFactory theQMLProfileFactory = (QMLProfileFactory)EPackage.Registry.INSTANCE.getEFactory("http:///QMLProfile.ecore"); 
35                        if (theQMLProfileFactory != null) {
36                                return theQMLProfileFactory;
37                        }
38                }
39                catch (Exception exception) {
40                        EcorePlugin.INSTANCE.log(exception);
41                }
42                return new QMLProfileFactoryImpl();
43        }
44 
45        /**
46         * Creates an instance of the factory.
47         * <!-- begin-user-doc -->
48         * <!-- end-user-doc -->
49         * @generated
50         */
51        public QMLProfileFactoryImpl() {
52                super();
53        }
54 
55        /**
56         * <!-- begin-user-doc -->
57         * <!-- end-user-doc -->
58         * @generated
59         */
60        @Override
61        public EObject create(EClass eClass) {
62                switch (eClass.getClassifierID()) {
63                        case QMLProfilePackage.SIMPLE_QML_PROFILE: return createSimpleQMLProfile();
64                        case QMLProfilePackage.REFINED_QML_PROFILE: return createRefinedQMLProfile();
65                        case QMLProfilePackage.USAGE_SCENARIO_REQUIREMENT: return createUsageScenarioRequirement();
66                        case QMLProfilePackage.ENTRY_LEVEL_SYSTEM_CALL_REQUIREMENT: return createEntryLevelSystemCallRequirement();
67                        default:
68                                throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
69                }
70        }
71 
72        /**
73         * <!-- begin-user-doc -->
74         * <!-- end-user-doc -->
75         * @generated
76         */
77        public SimpleQMLProfile createSimpleQMLProfile() {
78                SimpleQMLProfileImpl simpleQMLProfile = new SimpleQMLProfileImpl();
79                return simpleQMLProfile;
80        }
81 
82        /**
83         * <!-- begin-user-doc -->
84         * <!-- end-user-doc -->
85         * @generated
86         */
87        public RefinedQMLProfile createRefinedQMLProfile() {
88                RefinedQMLProfileImpl refinedQMLProfile = new RefinedQMLProfileImpl();
89                return refinedQMLProfile;
90        }
91 
92        /**
93         * <!-- begin-user-doc -->
94         * <!-- end-user-doc -->
95         * @generated
96         */
97        public UsageScenarioRequirement createUsageScenarioRequirement() {
98                UsageScenarioRequirementImpl usageScenarioRequirement = new UsageScenarioRequirementImpl();
99                return usageScenarioRequirement;
100        }
101 
102        /**
103         * <!-- begin-user-doc -->
104         * <!-- end-user-doc -->
105         * @generated
106         */
107        public EntryLevelSystemCallRequirement createEntryLevelSystemCallRequirement() {
108                EntryLevelSystemCallRequirementImpl entryLevelSystemCallRequirement = new EntryLevelSystemCallRequirementImpl();
109                return entryLevelSystemCallRequirement;
110        }
111 
112        /**
113         * <!-- begin-user-doc -->
114         * <!-- end-user-doc -->
115         * @generated
116         */
117        public QMLProfilePackage getQMLProfilePackage() {
118                return (QMLProfilePackage)getEPackage();
119        }
120 
121        /**
122         * <!-- begin-user-doc -->
123         * <!-- end-user-doc -->
124         * @deprecated
125         * @generated
126         */
127        @Deprecated
128        public static QMLProfilePackage getPackage() {
129                return QMLProfilePackage.eINSTANCE;
130        }
131 
132} //QMLProfileFactoryImpl

[all classes][de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.impl]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov