EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.fzi.se.quality.impl]

COVERAGE SUMMARY FOR SOURCE FILE [QualityFactoryImpl.java]

nameclass, %method, %block, %line, %
QualityFactoryImpl.java0%   (0/1)0%   (0/6)0%   (0/52)0%   (0/15)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class QualityFactoryImpl0%   (0/1)0%   (0/6)0%   (0/52)0%   (0/15)
QualityFactoryImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
create (EClass): EObject 0%   (0/1)0%   (0/20)0%   (0/3)
createQualityRepository (): QualityRepository 0%   (0/1)0%   (0/6)0%   (0/2)
getPackage (): QualityPackage 0%   (0/1)0%   (0/2)0%   (0/1)
getQualityPackage (): QualityPackage 0%   (0/1)0%   (0/4)0%   (0/1)
init (): QualityFactory 0%   (0/1)0%   (0/17)0%   (0/6)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package de.fzi.se.quality.impl;
8 
9import de.fzi.se.quality.*;
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 QualityFactoryImpl extends EFactoryImpl implements QualityFactory {
26        /**
27         * Creates the default factory implementation.
28         * <!-- begin-user-doc -->
29         * <!-- end-user-doc -->
30         * @generated
31         */
32        public static QualityFactory init() {
33                try {
34                        QualityFactory theQualityFactory = (QualityFactory)EPackage.Registry.INSTANCE.getEFactory("http://fzi.de/PalladioComponentModel/Quality/0.2"); 
35                        if (theQualityFactory != null) {
36                                return theQualityFactory;
37                        }
38                }
39                catch (Exception exception) {
40                        EcorePlugin.INSTANCE.log(exception);
41                }
42                return new QualityFactoryImpl();
43        }
44 
45        /**
46         * Creates an instance of the factory.
47         * <!-- begin-user-doc -->
48         * <!-- end-user-doc -->
49         * @generated
50         */
51        public QualityFactoryImpl() {
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 QualityPackage.QUALITY_REPOSITORY: return createQualityRepository();
64                        default:
65                                throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
66                }
67        }
68 
69        /**
70         * <!-- begin-user-doc -->
71         * <!-- end-user-doc -->
72         * @generated
73         */
74        public QualityRepository createQualityRepository() {
75                QualityRepositoryImpl qualityRepository = new QualityRepositoryImpl();
76                return qualityRepository;
77        }
78 
79        /**
80         * <!-- begin-user-doc -->
81         * <!-- end-user-doc -->
82         * @generated
83         */
84        public QualityPackage getQualityPackage() {
85                return (QualityPackage)getEPackage();
86        }
87 
88        /**
89         * <!-- begin-user-doc -->
90         * <!-- end-user-doc -->
91         * @deprecated
92         * @generated
93         */
94        @Deprecated
95        public static QualityPackage getPackage() {
96                return QualityPackage.eINSTANCE;
97        }
98 
99} //QualityFactoryImpl

[all classes][de.fzi.se.quality.impl]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov