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

COVERAGE SUMMARY FOR SOURCE FILE [pipesandfiltersFactoryImpl.java]

nameclass, %method, %block, %line, %
pipesandfiltersFactoryImpl.java0%   (0/1)0%   (0/10)0%   (0/88)0%   (0/27)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class pipesandfiltersFactoryImpl0%   (0/1)0%   (0/10)0%   (0/88)0%   (0/27)
create (EClass): EObject 0%   (0/1)0%   (0/32)0%   (0/7)
createEDP2Writer (): EDP2Writer 0%   (0/1)0%   (0/6)0%   (0/2)
createPipesAndFiltersRepository (): PipesAndFiltersRepository 0%   (0/1)0%   (0/6)0%   (0/2)
createRawRecorder (): RawRecorder 0%   (0/1)0%   (0/6)0%   (0/2)
createSimpleWarmUpFilter (): SimpleWarmUpFilter 0%   (0/1)0%   (0/6)0%   (0/2)
createSlidingMeanRecorder (): SlidingMeanRecorder 0%   (0/1)0%   (0/6)0%   (0/2)
getPackage (): pipesandfiltersPackage 0%   (0/1)0%   (0/2)0%   (0/1)
getpipesandfiltersPackage (): pipesandfiltersPackage 0%   (0/1)0%   (0/4)0%   (0/1)
init (): pipesandfiltersFactory 0%   (0/1)0%   (0/17)0%   (0/6)
pipesandfiltersFactoryImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package de.uka.ipd.sdq.pipesandfilters.impl;
8 
9import de.uka.ipd.sdq.pipesandfilters.*;
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 pipesandfiltersFactoryImpl extends EFactoryImpl implements pipesandfiltersFactory {
26        /**
27         * Creates the default factory implementation.
28         * <!-- begin-user-doc -->
29         * <!-- end-user-doc -->
30         * @generated
31         */
32        public static pipesandfiltersFactory init() {
33                try {
34                        pipesandfiltersFactory thepipesandfiltersFactory = (pipesandfiltersFactory)EPackage.Registry.INSTANCE.getEFactory("http://sdq.ipd.uka.de/PipesAndFilters/0.1"); 
35                        if (thepipesandfiltersFactory != null) {
36                                return thepipesandfiltersFactory;
37                        }
38                }
39                catch (Exception exception) {
40                        EcorePlugin.INSTANCE.log(exception);
41                }
42                return new pipesandfiltersFactoryImpl();
43        }
44 
45        /**
46         * Creates an instance of the factory.
47         * <!-- begin-user-doc -->
48         * <!-- end-user-doc -->
49         * @generated
50         */
51        public pipesandfiltersFactoryImpl() {
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 pipesandfiltersPackage.RAW_RECORDER: return createRawRecorder();
64                        case pipesandfiltersPackage.SIMPLE_WARM_UP_FILTER: return createSimpleWarmUpFilter();
65                        case pipesandfiltersPackage.SLIDING_MEAN_RECORDER: return createSlidingMeanRecorder();
66                        case pipesandfiltersPackage.EDP2_WRITER: return createEDP2Writer();
67                        case pipesandfiltersPackage.PIPES_AND_FILTERS_REPOSITORY: return createPipesAndFiltersRepository();
68                        default:
69                                throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
70                }
71        }
72 
73        /**
74         * <!-- begin-user-doc -->
75         * <!-- end-user-doc -->
76         * @generated
77         */
78        public RawRecorder createRawRecorder() {
79                RawRecorderImpl rawRecorder = new RawRecorderImpl();
80                return rawRecorder;
81        }
82 
83        /**
84         * <!-- begin-user-doc -->
85         * <!-- end-user-doc -->
86         * @generated
87         */
88        public SimpleWarmUpFilter createSimpleWarmUpFilter() {
89                SimpleWarmUpFilterImpl simpleWarmUpFilter = new SimpleWarmUpFilterImpl();
90                return simpleWarmUpFilter;
91        }
92 
93        /**
94         * <!-- begin-user-doc -->
95         * <!-- end-user-doc -->
96         * @generated
97         */
98        public SlidingMeanRecorder createSlidingMeanRecorder() {
99                SlidingMeanRecorderImpl slidingMeanRecorder = new SlidingMeanRecorderImpl();
100                return slidingMeanRecorder;
101        }
102 
103        /**
104         * <!-- begin-user-doc -->
105         * <!-- end-user-doc -->
106         * @generated
107         */
108        public EDP2Writer createEDP2Writer() {
109                EDP2WriterImpl edp2Writer = new EDP2WriterImpl();
110                return edp2Writer;
111        }
112 
113        /**
114         * <!-- begin-user-doc -->
115         * <!-- end-user-doc -->
116         * @generated
117         */
118        public PipesAndFiltersRepository createPipesAndFiltersRepository() {
119                PipesAndFiltersRepositoryImpl pipesAndFiltersRepository = new PipesAndFiltersRepositoryImpl();
120                return pipesAndFiltersRepository;
121        }
122 
123        /**
124         * <!-- begin-user-doc -->
125         * <!-- end-user-doc -->
126         * @generated
127         */
128        public pipesandfiltersPackage getpipesandfiltersPackage() {
129                return (pipesandfiltersPackage)getEPackage();
130        }
131 
132        /**
133         * <!-- begin-user-doc -->
134         * <!-- end-user-doc -->
135         * @deprecated
136         * @generated
137         */
138        @Deprecated
139        public static pipesandfiltersPackage getPackage() {
140                return pipesandfiltersPackage.eINSTANCE;
141        }
142 
143} //pipesandfiltersFactoryImpl

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