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

COVERAGE SUMMARY FOR SOURCE FILE [probespecPackageImpl.java]

nameclass, %method, %block, %line, %
probespecPackageImpl.java0%   (0/1)0%   (0/38)0%   (0/1038)0%   (0/174)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class probespecPackageImpl0%   (0/1)0%   (0/38)0%   (0/1038)0%   (0/174)
<static initializer> 0%   (0/1)0%   (0/3)0%   (0/2)
createPackageContents (): void 0%   (0/1)0%   (0/168)0%   (0/35)
getBinaryCalculator (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getBinaryCalculator_ProbeSet (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getCPUDemandCalculator (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getCPUDemandProbe (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getCPUStateCalculator (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getCPUStateProbe (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getCalculator (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getCalculator_Active (): EAttribute 0%   (0/1)0%   (0/7)0%   (0/1)
getCalculator_PipeElement (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getCurrentTimeProbe (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getHDDDemandCalculator (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getHDDDemandProbe (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getHDDStateCalculator (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getHDDStateProbe (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getPassiveResourceCalculator (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getPassiveResourceStateProbe (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getProbe (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getProbeSet (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getProbeSetPosition (): EEnum 0%   (0/1)0%   (0/3)0%   (0/1)
getProbeSet_AnnotatedElement (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getProbeSet_Position (): EAttribute 0%   (0/1)0%   (0/7)0%   (0/1)
getProbeSet_Probes (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getProbeSpecRepository (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getProbeSpecRepository_Calculator (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getResponseTimeCalculator (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getSEFFParameterCalculator (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getSEFFParameterProbe (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getStoExCalculator (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getStoExProbe (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getUnaryCalculator (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getUnaryCalculator_ProbeSet (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getWaitingTimeCalculator (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getprobespecFactory (): probespecFactory 0%   (0/1)0%   (0/4)0%   (0/1)
init (): probespecPackage 0%   (0/1)0%   (0/37)0%   (0/9)
initializePackageContents (): void 0%   (0/1)0%   (0/615)0%   (0/67)
probespecPackageImpl (): void 0%   (0/1)0%   (0/83)0%   (0/28)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package de.uka.ipd.sdq.probespec.impl;
8 
9import de.uka.ipd.sdq.identifier.IdentifierPackage;
10 
11import de.uka.ipd.sdq.pipesandfilters.pipesandfiltersPackage;
12 
13import de.uka.ipd.sdq.probespec.BinaryCalculator;
14import de.uka.ipd.sdq.probespec.CPUDemandCalculator;
15import de.uka.ipd.sdq.probespec.CPUDemandProbe;
16import de.uka.ipd.sdq.probespec.CPUStateCalculator;
17import de.uka.ipd.sdq.probespec.CPUStateProbe;
18import de.uka.ipd.sdq.probespec.Calculator;
19import de.uka.ipd.sdq.probespec.CurrentTimeProbe;
20import de.uka.ipd.sdq.probespec.HDDDemandCalculator;
21import de.uka.ipd.sdq.probespec.HDDDemandProbe;
22import de.uka.ipd.sdq.probespec.HDDStateCalculator;
23import de.uka.ipd.sdq.probespec.HDDStateProbe;
24import de.uka.ipd.sdq.probespec.PassiveResourceCalculator;
25import de.uka.ipd.sdq.probespec.PassiveResourceStateProbe;
26import de.uka.ipd.sdq.probespec.Probe;
27import de.uka.ipd.sdq.probespec.ProbeSet;
28import de.uka.ipd.sdq.probespec.ProbeSetPosition;
29import de.uka.ipd.sdq.probespec.ProbeSpecRepository;
30import de.uka.ipd.sdq.probespec.ResponseTimeCalculator;
31import de.uka.ipd.sdq.probespec.SEFFParameterCalculator;
32import de.uka.ipd.sdq.probespec.SEFFParameterProbe;
33import de.uka.ipd.sdq.probespec.StoExCalculator;
34import de.uka.ipd.sdq.probespec.StoExProbe;
35import de.uka.ipd.sdq.probespec.UnaryCalculator;
36import de.uka.ipd.sdq.probespec.WaitingTimeCalculator;
37import de.uka.ipd.sdq.probespec.probespecFactory;
38import de.uka.ipd.sdq.probespec.probespecPackage;
39 
40import org.eclipse.emf.ecore.EAttribute;
41import org.eclipse.emf.ecore.EClass;
42import org.eclipse.emf.ecore.EEnum;
43import org.eclipse.emf.ecore.EPackage;
44import org.eclipse.emf.ecore.EReference;
45import org.eclipse.emf.ecore.EcorePackage;
46 
47import org.eclipse.emf.ecore.impl.EPackageImpl;
48 
49/**
50 * <!-- begin-user-doc -->
51 * An implementation of the model <b>Package</b>.
52 * <!-- end-user-doc -->
53 * @generated
54 */
55public class probespecPackageImpl extends EPackageImpl implements probespecPackage {
56        /**
57         * <!-- begin-user-doc -->
58         * <!-- end-user-doc -->
59         * @generated
60         */
61        private EClass calculatorEClass = null;
62 
63        /**
64         * <!-- begin-user-doc -->
65         * <!-- end-user-doc -->
66         * @generated
67         */
68        private EClass passiveResourceCalculatorEClass = null;
69 
70        /**
71         * <!-- begin-user-doc -->
72         * <!-- end-user-doc -->
73         * @generated
74         */
75        private EClass unaryCalculatorEClass = null;
76 
77        /**
78         * <!-- begin-user-doc -->
79         * <!-- end-user-doc -->
80         * @generated
81         */
82        private EClass probeSetEClass = null;
83 
84        /**
85         * <!-- begin-user-doc -->
86         * <!-- end-user-doc -->
87         * @generated
88         */
89        private EClass probeEClass = null;
90 
91        /**
92         * <!-- begin-user-doc -->
93         * <!-- end-user-doc -->
94         * @generated
95         */
96        private EClass passiveResourceStateProbeEClass = null;
97 
98        /**
99         * <!-- begin-user-doc -->
100         * <!-- end-user-doc -->
101         * @generated
102         */
103        private EClass stoExProbeEClass = null;
104 
105        /**
106         * <!-- begin-user-doc -->
107         * <!-- end-user-doc -->
108         * @generated
109         */
110        private EClass seffParameterProbeEClass = null;
111 
112        /**
113         * <!-- begin-user-doc -->
114         * <!-- end-user-doc -->
115         * @generated
116         */
117        private EClass currentTimeProbeEClass = null;
118 
119        /**
120         * <!-- begin-user-doc -->
121         * <!-- end-user-doc -->
122         * @generated
123         */
124        private EClass stoExCalculatorEClass = null;
125 
126        /**
127         * <!-- begin-user-doc -->
128         * <!-- end-user-doc -->
129         * @generated
130         */
131        private EClass seffParameterCalculatorEClass = null;
132 
133        /**
134         * <!-- begin-user-doc -->
135         * <!-- end-user-doc -->
136         * @generated
137         */
138        private EClass responseTimeCalculatorEClass = null;
139 
140        /**
141         * <!-- begin-user-doc -->
142         * <!-- end-user-doc -->
143         * @generated
144         */
145        private EClass binaryCalculatorEClass = null;
146 
147        /**
148         * <!-- begin-user-doc -->
149         * <!-- end-user-doc -->
150         * @generated
151         */
152        private EClass waitingTimeCalculatorEClass = null;
153 
154        /**
155         * <!-- begin-user-doc -->
156         * <!-- end-user-doc -->
157         * @generated
158         */
159        private EClass probeSpecRepositoryEClass = null;
160 
161        /**
162         * <!-- begin-user-doc -->
163         * <!-- end-user-doc -->
164         * @generated
165         */
166        private EClass cpuStateProbeEClass = null;
167 
168        /**
169         * <!-- begin-user-doc -->
170         * <!-- end-user-doc -->
171         * @generated
172         */
173        private EClass hddStateProbeEClass = null;
174 
175        /**
176         * <!-- begin-user-doc -->
177         * <!-- end-user-doc -->
178         * @generated
179         */
180        private EClass cpuDemandProbeEClass = null;
181 
182        /**
183         * <!-- begin-user-doc -->
184         * <!-- end-user-doc -->
185         * @generated
186         */
187        private EClass hddDemandProbeEClass = null;
188 
189        /**
190         * <!-- begin-user-doc -->
191         * <!-- end-user-doc -->
192         * @generated
193         */
194        private EClass hddStateCalculatorEClass = null;
195 
196        /**
197         * <!-- begin-user-doc -->
198         * <!-- end-user-doc -->
199         * @generated
200         */
201        private EClass cpuStateCalculatorEClass = null;
202 
203        /**
204         * <!-- begin-user-doc -->
205         * <!-- end-user-doc -->
206         * @generated
207         */
208        private EClass cpuDemandCalculatorEClass = null;
209 
210        /**
211         * <!-- begin-user-doc -->
212         * <!-- end-user-doc -->
213         * @generated
214         */
215        private EClass hddDemandCalculatorEClass = null;
216 
217        /**
218         * <!-- begin-user-doc -->
219         * <!-- end-user-doc -->
220         * @generated
221         */
222        private EEnum probeSetPositionEEnum = null;
223 
224        /**
225         * Creates an instance of the model <b>Package</b>, registered with
226         * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
227         * package URI value.
228         * <p>Note: the correct way to create the package is via the static
229         * factory method {@link #init init()}, which also performs
230         * initialization of the package, or returns the registered package,
231         * if one already exists.
232         * <!-- begin-user-doc -->
233         * <!-- end-user-doc -->
234         * @see org.eclipse.emf.ecore.EPackage.Registry
235         * @see de.uka.ipd.sdq.probespec.probespecPackage#eNS_URI
236         * @see #init()
237         * @generated
238         */
239        private probespecPackageImpl() {
240                super(eNS_URI, probespecFactory.eINSTANCE);
241        }
242 
243        /**
244         * <!-- begin-user-doc -->
245         * <!-- end-user-doc -->
246         * @generated
247         */
248        private static boolean isInited = false;
249 
250        /**
251         * Creates, registers, and initializes the <b>Package</b> for this
252         * model, and for any others upon which it depends.  Simple
253         * dependencies are satisfied by calling this method on all
254         * dependent packages before doing anything else.  This method drives
255         * initialization for interdependent packages directly, in parallel
256         * with this package, itself.
257         * <p>Of this package and its interdependencies, all packages which
258         * have not yet been registered by their URI values are first created
259         * and registered.  The packages are then initialized in two steps:
260         * meta-model objects for all of the packages are created before any
261         * are initialized, since one package's meta-model objects may refer to
262         * those of another.
263         * <p>Invocation of this method will not affect any packages that have
264         * already been initialized.
265         * <!-- begin-user-doc -->
266         * <!-- end-user-doc -->
267         * @see #eNS_URI
268         * @see #createPackageContents()
269         * @see #initializePackageContents()
270         * @generated
271         */
272        public static probespecPackage init() {
273                if (isInited) return (probespecPackage)EPackage.Registry.INSTANCE.getEPackage(probespecPackage.eNS_URI);
274 
275                // Obtain or create and register package
276                probespecPackageImpl theprobespecPackage = (probespecPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof probespecPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new probespecPackageImpl());
277 
278                isInited = true;
279 
280                // Initialize simple dependencies
281                EcorePackage.eINSTANCE.eClass();
282                pipesandfiltersPackage.eINSTANCE.eClass();
283 
284                // Create package meta-data objects
285                theprobespecPackage.createPackageContents();
286 
287                // Initialize created meta-data
288                theprobespecPackage.initializePackageContents();
289 
290                // Mark meta-data to indicate it can't be changed
291                theprobespecPackage.freeze();
292 
293                return theprobespecPackage;
294        }
295 
296        /**
297         * <!-- begin-user-doc -->
298         * <!-- end-user-doc -->
299         * @generated
300         */
301        public EClass getCalculator() {
302                return calculatorEClass;
303        }
304 
305        /**
306         * <!-- begin-user-doc -->
307         * <!-- end-user-doc -->
308         * @generated
309         */
310        public EAttribute getCalculator_Active() {
311                return (EAttribute)calculatorEClass.getEStructuralFeatures().get(0);
312        }
313 
314        /**
315         * <!-- begin-user-doc -->
316         * <!-- end-user-doc -->
317         * @generated
318         */
319        public EReference getCalculator_PipeElement() {
320                return (EReference)calculatorEClass.getEStructuralFeatures().get(1);
321        }
322 
323        /**
324         * <!-- begin-user-doc -->
325         * <!-- end-user-doc -->
326         * @generated
327         */
328        public EClass getPassiveResourceCalculator() {
329                return passiveResourceCalculatorEClass;
330        }
331 
332        /**
333         * <!-- begin-user-doc -->
334         * <!-- end-user-doc -->
335         * @generated
336         */
337        public EClass getUnaryCalculator() {
338                return unaryCalculatorEClass;
339        }
340 
341        /**
342         * <!-- begin-user-doc -->
343         * <!-- end-user-doc -->
344         * @generated
345         */
346        public EReference getUnaryCalculator_ProbeSet() {
347                return (EReference)unaryCalculatorEClass.getEStructuralFeatures().get(0);
348        }
349 
350        /**
351         * <!-- begin-user-doc -->
352         * <!-- end-user-doc -->
353         * @generated
354         */
355        public EClass getProbeSet() {
356                return probeSetEClass;
357        }
358 
359        /**
360         * <!-- begin-user-doc -->
361         * <!-- end-user-doc -->
362         * @generated
363         */
364        public EReference getProbeSet_Probes() {
365                return (EReference)probeSetEClass.getEStructuralFeatures().get(0);
366        }
367 
368        /**
369         * <!-- begin-user-doc -->
370         * <!-- end-user-doc -->
371         * @generated
372         */
373        public EAttribute getProbeSet_Position() {
374                return (EAttribute)probeSetEClass.getEStructuralFeatures().get(1);
375        }
376 
377        /**
378         * <!-- begin-user-doc -->
379         * <!-- end-user-doc -->
380         * @generated
381         */
382        public EReference getProbeSet_AnnotatedElement() {
383                return (EReference)probeSetEClass.getEStructuralFeatures().get(2);
384        }
385 
386        /**
387         * <!-- begin-user-doc -->
388         * <!-- end-user-doc -->
389         * @generated
390         */
391        public EClass getProbe() {
392                return probeEClass;
393        }
394 
395        /**
396         * <!-- begin-user-doc -->
397         * <!-- end-user-doc -->
398         * @generated
399         */
400        public EClass getPassiveResourceStateProbe() {
401                return passiveResourceStateProbeEClass;
402        }
403 
404        /**
405         * <!-- begin-user-doc -->
406         * <!-- end-user-doc -->
407         * @generated
408         */
409        public EClass getStoExProbe() {
410                return stoExProbeEClass;
411        }
412 
413        /**
414         * <!-- begin-user-doc -->
415         * <!-- end-user-doc -->
416         * @generated
417         */
418        public EClass getSEFFParameterProbe() {
419                return seffParameterProbeEClass;
420        }
421 
422        /**
423         * <!-- begin-user-doc -->
424         * <!-- end-user-doc -->
425         * @generated
426         */
427        public EClass getCurrentTimeProbe() {
428                return currentTimeProbeEClass;
429        }
430 
431        /**
432         * <!-- begin-user-doc -->
433         * <!-- end-user-doc -->
434         * @generated
435         */
436        public EClass getStoExCalculator() {
437                return stoExCalculatorEClass;
438        }
439 
440        /**
441         * <!-- begin-user-doc -->
442         * <!-- end-user-doc -->
443         * @generated
444         */
445        public EClass getSEFFParameterCalculator() {
446                return seffParameterCalculatorEClass;
447        }
448 
449        /**
450         * <!-- begin-user-doc -->
451         * <!-- end-user-doc -->
452         * @generated
453         */
454        public EClass getResponseTimeCalculator() {
455                return responseTimeCalculatorEClass;
456        }
457 
458        /**
459         * <!-- begin-user-doc -->
460         * <!-- end-user-doc -->
461         * @generated
462         */
463        public EClass getBinaryCalculator() {
464                return binaryCalculatorEClass;
465        }
466 
467        /**
468         * <!-- begin-user-doc -->
469         * <!-- end-user-doc -->
470         * @generated
471         */
472        public EReference getBinaryCalculator_ProbeSet() {
473                return (EReference)binaryCalculatorEClass.getEStructuralFeatures().get(0);
474        }
475 
476        /**
477         * <!-- begin-user-doc -->
478         * <!-- end-user-doc -->
479         * @generated
480         */
481        public EClass getWaitingTimeCalculator() {
482                return waitingTimeCalculatorEClass;
483        }
484 
485        /**
486         * <!-- begin-user-doc -->
487         * <!-- end-user-doc -->
488         * @generated
489         */
490        public EClass getProbeSpecRepository() {
491                return probeSpecRepositoryEClass;
492        }
493 
494        /**
495         * <!-- begin-user-doc -->
496         * <!-- end-user-doc -->
497         * @generated
498         */
499        public EReference getProbeSpecRepository_Calculator() {
500                return (EReference)probeSpecRepositoryEClass.getEStructuralFeatures().get(0);
501        }
502 
503        /**
504         * <!-- begin-user-doc -->
505         * <!-- end-user-doc -->
506         * @generated
507         */
508        public EClass getCPUStateProbe() {
509                return cpuStateProbeEClass;
510        }
511 
512        /**
513         * <!-- begin-user-doc -->
514         * <!-- end-user-doc -->
515         * @generated
516         */
517        public EClass getHDDStateProbe() {
518                return hddStateProbeEClass;
519        }
520 
521        /**
522         * <!-- begin-user-doc -->
523         * <!-- end-user-doc -->
524         * @generated
525         */
526        public EClass getCPUDemandProbe() {
527                return cpuDemandProbeEClass;
528        }
529 
530        /**
531         * <!-- begin-user-doc -->
532         * <!-- end-user-doc -->
533         * @generated
534         */
535        public EClass getHDDDemandProbe() {
536                return hddDemandProbeEClass;
537        }
538 
539        /**
540         * <!-- begin-user-doc -->
541         * <!-- end-user-doc -->
542         * @generated
543         */
544        public EClass getHDDStateCalculator() {
545                return hddStateCalculatorEClass;
546        }
547 
548        /**
549         * <!-- begin-user-doc -->
550         * <!-- end-user-doc -->
551         * @generated
552         */
553        public EClass getCPUStateCalculator() {
554                return cpuStateCalculatorEClass;
555        }
556 
557        /**
558         * <!-- begin-user-doc -->
559         * <!-- end-user-doc -->
560         * @generated
561         */
562        public EClass getCPUDemandCalculator() {
563                return cpuDemandCalculatorEClass;
564        }
565 
566        /**
567         * <!-- begin-user-doc -->
568         * <!-- end-user-doc -->
569         * @generated
570         */
571        public EClass getHDDDemandCalculator() {
572                return hddDemandCalculatorEClass;
573        }
574 
575        /**
576         * <!-- begin-user-doc -->
577         * <!-- end-user-doc -->
578         * @generated
579         */
580        public EEnum getProbeSetPosition() {
581                return probeSetPositionEEnum;
582        }
583 
584        /**
585         * <!-- begin-user-doc -->
586         * <!-- end-user-doc -->
587         * @generated
588         */
589        public probespecFactory getprobespecFactory() {
590                return (probespecFactory)getEFactoryInstance();
591        }
592 
593        /**
594         * <!-- begin-user-doc -->
595         * <!-- end-user-doc -->
596         * @generated
597         */
598        private boolean isCreated = false;
599 
600        /**
601         * Creates the meta-model objects for the package.  This method is
602         * guarded to have no affect on any invocation but its first.
603         * <!-- begin-user-doc -->
604         * <!-- end-user-doc -->
605         * @generated
606         */
607        public void createPackageContents() {
608                if (isCreated) return;
609                isCreated = true;
610 
611                // Create classes and their features
612                calculatorEClass = createEClass(CALCULATOR);
613                createEAttribute(calculatorEClass, CALCULATOR__ACTIVE);
614                createEReference(calculatorEClass, CALCULATOR__PIPE_ELEMENT);
615 
616                passiveResourceCalculatorEClass = createEClass(PASSIVE_RESOURCE_CALCULATOR);
617 
618                unaryCalculatorEClass = createEClass(UNARY_CALCULATOR);
619                createEReference(unaryCalculatorEClass, UNARY_CALCULATOR__PROBE_SET);
620 
621                probeSetEClass = createEClass(PROBE_SET);
622                createEReference(probeSetEClass, PROBE_SET__PROBES);
623                createEAttribute(probeSetEClass, PROBE_SET__POSITION);
624                createEReference(probeSetEClass, PROBE_SET__ANNOTATED_ELEMENT);
625 
626                probeEClass = createEClass(PROBE);
627 
628                passiveResourceStateProbeEClass = createEClass(PASSIVE_RESOURCE_STATE_PROBE);
629 
630                stoExProbeEClass = createEClass(STO_EX_PROBE);
631 
632                seffParameterProbeEClass = createEClass(SEFF_PARAMETER_PROBE);
633 
634                currentTimeProbeEClass = createEClass(CURRENT_TIME_PROBE);
635 
636                stoExCalculatorEClass = createEClass(STO_EX_CALCULATOR);
637 
638                seffParameterCalculatorEClass = createEClass(SEFF_PARAMETER_CALCULATOR);
639 
640                responseTimeCalculatorEClass = createEClass(RESPONSE_TIME_CALCULATOR);
641 
642                binaryCalculatorEClass = createEClass(BINARY_CALCULATOR);
643                createEReference(binaryCalculatorEClass, BINARY_CALCULATOR__PROBE_SET);
644 
645                waitingTimeCalculatorEClass = createEClass(WAITING_TIME_CALCULATOR);
646 
647                probeSpecRepositoryEClass = createEClass(PROBE_SPEC_REPOSITORY);
648                createEReference(probeSpecRepositoryEClass, PROBE_SPEC_REPOSITORY__CALCULATOR);
649 
650                cpuStateProbeEClass = createEClass(CPU_STATE_PROBE);
651 
652                hddStateProbeEClass = createEClass(HDD_STATE_PROBE);
653 
654                cpuDemandProbeEClass = createEClass(CPU_DEMAND_PROBE);
655 
656                hddDemandProbeEClass = createEClass(HDD_DEMAND_PROBE);
657 
658                hddStateCalculatorEClass = createEClass(HDD_STATE_CALCULATOR);
659 
660                cpuStateCalculatorEClass = createEClass(CPU_STATE_CALCULATOR);
661 
662                cpuDemandCalculatorEClass = createEClass(CPU_DEMAND_CALCULATOR);
663 
664                hddDemandCalculatorEClass = createEClass(HDD_DEMAND_CALCULATOR);
665 
666                // Create enums
667                probeSetPositionEEnum = createEEnum(PROBE_SET_POSITION);
668        }
669 
670        /**
671         * <!-- begin-user-doc -->
672         * <!-- end-user-doc -->
673         * @generated
674         */
675        private boolean isInitialized = false;
676 
677        /**
678         * Complete the initialization of the package and its meta-model.  This
679         * method is guarded to have no affect on any invocation but its first.
680         * <!-- begin-user-doc -->
681         * <!-- end-user-doc -->
682         * @generated
683         */
684        public void initializePackageContents() {
685                if (isInitialized) return;
686                isInitialized = true;
687 
688                // Initialize package
689                setName(eNAME);
690                setNsPrefix(eNS_PREFIX);
691                setNsURI(eNS_URI);
692 
693                // Obtain other dependent packages
694                IdentifierPackage theIdentifierPackage = (IdentifierPackage)EPackage.Registry.INSTANCE.getEPackage(IdentifierPackage.eNS_URI);
695                pipesandfiltersPackage thepipesandfiltersPackage = (pipesandfiltersPackage)EPackage.Registry.INSTANCE.getEPackage(pipesandfiltersPackage.eNS_URI);
696                EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
697 
698                // Create type parameters
699 
700                // Set bounds for type parameters
701 
702                // Add supertypes to classes
703                calculatorEClass.getESuperTypes().add(theIdentifierPackage.getIdentifier());
704                passiveResourceCalculatorEClass.getESuperTypes().add(this.getUnaryCalculator());
705                unaryCalculatorEClass.getESuperTypes().add(this.getCalculator());
706                probeSetEClass.getESuperTypes().add(theIdentifierPackage.getIdentifier());
707                probeEClass.getESuperTypes().add(theIdentifierPackage.getIdentifier());
708                passiveResourceStateProbeEClass.getESuperTypes().add(this.getProbe());
709                stoExProbeEClass.getESuperTypes().add(this.getProbe());
710                seffParameterProbeEClass.getESuperTypes().add(this.getProbe());
711                currentTimeProbeEClass.getESuperTypes().add(this.getProbe());
712                stoExCalculatorEClass.getESuperTypes().add(this.getUnaryCalculator());
713                seffParameterCalculatorEClass.getESuperTypes().add(this.getUnaryCalculator());
714                responseTimeCalculatorEClass.getESuperTypes().add(this.getBinaryCalculator());
715                binaryCalculatorEClass.getESuperTypes().add(this.getCalculator());
716                waitingTimeCalculatorEClass.getESuperTypes().add(this.getBinaryCalculator());
717                cpuStateProbeEClass.getESuperTypes().add(this.getProbe());
718                hddStateProbeEClass.getESuperTypes().add(this.getProbe());
719                cpuDemandProbeEClass.getESuperTypes().add(this.getProbe());
720                hddDemandProbeEClass.getESuperTypes().add(this.getProbe());
721                hddStateCalculatorEClass.getESuperTypes().add(this.getUnaryCalculator());
722                cpuStateCalculatorEClass.getESuperTypes().add(this.getUnaryCalculator());
723                cpuDemandCalculatorEClass.getESuperTypes().add(this.getUnaryCalculator());
724                hddDemandCalculatorEClass.getESuperTypes().add(this.getUnaryCalculator());
725 
726                // Initialize classes and features; add operations and parameters
727                initEClass(calculatorEClass, Calculator.class, "Calculator", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
728                initEAttribute(getCalculator_Active(), ecorePackage.getEBoolean(), "active", "true", 1, 1, Calculator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
729                initEReference(getCalculator_PipeElement(), thepipesandfiltersPackage.getPipeElement(), null, "pipeElement", null, 0, 1, Calculator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
730 
731                initEClass(passiveResourceCalculatorEClass, PassiveResourceCalculator.class, "PassiveResourceCalculator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
732 
733                initEClass(unaryCalculatorEClass, UnaryCalculator.class, "UnaryCalculator", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
734                initEReference(getUnaryCalculator_ProbeSet(), this.getProbeSet(), null, "probeSet", null, 1, 1, UnaryCalculator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
735 
736                initEClass(probeSetEClass, ProbeSet.class, "ProbeSet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
737                initEReference(getProbeSet_Probes(), this.getProbe(), null, "probes", null, 1, -1, ProbeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
738                initEAttribute(getProbeSet_Position(), this.getProbeSetPosition(), "position", null, 1, 1, ProbeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
739                initEReference(getProbeSet_AnnotatedElement(), theEcorePackage.getEObject(), null, "annotatedElement", null, 1, 1, ProbeSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
740 
741                initEClass(probeEClass, Probe.class, "Probe", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
742 
743                initEClass(passiveResourceStateProbeEClass, PassiveResourceStateProbe.class, "PassiveResourceStateProbe", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
744 
745                initEClass(stoExProbeEClass, StoExProbe.class, "StoExProbe", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
746 
747                initEClass(seffParameterProbeEClass, SEFFParameterProbe.class, "SEFFParameterProbe", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
748 
749                initEClass(currentTimeProbeEClass, CurrentTimeProbe.class, "CurrentTimeProbe", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
750 
751                initEClass(stoExCalculatorEClass, StoExCalculator.class, "StoExCalculator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
752 
753                initEClass(seffParameterCalculatorEClass, SEFFParameterCalculator.class, "SEFFParameterCalculator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
754 
755                initEClass(responseTimeCalculatorEClass, ResponseTimeCalculator.class, "ResponseTimeCalculator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
756 
757                initEClass(binaryCalculatorEClass, BinaryCalculator.class, "BinaryCalculator", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
758                initEReference(getBinaryCalculator_ProbeSet(), this.getProbeSet(), null, "probeSet", null, 2, 2, BinaryCalculator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
759 
760                initEClass(waitingTimeCalculatorEClass, WaitingTimeCalculator.class, "WaitingTimeCalculator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
761 
762                initEClass(probeSpecRepositoryEClass, ProbeSpecRepository.class, "ProbeSpecRepository", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
763                initEReference(getProbeSpecRepository_Calculator(), this.getCalculator(), null, "calculator", null, 0, -1, ProbeSpecRepository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
764 
765                initEClass(cpuStateProbeEClass, CPUStateProbe.class, "CPUStateProbe", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
766 
767                initEClass(hddStateProbeEClass, HDDStateProbe.class, "HDDStateProbe", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
768 
769                initEClass(cpuDemandProbeEClass, CPUDemandProbe.class, "CPUDemandProbe", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
770 
771                initEClass(hddDemandProbeEClass, HDDDemandProbe.class, "HDDDemandProbe", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
772 
773                initEClass(hddStateCalculatorEClass, HDDStateCalculator.class, "HDDStateCalculator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
774 
775                initEClass(cpuStateCalculatorEClass, CPUStateCalculator.class, "CPUStateCalculator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
776 
777                initEClass(cpuDemandCalculatorEClass, CPUDemandCalculator.class, "CPUDemandCalculator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
778 
779                initEClass(hddDemandCalculatorEClass, HDDDemandCalculator.class, "HDDDemandCalculator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
780 
781                // Initialize enums and add enum literals
782                initEEnum(probeSetPositionEEnum, ProbeSetPosition.class, "ProbeSetPosition");
783                addEEnumLiteral(probeSetPositionEEnum, ProbeSetPosition.BEFORE);
784                addEEnumLiteral(probeSetPositionEEnum, ProbeSetPosition.AFTER);
785                addEEnumLiteral(probeSetPositionEEnum, ProbeSetPosition.NONE);
786 
787                // Create resource
788                createResource(eNS_URI);
789        }
790 
791} //probespecPackageImpl

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