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

COVERAGE SUMMARY FOR SOURCE FILE [resourcerepositoryFactoryImpl.java]

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

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class resourcerepositoryFactoryImpl0%   (0/1)0%   (0/7)0%   (0/61)0%   (0/18)
create (EClass): EObject 0%   (0/1)0%   (0/23)0%   (0/4)
createResourceDescription (): ResourceDescription 0%   (0/1)0%   (0/6)0%   (0/2)
createResourceDescriptionRepository (): ResourceDescriptionRepository 0%   (0/1)0%   (0/6)0%   (0/2)
getPackage (): resourcerepositoryPackage 0%   (0/1)0%   (0/2)0%   (0/1)
getresourcerepositoryPackage (): resourcerepositoryPackage 0%   (0/1)0%   (0/4)0%   (0/1)
init (): resourcerepositoryFactory 0%   (0/1)0%   (0/17)0%   (0/6)
resourcerepositoryFactoryImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package de.uka.ipd.sdq.pcm.resourcerepository.impl;
8 
9import de.uka.ipd.sdq.pcm.resourcerepository.*;
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 resourcerepositoryFactoryImpl extends EFactoryImpl implements resourcerepositoryFactory {
26        /**
27         * Creates the default factory implementation.
28         * <!-- begin-user-doc -->
29         * <!-- end-user-doc -->
30         * @generated
31         */
32        public static resourcerepositoryFactory init() {
33                try {
34                        resourcerepositoryFactory theresourcerepositoryFactory = (resourcerepositoryFactory)EPackage.Registry.INSTANCE.getEFactory("http://sdq.ipd.uka.de/DesignDecision/ResourceRepository/2.0"); 
35                        if (theresourcerepositoryFactory != null) {
36                                return theresourcerepositoryFactory;
37                        }
38                }
39                catch (Exception exception) {
40                        EcorePlugin.INSTANCE.log(exception);
41                }
42                return new resourcerepositoryFactoryImpl();
43        }
44 
45        /**
46         * Creates an instance of the factory.
47         * <!-- begin-user-doc -->
48         * <!-- end-user-doc -->
49         * @generated
50         */
51        public resourcerepositoryFactoryImpl() {
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 resourcerepositoryPackage.RESOURCE_DESCRIPTION_REPOSITORY: return createResourceDescriptionRepository();
64                        case resourcerepositoryPackage.RESOURCE_DESCRIPTION: return createResourceDescription();
65                        default:
66                                throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
67                }
68        }
69 
70        /**
71         * <!-- begin-user-doc -->
72         * <!-- end-user-doc -->
73         * @generated
74         */
75        public ResourceDescriptionRepository createResourceDescriptionRepository() {
76                ResourceDescriptionRepositoryImpl resourceDescriptionRepository = new ResourceDescriptionRepositoryImpl();
77                return resourceDescriptionRepository;
78        }
79 
80        /**
81         * <!-- begin-user-doc -->
82         * <!-- end-user-doc -->
83         * @generated
84         */
85        public ResourceDescription createResourceDescription() {
86                ResourceDescriptionImpl resourceDescription = new ResourceDescriptionImpl();
87                return resourceDescription;
88        }
89 
90        /**
91         * <!-- begin-user-doc -->
92         * <!-- end-user-doc -->
93         * @generated
94         */
95        public resourcerepositoryPackage getresourcerepositoryPackage() {
96                return (resourcerepositoryPackage)getEPackage();
97        }
98 
99        /**
100         * <!-- begin-user-doc -->
101         * <!-- end-user-doc -->
102         * @deprecated
103         * @generated
104         */
105        @Deprecated
106        public static resourcerepositoryPackage getPackage() {
107                return resourcerepositoryPackage.eINSTANCE;
108        }
109 
110} //resourcerepositoryFactoryImpl

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