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

COVERAGE SUMMARY FOR SOURCE FILE [RepositorydecoratorFactoryImpl.java]

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

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class RepositorydecoratorFactoryImpl0%   (0/1)0%   (0/8)0%   (0/70)0%   (0/21)
RepositorydecoratorFactoryImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
create (EClass): EObject 0%   (0/1)0%   (0/26)0%   (0/5)
createAllocationContextResults (): AllocationContextResults 0%   (0/1)0%   (0/6)0%   (0/2)
createAllocationServiceResult (): AllocationServiceResult 0%   (0/1)0%   (0/6)0%   (0/2)
createInterfaceProvidingRequiringEntityResults (): InterfaceProvidingRequirin... 0%   (0/1)0%   (0/6)0%   (0/2)
getPackage (): RepositorydecoratorPackage 0%   (0/1)0%   (0/2)0%   (0/1)
getRepositorydecoratorPackage (): RepositorydecoratorPackage 0%   (0/1)0%   (0/4)0%   (0/1)
init (): RepositorydecoratorFactory 0%   (0/1)0%   (0/17)0%   (0/6)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package de.uka.ipd.sdq.pcm.resultdecorator.repositorydecorator.impl;
8 
9import de.uka.ipd.sdq.pcm.resultdecorator.repositorydecorator.*;
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 RepositorydecoratorFactoryImpl extends EFactoryImpl implements RepositorydecoratorFactory {
26        /**
27         * Creates the default factory implementation.
28         * <!-- begin-user-doc -->
29         * <!-- end-user-doc -->
30         * @generated
31         */
32        public static RepositorydecoratorFactory init() {
33                try {
34                        RepositorydecoratorFactory theRepositorydecoratorFactory = (RepositorydecoratorFactory)EPackage.Registry.INSTANCE.getEFactory("http://sdq.ipd.uka.de/ResultDecorator/Repository/1.0"); 
35                        if (theRepositorydecoratorFactory != null) {
36                                return theRepositorydecoratorFactory;
37                        }
38                }
39                catch (Exception exception) {
40                        EcorePlugin.INSTANCE.log(exception);
41                }
42                return new RepositorydecoratorFactoryImpl();
43        }
44 
45        /**
46         * Creates an instance of the factory.
47         * <!-- begin-user-doc -->
48         * <!-- end-user-doc -->
49         * @generated
50         */
51        public RepositorydecoratorFactoryImpl() {
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 RepositorydecoratorPackage.INTERFACE_PROVIDING_REQUIRING_ENTITY_RESULTS: return createInterfaceProvidingRequiringEntityResults();
64                        case RepositorydecoratorPackage.ALLOCATION_CONTEXT_RESULTS: return createAllocationContextResults();
65                        case RepositorydecoratorPackage.ALLOCATION_SERVICE_RESULT: return createAllocationServiceResult();
66                        default:
67                                throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
68                }
69        }
70 
71        /**
72         * <!-- begin-user-doc -->
73         * <!-- end-user-doc -->
74         * @generated
75         */
76        public InterfaceProvidingRequiringEntityResults createInterfaceProvidingRequiringEntityResults() {
77                InterfaceProvidingRequiringEntityResultsImpl interfaceProvidingRequiringEntityResults = new InterfaceProvidingRequiringEntityResultsImpl();
78                return interfaceProvidingRequiringEntityResults;
79        }
80 
81        /**
82         * <!-- begin-user-doc -->
83         * <!-- end-user-doc -->
84         * @generated
85         */
86        public AllocationContextResults createAllocationContextResults() {
87                AllocationContextResultsImpl allocationContextResults = new AllocationContextResultsImpl();
88                return allocationContextResults;
89        }
90 
91        /**
92         * <!-- begin-user-doc -->
93         * <!-- end-user-doc -->
94         * @generated
95         */
96        public AllocationServiceResult createAllocationServiceResult() {
97                AllocationServiceResultImpl allocationServiceResult = new AllocationServiceResultImpl();
98                return allocationServiceResult;
99        }
100 
101        /**
102         * <!-- begin-user-doc -->
103         * <!-- end-user-doc -->
104         * @generated
105         */
106        public RepositorydecoratorPackage getRepositorydecoratorPackage() {
107                return (RepositorydecoratorPackage)getEPackage();
108        }
109 
110        /**
111         * <!-- begin-user-doc -->
112         * <!-- end-user-doc -->
113         * @deprecated
114         * @generated
115         */
116        @Deprecated
117        public static RepositorydecoratorPackage getPackage() {
118                return RepositorydecoratorPackage.eINSTANCE;
119        }
120 
121} //RepositorydecoratorFactoryImpl

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