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

COVERAGE SUMMARY FOR SOURCE FILE [designdecisionFactoryImpl.java]

nameclass, %method, %block, %line, %
designdecisionFactoryImpl.java0%   (0/1)0%   (0/34)0%   (0/304)0%   (0/99)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class designdecisionFactoryImpl0%   (0/1)0%   (0/34)0%   (0/304)0%   (0/99)
create (EClass): EObject 0%   (0/1)0%   (0/104)0%   (0/31)
createAllocationDegree (): AllocationDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createAssembledComponentDegree (): AssembledComponentDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createCandidate (): Candidate 0%   (0/1)0%   (0/6)0%   (0/2)
createCandidates (): Candidates 0%   (0/1)0%   (0/6)0%   (0/2)
createCapacityDegree (): CapacityDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createClassAsReferenceDegree (): ClassAsReferenceDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createClassChoice (): ClassChoice 0%   (0/1)0%   (0/6)0%   (0/2)
createContinousRangeChoice (): ContinousRangeChoice 0%   (0/1)0%   (0/6)0%   (0/2)
createContinuousComponentParamDegree (): ContinuousComponentParamDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createContinuousProcessingRateDegree (): ContinuousProcessingRateDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createContinuousRangeDegree (): ContinuousRangeDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createDecisionSpace (): DecisionSpace 0%   (0/1)0%   (0/6)0%   (0/2)
createDiscreteComponentParamDegree (): DiscreteComponentParamDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createDiscreteProcessingRateDegree (): DiscreteProcessingRateDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createDiscreteRangeChoice (): DiscreteRangeChoice 0%   (0/1)0%   (0/6)0%   (0/2)
createDiscreteRangeDegree (): DiscreteRangeDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createExchangeComponentRule (): ExchangeComponentRule 0%   (0/1)0%   (0/6)0%   (0/2)
createFeatureGroupDegree (): FeatureGroupDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createFeatureSubset (): FeatureSubset 0%   (0/1)0%   (0/6)0%   (0/2)
createNumberOfCoresAsListDegree (): NumberOfCoresAsListDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createNumberOfCoresAsRangeDegree (): NumberOfCoresAsRangeDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createOptionalFeatureDegree (): OptionalFeatureDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createOrderedIntegerDegree (): OrderedIntegerDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createResourceContainerReplicationDegree (): ResourceContainerReplicationDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createResourceContainerReplicationDegreeWithComponentChange (): ResourceConta... 0%   (0/1)0%   (0/6)0%   (0/2)
createResourceSelectionDegree (): ResourceSelectionDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createSchedulingPolicyChoice (): SchedulingPolicyChoice 0%   (0/1)0%   (0/6)0%   (0/2)
createSchedulingPolicyDegree (): SchedulingPolicyDegree 0%   (0/1)0%   (0/6)0%   (0/2)
createStringComponentParamDegree (): StringComponentParamDegree 0%   (0/1)0%   (0/6)0%   (0/2)
designdecisionFactoryImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
getPackage (): designdecisionPackage 0%   (0/1)0%   (0/2)0%   (0/1)
getdesigndecisionPackage (): designdecisionPackage 0%   (0/1)0%   (0/4)0%   (0/1)
init (): designdecisionFactory 0%   (0/1)0%   (0/17)0%   (0/6)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package de.uka.ipd.sdq.pcm.designdecision.impl;
8 
9import de.uka.ipd.sdq.pcm.designdecision.*;
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 designdecisionFactoryImpl extends EFactoryImpl implements designdecisionFactory {
26        /**
27         * Creates the default factory implementation.
28         * <!-- begin-user-doc -->
29         * <!-- end-user-doc -->
30         * @generated
31         */
32        public static designdecisionFactory init() {
33                try {
34                        designdecisionFactory thedesigndecisionFactory = (designdecisionFactory)EPackage.Registry.INSTANCE.getEFactory("http://sdq.ipd.uka.de/DesignDecision/2.0"); 
35                        if (thedesigndecisionFactory != null) {
36                                return thedesigndecisionFactory;
37                        }
38                }
39                catch (Exception exception) {
40                        EcorePlugin.INSTANCE.log(exception);
41                }
42                return new designdecisionFactoryImpl();
43        }
44 
45        /**
46         * Creates an instance of the factory.
47         * <!-- begin-user-doc -->
48         * <!-- end-user-doc -->
49         * @generated
50         */
51        public designdecisionFactoryImpl() {
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 designdecisionPackage.CLASS_CHOICE: return createClassChoice();
64                        case designdecisionPackage.CONTINOUS_RANGE_CHOICE: return createContinousRangeChoice();
65                        case designdecisionPackage.CONTINUOUS_PROCESSING_RATE_DEGREE: return createContinuousProcessingRateDegree();
66                        case designdecisionPackage.CONTINUOUS_RANGE_DEGREE: return createContinuousRangeDegree();
67                        case designdecisionPackage.ALLOCATION_DEGREE: return createAllocationDegree();
68                        case designdecisionPackage.CLASS_AS_REFERENCE_DEGREE: return createClassAsReferenceDegree();
69                        case designdecisionPackage.ASSEMBLED_COMPONENT_DEGREE: return createAssembledComponentDegree();
70                        case designdecisionPackage.DISCRETE_RANGE_DEGREE: return createDiscreteRangeDegree();
71                        case designdecisionPackage.DISCRETE_RANGE_CHOICE: return createDiscreteRangeChoice();
72                        case designdecisionPackage.RESOURCE_CONTAINER_REPLICATION_DEGREE: return createResourceContainerReplicationDegree();
73                        case designdecisionPackage.DECISION_SPACE: return createDecisionSpace();
74                        case designdecisionPackage.CANDIDATE: return createCandidate();
75                        case designdecisionPackage.CANDIDATES: return createCandidates();
76                        case designdecisionPackage.FEATURE_GROUP_DEGREE: return createFeatureGroupDegree();
77                        case designdecisionPackage.FEATURE_SUBSET: return createFeatureSubset();
78                        case designdecisionPackage.OPTIONAL_FEATURE_DEGREE: return createOptionalFeatureDegree();
79                        case designdecisionPackage.DISCRETE_PROCESSING_RATE_DEGREE: return createDiscreteProcessingRateDegree();
80                        case designdecisionPackage.CAPACITY_DEGREE: return createCapacityDegree();
81                        case designdecisionPackage.SCHEDULING_POLICY_DEGREE: return createSchedulingPolicyDegree();
82                        case designdecisionPackage.SCHEDULING_POLICY_CHOICE: return createSchedulingPolicyChoice();
83                        case designdecisionPackage.RESOURCE_SELECTION_DEGREE: return createResourceSelectionDegree();
84                        case designdecisionPackage.DISCRETE_COMPONENT_PARAM_DEGREE: return createDiscreteComponentParamDegree();
85                        case designdecisionPackage.CONTINUOUS_COMPONENT_PARAM_DEGREE: return createContinuousComponentParamDegree();
86                        case designdecisionPackage.STRING_COMPONENT_PARAM_DEGREE: return createStringComponentParamDegree();
87                        case designdecisionPackage.NUMBER_OF_CORES_AS_RANGE_DEGREE: return createNumberOfCoresAsRangeDegree();
88                        case designdecisionPackage.RESOURCE_CONTAINER_REPLICATION_DEGREE_WITH_COMPONENT_CHANGE: return createResourceContainerReplicationDegreeWithComponentChange();
89                        case designdecisionPackage.EXCHANGE_COMPONENT_RULE: return createExchangeComponentRule();
90                        case designdecisionPackage.ORDERED_INTEGER_DEGREE: return createOrderedIntegerDegree();
91                        case designdecisionPackage.NUMBER_OF_CORES_AS_LIST_DEGREE: return createNumberOfCoresAsListDegree();
92                        default:
93                                throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
94                }
95        }
96 
97        /**
98         * <!-- begin-user-doc -->
99         * <!-- end-user-doc -->
100         * @generated
101         */
102        public ClassChoice createClassChoice() {
103                ClassChoiceImpl classChoice = new ClassChoiceImpl();
104                return classChoice;
105        }
106 
107        /**
108         * <!-- begin-user-doc -->
109         * <!-- end-user-doc -->
110         * @generated
111         */
112        public ContinousRangeChoice createContinousRangeChoice() {
113                ContinousRangeChoiceImpl continousRangeChoice = new ContinousRangeChoiceImpl();
114                return continousRangeChoice;
115        }
116 
117        /**
118         * <!-- begin-user-doc -->
119         * <!-- end-user-doc -->
120         * @generated
121         */
122        public ContinuousProcessingRateDegree createContinuousProcessingRateDegree() {
123                ContinuousProcessingRateDegreeImpl continuousProcessingRateDegree = new ContinuousProcessingRateDegreeImpl();
124                return continuousProcessingRateDegree;
125        }
126 
127        /**
128         * <!-- begin-user-doc -->
129         * <!-- end-user-doc -->
130         * @generated
131         */
132        public ContinuousRangeDegree createContinuousRangeDegree() {
133                ContinuousRangeDegreeImpl continuousRangeDegree = new ContinuousRangeDegreeImpl();
134                return continuousRangeDegree;
135        }
136 
137        /**
138         * <!-- begin-user-doc -->
139         * <!-- end-user-doc -->
140         * @generated
141         */
142        public AllocationDegree createAllocationDegree() {
143                AllocationDegreeImpl allocationDegree = new AllocationDegreeImpl();
144                return allocationDegree;
145        }
146 
147        /**
148         * <!-- begin-user-doc -->
149         * <!-- end-user-doc -->
150         * @generated
151         */
152        public ClassAsReferenceDegree createClassAsReferenceDegree() {
153                ClassAsReferenceDegreeImpl classAsReferenceDegree = new ClassAsReferenceDegreeImpl();
154                return classAsReferenceDegree;
155        }
156 
157        /**
158         * <!-- begin-user-doc -->
159         * <!-- end-user-doc -->
160         * @generated
161         */
162        public AssembledComponentDegree createAssembledComponentDegree() {
163                AssembledComponentDegreeImpl assembledComponentDegree = new AssembledComponentDegreeImpl();
164                return assembledComponentDegree;
165        }
166 
167        /**
168         * <!-- begin-user-doc -->
169         * <!-- end-user-doc -->
170         * @generated
171         */
172        public DiscreteRangeDegree createDiscreteRangeDegree() {
173                DiscreteRangeDegreeImpl discreteRangeDegree = new DiscreteRangeDegreeImpl();
174                return discreteRangeDegree;
175        }
176 
177        /**
178         * <!-- begin-user-doc -->
179         * <!-- end-user-doc -->
180         * @generated
181         */
182        public DiscreteRangeChoice createDiscreteRangeChoice() {
183                DiscreteRangeChoiceImpl discreteRangeChoice = new DiscreteRangeChoiceImpl();
184                return discreteRangeChoice;
185        }
186 
187        /**
188         * <!-- begin-user-doc -->
189         * <!-- end-user-doc -->
190         * @generated
191         */
192        public ResourceContainerReplicationDegree createResourceContainerReplicationDegree() {
193                ResourceContainerReplicationDegreeImpl resourceContainerReplicationDegree = new ResourceContainerReplicationDegreeImpl();
194                return resourceContainerReplicationDegree;
195        }
196 
197        /**
198         * <!-- begin-user-doc -->
199         * <!-- end-user-doc -->
200         * @generated
201         */
202        public DecisionSpace createDecisionSpace() {
203                DecisionSpaceImpl decisionSpace = new DecisionSpaceImpl();
204                return decisionSpace;
205        }
206 
207        /**
208         * <!-- begin-user-doc -->
209         * <!-- end-user-doc -->
210         * @generated
211         */
212        public Candidate createCandidate() {
213                CandidateImpl candidate = new CandidateImpl();
214                return candidate;
215        }
216 
217        /**
218         * <!-- begin-user-doc -->
219         * <!-- end-user-doc -->
220         * @generated
221         */
222        public Candidates createCandidates() {
223                CandidatesImpl candidates = new CandidatesImpl();
224                return candidates;
225        }
226 
227        /**
228         * <!-- begin-user-doc -->
229         * <!-- end-user-doc -->
230         * @generated
231         */
232        public FeatureGroupDegree createFeatureGroupDegree() {
233                FeatureGroupDegreeImpl featureGroupDegree = new FeatureGroupDegreeImpl();
234                return featureGroupDegree;
235        }
236 
237        /**
238         * <!-- begin-user-doc -->
239         * <!-- end-user-doc -->
240         * @generated
241         */
242        public FeatureSubset createFeatureSubset() {
243                FeatureSubsetImpl featureSubset = new FeatureSubsetImpl();
244                return featureSubset;
245        }
246 
247        /**
248         * <!-- begin-user-doc -->
249         * <!-- end-user-doc -->
250         * @generated
251         */
252        public OptionalFeatureDegree createOptionalFeatureDegree() {
253                OptionalFeatureDegreeImpl optionalFeatureDegree = new OptionalFeatureDegreeImpl();
254                return optionalFeatureDegree;
255        }
256 
257        /**
258         * <!-- begin-user-doc -->
259         * <!-- end-user-doc -->
260         * @generated
261         */
262        public DiscreteProcessingRateDegree createDiscreteProcessingRateDegree() {
263                DiscreteProcessingRateDegreeImpl discreteProcessingRateDegree = new DiscreteProcessingRateDegreeImpl();
264                return discreteProcessingRateDegree;
265        }
266 
267        /**
268         * <!-- begin-user-doc -->
269         * <!-- end-user-doc -->
270         * @generated
271         */
272        public CapacityDegree createCapacityDegree() {
273                CapacityDegreeImpl capacityDegree = new CapacityDegreeImpl();
274                return capacityDegree;
275        }
276 
277        /**
278         * <!-- begin-user-doc -->
279         * <!-- end-user-doc -->
280         * @generated
281         */
282        public SchedulingPolicyDegree createSchedulingPolicyDegree() {
283                SchedulingPolicyDegreeImpl schedulingPolicyDegree = new SchedulingPolicyDegreeImpl();
284                return schedulingPolicyDegree;
285        }
286 
287        /**
288         * <!-- begin-user-doc -->
289         * <!-- end-user-doc -->
290         * @generated
291         */
292        public SchedulingPolicyChoice createSchedulingPolicyChoice() {
293                SchedulingPolicyChoiceImpl schedulingPolicyChoice = new SchedulingPolicyChoiceImpl();
294                return schedulingPolicyChoice;
295        }
296 
297        /**
298         * <!-- begin-user-doc -->
299         * <!-- end-user-doc -->
300         * @generated
301         */
302        public ResourceSelectionDegree createResourceSelectionDegree() {
303                ResourceSelectionDegreeImpl resourceSelectionDegree = new ResourceSelectionDegreeImpl();
304                return resourceSelectionDegree;
305        }
306 
307        /**
308         * <!-- begin-user-doc -->
309         * <!-- end-user-doc -->
310         * @generated
311         */
312        public DiscreteComponentParamDegree createDiscreteComponentParamDegree() {
313                DiscreteComponentParamDegreeImpl discreteComponentParamDegree = new DiscreteComponentParamDegreeImpl();
314                return discreteComponentParamDegree;
315        }
316 
317        /**
318         * <!-- begin-user-doc -->
319         * <!-- end-user-doc -->
320         * @generated
321         */
322        public ContinuousComponentParamDegree createContinuousComponentParamDegree() {
323                ContinuousComponentParamDegreeImpl continuousComponentParamDegree = new ContinuousComponentParamDegreeImpl();
324                return continuousComponentParamDegree;
325        }
326 
327        /**
328         * <!-- begin-user-doc -->
329         * <!-- end-user-doc -->
330         * @generated
331         */
332        public StringComponentParamDegree createStringComponentParamDegree() {
333                StringComponentParamDegreeImpl stringComponentParamDegree = new StringComponentParamDegreeImpl();
334                return stringComponentParamDegree;
335        }
336 
337        /**
338         * <!-- begin-user-doc -->
339         * <!-- end-user-doc -->
340         * @generated
341         */
342        public NumberOfCoresAsRangeDegree createNumberOfCoresAsRangeDegree() {
343                NumberOfCoresAsRangeDegreeImpl numberOfCoresAsRangeDegree = new NumberOfCoresAsRangeDegreeImpl();
344                return numberOfCoresAsRangeDegree;
345        }
346 
347        /**
348         * <!-- begin-user-doc -->
349         * <!-- end-user-doc -->
350         * @generated
351         */
352        public ResourceContainerReplicationDegreeWithComponentChange createResourceContainerReplicationDegreeWithComponentChange() {
353                ResourceContainerReplicationDegreeWithComponentChangeImpl resourceContainerReplicationDegreeWithComponentChange = new ResourceContainerReplicationDegreeWithComponentChangeImpl();
354                return resourceContainerReplicationDegreeWithComponentChange;
355        }
356 
357        /**
358         * <!-- begin-user-doc -->
359         * <!-- end-user-doc -->
360         * @generated
361         */
362        public ExchangeComponentRule createExchangeComponentRule() {
363                ExchangeComponentRuleImpl exchangeComponentRule = new ExchangeComponentRuleImpl();
364                return exchangeComponentRule;
365        }
366 
367        /**
368         * <!-- begin-user-doc -->
369         * <!-- end-user-doc -->
370         * @generated
371         */
372        public OrderedIntegerDegree createOrderedIntegerDegree() {
373                OrderedIntegerDegreeImpl orderedIntegerDegree = new OrderedIntegerDegreeImpl();
374                return orderedIntegerDegree;
375        }
376 
377        /**
378         * <!-- begin-user-doc -->
379         * <!-- end-user-doc -->
380         * @generated
381         */
382        public NumberOfCoresAsListDegree createNumberOfCoresAsListDegree() {
383                NumberOfCoresAsListDegreeImpl numberOfCoresAsListDegree = new NumberOfCoresAsListDegreeImpl();
384                return numberOfCoresAsListDegree;
385        }
386 
387        /**
388         * <!-- begin-user-doc -->
389         * <!-- end-user-doc -->
390         * @generated
391         */
392        public designdecisionPackage getdesigndecisionPackage() {
393                return (designdecisionPackage)getEPackage();
394        }
395 
396        /**
397         * <!-- begin-user-doc -->
398         * <!-- end-user-doc -->
399         * @deprecated
400         * @generated
401         */
402        @Deprecated
403        public static designdecisionPackage getPackage() {
404                return designdecisionPackage.eINSTANCE;
405        }
406 
407} //designdecisionFactoryImpl

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