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

COVERAGE SUMMARY FOR SOURCE FILE [ComputedUsageFactoryImpl.java]

nameclass, %method, %block, %line, %
ComputedUsageFactoryImpl.java0%   (0/1)0%   (0/13)0%   (0/115)0%   (0/36)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ComputedUsageFactoryImpl0%   (0/1)0%   (0/13)0%   (0/115)0%   (0/36)
ComputedUsageFactoryImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
create (EClass): EObject 0%   (0/1)0%   (0/41)0%   (0/10)
createBranchProbability (): BranchProbability 0%   (0/1)0%   (0/6)0%   (0/2)
createComputedUsage (): ComputedUsage 0%   (0/1)0%   (0/6)0%   (0/2)
createComputedUsageContext (): ComputedUsageContext 0%   (0/1)0%   (0/6)0%   (0/2)
createExternalCallInput (): ExternalCallInput 0%   (0/1)0%   (0/6)0%   (0/2)
createExternalCallOutput (): ExternalCallOutput 0%   (0/1)0%   (0/6)0%   (0/2)
createInput (): Input 0%   (0/1)0%   (0/6)0%   (0/2)
createLoopIteration (): LoopIteration 0%   (0/1)0%   (0/6)0%   (0/2)
createOutput (): Output 0%   (0/1)0%   (0/6)0%   (0/2)
getComputedUsagePackage (): ComputedUsagePackage 0%   (0/1)0%   (0/4)0%   (0/1)
getPackage (): ComputedUsagePackage 0%   (0/1)0%   (0/2)0%   (0/1)
init (): ComputedUsageFactory 0%   (0/1)0%   (0/17)0%   (0/6)

1/**
2 * Copyright 2006, SDQ Group, University Karlsruhe (TH)
3 *
4 * $Id$
5 */
6package de.uka.ipd.sdq.context.computed_usage.impl;
7 
8import org.eclipse.emf.ecore.EClass;
9import org.eclipse.emf.ecore.EObject;
10import org.eclipse.emf.ecore.EPackage;
11import org.eclipse.emf.ecore.impl.EFactoryImpl;
12import org.eclipse.emf.ecore.plugin.EcorePlugin;
13 
14import de.uka.ipd.sdq.context.computed_usage.BranchProbability;
15import de.uka.ipd.sdq.context.computed_usage.ComputedUsage;
16import de.uka.ipd.sdq.context.computed_usage.ComputedUsageContext;
17import de.uka.ipd.sdq.context.computed_usage.ComputedUsageFactory;
18import de.uka.ipd.sdq.context.computed_usage.ComputedUsagePackage;
19import de.uka.ipd.sdq.context.computed_usage.ExternalCallInput;
20import de.uka.ipd.sdq.context.computed_usage.ExternalCallOutput;
21import de.uka.ipd.sdq.context.computed_usage.Input;
22import de.uka.ipd.sdq.context.computed_usage.LoopIteration;
23import de.uka.ipd.sdq.context.computed_usage.Output;
24 
25/**
26 * <!-- begin-user-doc -->
27 * An implementation of the model <b>Factory</b>.
28 * <!-- end-user-doc -->
29 * @generated
30 */
31public class ComputedUsageFactoryImpl extends EFactoryImpl implements ComputedUsageFactory {
32        /**
33         * <!-- begin-user-doc -->
34         * <!-- end-user-doc -->
35         * @generated
36         */
37        public static final String copyright = "Copyright 2006, SDQ Group, University Karlsruhe (TH)";
38 
39        /**
40         * Creates the default factory implementation.
41         * <!-- begin-user-doc -->
42         * <!-- end-user-doc -->
43         * @generated
44         */
45        public static ComputedUsageFactory init() {
46                try {
47                        ComputedUsageFactory theComputedUsageFactory = (ComputedUsageFactory)EPackage.Registry.INSTANCE.getEFactory("http://sdq.ipd.uka.de/Context/Usage/1.0"); 
48                        if (theComputedUsageFactory != null) {
49                                return theComputedUsageFactory;
50                        }
51                }
52                catch (Exception exception) {
53                        EcorePlugin.INSTANCE.log(exception);
54                }
55                return new ComputedUsageFactoryImpl();
56        }
57 
58        /**
59         * Creates an instance of the factory.
60         * <!-- begin-user-doc -->
61         * <!-- end-user-doc -->
62         * @generated
63         */
64        public ComputedUsageFactoryImpl() {
65                super();
66        }
67 
68        /**
69         * <!-- begin-user-doc -->
70         * <!-- end-user-doc -->
71         * @generated
72         */
73        @Override
74        public EObject create(EClass eClass) {
75                switch (eClass.getClassifierID()) {
76                        case ComputedUsagePackage.COMPUTED_USAGE_CONTEXT: return createComputedUsageContext();
77                        case ComputedUsagePackage.BRANCH_PROBABILITY: return createBranchProbability();
78                        case ComputedUsagePackage.LOOP_ITERATION: return createLoopIteration();
79                        case ComputedUsagePackage.INPUT: return createInput();
80                        case ComputedUsagePackage.EXTERNAL_CALL_OUTPUT: return createExternalCallOutput();
81                        case ComputedUsagePackage.EXTERNAL_CALL_INPUT: return createExternalCallInput();
82                        case ComputedUsagePackage.OUTPUT: return createOutput();
83                        case ComputedUsagePackage.COMPUTED_USAGE: return createComputedUsage();
84                        default:
85                                throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
86                }
87        }
88 
89        /**
90         * <!-- begin-user-doc -->
91         * <!-- end-user-doc -->
92         * @generated
93         */
94        public ComputedUsageContext createComputedUsageContext() {
95                ComputedUsageContextImpl computedUsageContext = new ComputedUsageContextImpl();
96                return computedUsageContext;
97        }
98 
99        /**
100         * <!-- begin-user-doc -->
101         * <!-- end-user-doc -->
102         * @generated
103         */
104        public BranchProbability createBranchProbability() {
105                BranchProbabilityImpl branchProbability = new BranchProbabilityImpl();
106                return branchProbability;
107        }
108 
109        /**
110         * <!-- begin-user-doc -->
111         * <!-- end-user-doc -->
112         * @generated
113         */
114        public LoopIteration createLoopIteration() {
115                LoopIterationImpl loopIteration = new LoopIterationImpl();
116                return loopIteration;
117        }
118 
119        /**
120         * <!-- begin-user-doc -->
121         * <!-- end-user-doc -->
122         * @generated
123         */
124        public Input createInput() {
125                InputImpl input = new InputImpl();
126                return input;
127        }
128 
129        /**
130         * <!-- begin-user-doc -->
131         * <!-- end-user-doc -->
132         * @generated
133         */
134        public ExternalCallOutput createExternalCallOutput() {
135                ExternalCallOutputImpl externalCallOutput = new ExternalCallOutputImpl();
136                return externalCallOutput;
137        }
138 
139        /**
140         * <!-- begin-user-doc -->
141         * <!-- end-user-doc -->
142         * @generated
143         */
144        public ExternalCallInput createExternalCallInput() {
145                ExternalCallInputImpl externalCallInput = new ExternalCallInputImpl();
146                return externalCallInput;
147        }
148 
149        /**
150         * <!-- begin-user-doc -->
151         * <!-- end-user-doc -->
152         * @generated
153         */
154        public Output createOutput() {
155                OutputImpl output = new OutputImpl();
156                return output;
157        }
158 
159        /**
160         * <!-- begin-user-doc -->
161         * <!-- end-user-doc -->
162         * @generated
163         */
164        public ComputedUsage createComputedUsage() {
165                ComputedUsageImpl computedUsage = new ComputedUsageImpl();
166                return computedUsage;
167        }
168 
169        /**
170         * <!-- begin-user-doc -->
171         * <!-- end-user-doc -->
172         * @generated
173         */
174        public ComputedUsagePackage getComputedUsagePackage() {
175                return (ComputedUsagePackage)getEPackage();
176        }
177 
178        /**
179         * <!-- begin-user-doc -->
180         * <!-- end-user-doc -->
181         * @deprecated
182         * @generated
183         */
184        @Deprecated
185        public static ComputedUsagePackage getPackage() {
186                return ComputedUsagePackage.eINSTANCE;
187        }
188 
189} //ComputedUsageFactoryImpl

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