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

COVERAGE SUMMARY FOR SOURCE FILE [QosannotationsPackageImpl.java]

nameclass, %method, %block, %line, %
QosannotationsPackageImpl.java0%   (0/2)0%   (0/21)0%   (0/919)0%   (0/147)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class QosannotationsPackageImpl0%   (0/1)0%   (0/19)0%   (0/914)0%   (0/145)
<static initializer> 0%   (0/1)0%   (0/3)0%   (0/2)
QosannotationsPackageImpl (): void 0%   (0/1)0%   (0/20)0%   (0/7)
createPackageContents (): void 0%   (0/1)0%   (0/73)0%   (0/16)
getQoSAnnotations (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getQoSAnnotations_SpecifiedOutputParameterAbstractions_QoSAnnotations (): ERe... 0%   (0/1)0%   (0/7)0%   (0/1)
getQoSAnnotations_SpecifiedQoSAnnotations_QoSAnnotations (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getQoSAnnotations_System_QoSAnnotations (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getQosannotationsFactory (): QosannotationsFactory 0%   (0/1)0%   (0/4)0%   (0/1)
getSpecifiedOutputParameterAbstraction (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getSpecifiedOutputParameterAbstraction_ExpectedExternalOutputs_SpecifiedOutpu... 0%   (0/1)0%   (0/7)0%   (0/1)
getSpecifiedOutputParameterAbstraction_QosAnnotations_SpecifiedOutputParamete... 0%   (0/1)0%   (0/7)0%   (0/1)
getSpecifiedOutputParameterAbstraction_Role_SpecifiedOutputParameterAbstracti... 0%   (0/1)0%   (0/7)0%   (0/1)
getSpecifiedOutputParameterAbstraction_Signature_SpecifiedOutputParameterAbst... 0%   (0/1)0%   (0/7)0%   (0/1)
getSpecifiedQoSAnnotation (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getSpecifiedQoSAnnotation_QosAnnotations_SpecifiedQoSAnnotation (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getSpecifiedQoSAnnotation_Role_SpecifiedQoSAnnotation (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getSpecifiedQoSAnnotation_Signature_SpecifiedQoSAnnation (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
init (): QosannotationsPackage 0%   (0/1)0%   (0/353)0%   (0/70)
initializePackageContents (): void 0%   (0/1)0%   (0/382)0%   (0/36)
     
class QosannotationsPackageImpl$10%   (0/1)0%   (0/2)0%   (0/5)0%   (0/3)
QosannotationsPackageImpl$1 (): void 0%   (0/1)0%   (0/3)0%   (0/2)
getEValidator (): EValidator 0%   (0/1)0%   (0/2)0%   (0/1)

1/**
2 * Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany
3 *
4 * $Id$
5 */
6package de.uka.ipd.sdq.pcm.qosannotations.impl;
7 
8import org.eclipse.emf.ecore.EClass;
9import org.eclipse.emf.ecore.EGenericType;
10import org.eclipse.emf.ecore.EOperation;
11import org.eclipse.emf.ecore.EPackage;
12import org.eclipse.emf.ecore.EReference;
13import org.eclipse.emf.ecore.EValidator;
14import org.eclipse.emf.ecore.impl.EPackageImpl;
15 
16import de.uka.ipd.sdq.identifier.IdentifierPackage;
17import de.uka.ipd.sdq.pcm.PcmPackage;
18import de.uka.ipd.sdq.pcm.allocation.AllocationPackage;
19import de.uka.ipd.sdq.pcm.allocation.impl.AllocationPackageImpl;
20import de.uka.ipd.sdq.pcm.core.CorePackage;
21import de.uka.ipd.sdq.pcm.core.composition.CompositionPackage;
22import de.uka.ipd.sdq.pcm.core.composition.impl.CompositionPackageImpl;
23import de.uka.ipd.sdq.pcm.core.entity.EntityPackage;
24import de.uka.ipd.sdq.pcm.core.entity.impl.EntityPackageImpl;
25import de.uka.ipd.sdq.pcm.core.impl.CorePackageImpl;
26import de.uka.ipd.sdq.pcm.impl.PcmPackageImpl;
27import de.uka.ipd.sdq.pcm.parameter.ParameterPackage;
28import de.uka.ipd.sdq.pcm.parameter.impl.ParameterPackageImpl;
29import de.uka.ipd.sdq.pcm.protocol.ProtocolPackage;
30import de.uka.ipd.sdq.pcm.protocol.impl.ProtocolPackageImpl;
31import de.uka.ipd.sdq.pcm.qosannotations.QoSAnnotations;
32import de.uka.ipd.sdq.pcm.qosannotations.QosannotationsFactory;
33import de.uka.ipd.sdq.pcm.qosannotations.QosannotationsPackage;
34import de.uka.ipd.sdq.pcm.qosannotations.SpecifiedOutputParameterAbstraction;
35import de.uka.ipd.sdq.pcm.qosannotations.SpecifiedQoSAnnotation;
36import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.Qos_performancePackage;
37import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.impl.Qos_performancePackageImpl;
38import de.uka.ipd.sdq.pcm.qosannotations.qos_reliability.Qos_reliabilityPackage;
39import de.uka.ipd.sdq.pcm.qosannotations.qos_reliability.impl.Qos_reliabilityPackageImpl;
40import de.uka.ipd.sdq.pcm.qosannotations.util.QosannotationsValidator;
41import de.uka.ipd.sdq.pcm.reliability.ReliabilityPackage;
42import de.uka.ipd.sdq.pcm.reliability.impl.ReliabilityPackageImpl;
43import de.uka.ipd.sdq.pcm.repository.RepositoryPackage;
44import de.uka.ipd.sdq.pcm.repository.impl.RepositoryPackageImpl;
45import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceenvironmentPackage;
46import de.uka.ipd.sdq.pcm.resourceenvironment.impl.ResourceenvironmentPackageImpl;
47import de.uka.ipd.sdq.pcm.resourcetype.ResourcetypePackage;
48import de.uka.ipd.sdq.pcm.resourcetype.impl.ResourcetypePackageImpl;
49import de.uka.ipd.sdq.pcm.seff.SeffPackage;
50import de.uka.ipd.sdq.pcm.seff.impl.SeffPackageImpl;
51import de.uka.ipd.sdq.pcm.seff.seff_performance.Seff_performancePackage;
52import de.uka.ipd.sdq.pcm.seff.seff_performance.impl.Seff_performancePackageImpl;
53import de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage;
54import de.uka.ipd.sdq.pcm.seff.seff_reliability.impl.Seff_reliabilityPackageImpl;
55import de.uka.ipd.sdq.pcm.subsystem.SubsystemPackage;
56import de.uka.ipd.sdq.pcm.subsystem.impl.SubsystemPackageImpl;
57import de.uka.ipd.sdq.pcm.system.SystemPackage;
58import de.uka.ipd.sdq.pcm.system.impl.SystemPackageImpl;
59import de.uka.ipd.sdq.pcm.usagemodel.UsagemodelPackage;
60import de.uka.ipd.sdq.pcm.usagemodel.impl.UsagemodelPackageImpl;
61import de.uka.ipd.sdq.stoex.StoexPackage;
62 
63/**
64 * <!-- begin-user-doc -->
65 * An implementation of the model <b>Package</b>.
66 * <!-- end-user-doc -->
67 * @generated
68 */
69public class QosannotationsPackageImpl extends EPackageImpl implements QosannotationsPackage {
70        /**
71         * <!-- begin-user-doc -->
72         * <!-- end-user-doc -->
73         * @generated
74         */
75        public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany";
76 
77        /**
78         * <!-- begin-user-doc -->
79         * <!-- end-user-doc -->
80         * @generated
81         */
82        private EClass specifiedQoSAnnotationEClass = null;
83 
84        /**
85         * <!-- begin-user-doc -->
86         * <!-- end-user-doc -->
87         * @generated
88         */
89        private EClass qoSAnnotationsEClass = null;
90 
91        /**
92         * <!-- begin-user-doc -->
93         * <!-- end-user-doc -->
94         * @generated
95         */
96        private EClass specifiedOutputParameterAbstractionEClass = null;
97 
98        /**
99         * Creates an instance of the model <b>Package</b>, registered with
100         * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
101         * package URI value.
102         * <p>Note: the correct way to create the package is via the static
103         * factory method {@link #init init()}, which also performs
104         * initialization of the package, or returns the registered package,
105         * if one already exists.
106         * <!-- begin-user-doc -->
107         * <!-- end-user-doc -->
108         * @see org.eclipse.emf.ecore.EPackage.Registry
109         * @see de.uka.ipd.sdq.pcm.qosannotations.QosannotationsPackage#eNS_URI
110         * @see #init()
111         * @generated
112         */
113        private QosannotationsPackageImpl() {
114                super(eNS_URI, QosannotationsFactory.eINSTANCE);
115        }
116 
117        /**
118         * <!-- begin-user-doc -->
119         * <!-- end-user-doc -->
120         * @generated
121         */
122        private static boolean isInited = false;
123 
124        /**
125         * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
126         * 
127         * <p>This method is used to initialize {@link QosannotationsPackage#eINSTANCE} when that field is accessed.
128         * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
129         * <!-- begin-user-doc -->
130         * <!-- end-user-doc -->
131         * @see #eNS_URI
132         * @see #createPackageContents()
133         * @see #initializePackageContents()
134         * @generated
135         */
136        public static QosannotationsPackage init() {
137                if (isInited) return (QosannotationsPackage)EPackage.Registry.INSTANCE.getEPackage(QosannotationsPackage.eNS_URI);
138 
139                // Obtain or create and register package
140                QosannotationsPackageImpl theQosannotationsPackage = (QosannotationsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof QosannotationsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new QosannotationsPackageImpl());
141 
142                isInited = true;
143 
144                // Initialize simple dependencies
145                IdentifierPackage.eINSTANCE.eClass();
146                StoexPackage.eINSTANCE.eClass();
147 
148                // Obtain or create and register interdependencies
149                PcmPackageImpl thePcmPackage = (PcmPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PcmPackage.eNS_URI) instanceof PcmPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PcmPackage.eNS_URI) : PcmPackage.eINSTANCE);
150                CorePackageImpl theCorePackage = (CorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) instanceof CorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) : CorePackage.eINSTANCE);
151                EntityPackageImpl theEntityPackage = (EntityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI) instanceof EntityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI) : EntityPackage.eINSTANCE);
152                CompositionPackageImpl theCompositionPackage = (CompositionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CompositionPackage.eNS_URI) instanceof CompositionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CompositionPackage.eNS_URI) : CompositionPackage.eINSTANCE);
153                UsagemodelPackageImpl theUsagemodelPackage = (UsagemodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsagemodelPackage.eNS_URI) instanceof UsagemodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsagemodelPackage.eNS_URI) : UsagemodelPackage.eINSTANCE);
154                RepositoryPackageImpl theRepositoryPackage = (RepositoryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RepositoryPackage.eNS_URI) instanceof RepositoryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RepositoryPackage.eNS_URI) : RepositoryPackage.eINSTANCE);
155                ResourcetypePackageImpl theResourcetypePackage = (ResourcetypePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ResourcetypePackage.eNS_URI) instanceof ResourcetypePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ResourcetypePackage.eNS_URI) : ResourcetypePackage.eINSTANCE);
156                ProtocolPackageImpl theProtocolPackage = (ProtocolPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ProtocolPackage.eNS_URI) instanceof ProtocolPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ProtocolPackage.eNS_URI) : ProtocolPackage.eINSTANCE);
157                ParameterPackageImpl theParameterPackage = (ParameterPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ParameterPackage.eNS_URI) instanceof ParameterPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ParameterPackage.eNS_URI) : ParameterPackage.eINSTANCE);
158                ReliabilityPackageImpl theReliabilityPackage = (ReliabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ReliabilityPackage.eNS_URI) instanceof ReliabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ReliabilityPackage.eNS_URI) : ReliabilityPackage.eINSTANCE);
159                SeffPackageImpl theSeffPackage = (SeffPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SeffPackage.eNS_URI) instanceof SeffPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SeffPackage.eNS_URI) : SeffPackage.eINSTANCE);
160                Seff_performancePackageImpl theSeff_performancePackage = (Seff_performancePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Seff_performancePackage.eNS_URI) instanceof Seff_performancePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Seff_performancePackage.eNS_URI) : Seff_performancePackage.eINSTANCE);
161                Seff_reliabilityPackageImpl theSeff_reliabilityPackage = (Seff_reliabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Seff_reliabilityPackage.eNS_URI) instanceof Seff_reliabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Seff_reliabilityPackage.eNS_URI) : Seff_reliabilityPackage.eINSTANCE);
162                Qos_performancePackageImpl theQos_performancePackage = (Qos_performancePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Qos_performancePackage.eNS_URI) instanceof Qos_performancePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Qos_performancePackage.eNS_URI) : Qos_performancePackage.eINSTANCE);
163                Qos_reliabilityPackageImpl theQos_reliabilityPackage = (Qos_reliabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Qos_reliabilityPackage.eNS_URI) instanceof Qos_reliabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Qos_reliabilityPackage.eNS_URI) : Qos_reliabilityPackage.eINSTANCE);
164                SystemPackageImpl theSystemPackage = (SystemPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SystemPackage.eNS_URI) instanceof SystemPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SystemPackage.eNS_URI) : SystemPackage.eINSTANCE);
165                ResourceenvironmentPackageImpl theResourceenvironmentPackage = (ResourceenvironmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ResourceenvironmentPackage.eNS_URI) instanceof ResourceenvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ResourceenvironmentPackage.eNS_URI) : ResourceenvironmentPackage.eINSTANCE);
166                AllocationPackageImpl theAllocationPackage = (AllocationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationPackage.eNS_URI) instanceof AllocationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationPackage.eNS_URI) : AllocationPackage.eINSTANCE);
167                SubsystemPackageImpl theSubsystemPackage = (SubsystemPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SubsystemPackage.eNS_URI) instanceof SubsystemPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SubsystemPackage.eNS_URI) : SubsystemPackage.eINSTANCE);
168 
169                // Create package meta-data objects
170                theQosannotationsPackage.createPackageContents();
171                thePcmPackage.createPackageContents();
172                theCorePackage.createPackageContents();
173                theEntityPackage.createPackageContents();
174                theCompositionPackage.createPackageContents();
175                theUsagemodelPackage.createPackageContents();
176                theRepositoryPackage.createPackageContents();
177                theResourcetypePackage.createPackageContents();
178                theProtocolPackage.createPackageContents();
179                theParameterPackage.createPackageContents();
180                theReliabilityPackage.createPackageContents();
181                theSeffPackage.createPackageContents();
182                theSeff_performancePackage.createPackageContents();
183                theSeff_reliabilityPackage.createPackageContents();
184                theQos_performancePackage.createPackageContents();
185                theQos_reliabilityPackage.createPackageContents();
186                theSystemPackage.createPackageContents();
187                theResourceenvironmentPackage.createPackageContents();
188                theAllocationPackage.createPackageContents();
189                theSubsystemPackage.createPackageContents();
190 
191                // Initialize created meta-data
192                theQosannotationsPackage.initializePackageContents();
193                thePcmPackage.initializePackageContents();
194                theCorePackage.initializePackageContents();
195                theEntityPackage.initializePackageContents();
196                theCompositionPackage.initializePackageContents();
197                theUsagemodelPackage.initializePackageContents();
198                theRepositoryPackage.initializePackageContents();
199                theResourcetypePackage.initializePackageContents();
200                theProtocolPackage.initializePackageContents();
201                theParameterPackage.initializePackageContents();
202                theReliabilityPackage.initializePackageContents();
203                theSeffPackage.initializePackageContents();
204                theSeff_performancePackage.initializePackageContents();
205                theSeff_reliabilityPackage.initializePackageContents();
206                theQos_performancePackage.initializePackageContents();
207                theQos_reliabilityPackage.initializePackageContents();
208                theSystemPackage.initializePackageContents();
209                theResourceenvironmentPackage.initializePackageContents();
210                theAllocationPackage.initializePackageContents();
211                theSubsystemPackage.initializePackageContents();
212 
213                // Register package validator
214                EValidator.Registry.INSTANCE.put
215                        (theQosannotationsPackage, 
216                         new EValidator.Descriptor() {
217                                 public EValidator getEValidator() {
218                                         return QosannotationsValidator.INSTANCE;
219                                 }
220                         });
221 
222                // Mark meta-data to indicate it can't be changed
223                theQosannotationsPackage.freeze();
224 
225  
226                // Update the registry and return the package
227                EPackage.Registry.INSTANCE.put(QosannotationsPackage.eNS_URI, theQosannotationsPackage);
228                return theQosannotationsPackage;
229        }
230 
231        /**
232         * <!-- begin-user-doc -->
233         * <!-- end-user-doc -->
234         * @generated
235         */
236        public EClass getSpecifiedQoSAnnotation() {
237                return specifiedQoSAnnotationEClass;
238        }
239 
240        /**
241         * <!-- begin-user-doc -->
242         * <!-- end-user-doc -->
243         * @generated
244         */
245        public EReference getSpecifiedQoSAnnotation_Signature_SpecifiedQoSAnnation() {
246                return (EReference)specifiedQoSAnnotationEClass.getEStructuralFeatures().get(0);
247        }
248 
249        /**
250         * <!-- begin-user-doc -->
251         * <!-- end-user-doc -->
252         * @generated
253         */
254        public EReference getSpecifiedQoSAnnotation_Role_SpecifiedQoSAnnotation() {
255                return (EReference)specifiedQoSAnnotationEClass.getEStructuralFeatures().get(1);
256        }
257 
258        /**
259         * <!-- begin-user-doc -->
260         * <!-- end-user-doc -->
261         * @generated
262         */
263        public EReference getSpecifiedQoSAnnotation_QosAnnotations_SpecifiedQoSAnnotation() {
264                return (EReference)specifiedQoSAnnotationEClass.getEStructuralFeatures().get(2);
265        }
266 
267        /**
268         * <!-- begin-user-doc -->
269         * <!-- end-user-doc -->
270         * @generated
271         */
272        public EClass getQoSAnnotations() {
273                return qoSAnnotationsEClass;
274        }
275 
276        /**
277         * <!-- begin-user-doc -->
278         * <!-- end-user-doc -->
279         * @generated
280         */
281        public EReference getQoSAnnotations_SpecifiedOutputParameterAbstractions_QoSAnnotations() {
282                return (EReference)qoSAnnotationsEClass.getEStructuralFeatures().get(0);
283        }
284 
285        /**
286         * <!-- begin-user-doc -->
287         * <!-- end-user-doc -->
288         * @generated
289         */
290        public EReference getQoSAnnotations_System_QoSAnnotations() {
291                return (EReference)qoSAnnotationsEClass.getEStructuralFeatures().get(1);
292        }
293 
294        /**
295         * <!-- begin-user-doc -->
296         * <!-- end-user-doc -->
297         * @generated
298         */
299        public EReference getQoSAnnotations_SpecifiedQoSAnnotations_QoSAnnotations() {
300                return (EReference)qoSAnnotationsEClass.getEStructuralFeatures().get(2);
301        }
302 
303        /**
304         * <!-- begin-user-doc -->
305         * <!-- end-user-doc -->
306         * @generated
307         */
308        public EClass getSpecifiedOutputParameterAbstraction() {
309                return specifiedOutputParameterAbstractionEClass;
310        }
311 
312        /**
313         * <!-- begin-user-doc -->
314         * <!-- end-user-doc -->
315         * @generated
316         */
317        public EReference getSpecifiedOutputParameterAbstraction_Signature_SpecifiedOutputParameterAbstraction() {
318                return (EReference)specifiedOutputParameterAbstractionEClass.getEStructuralFeatures().get(0);
319        }
320 
321        /**
322         * <!-- begin-user-doc -->
323         * <!-- end-user-doc -->
324         * @generated
325         */
326        public EReference getSpecifiedOutputParameterAbstraction_Role_SpecifiedOutputParameterAbstraction() {
327                return (EReference)specifiedOutputParameterAbstractionEClass.getEStructuralFeatures().get(1);
328        }
329 
330        /**
331         * <!-- begin-user-doc -->
332         * <!-- end-user-doc -->
333         * @generated
334         */
335        public EReference getSpecifiedOutputParameterAbstraction_ExpectedExternalOutputs_SpecifiedOutputParameterAbstraction() {
336                return (EReference)specifiedOutputParameterAbstractionEClass.getEStructuralFeatures().get(2);
337        }
338 
339        /**
340         * <!-- begin-user-doc -->
341         * <!-- end-user-doc -->
342         * @generated
343         */
344        public EReference getSpecifiedOutputParameterAbstraction_QosAnnotations_SpecifiedOutputParameterAbstraction() {
345                return (EReference)specifiedOutputParameterAbstractionEClass.getEStructuralFeatures().get(3);
346        }
347 
348        /**
349         * <!-- begin-user-doc -->
350         * <!-- end-user-doc -->
351         * @generated
352         */
353        public QosannotationsFactory getQosannotationsFactory() {
354                return (QosannotationsFactory)getEFactoryInstance();
355        }
356 
357        /**
358         * <!-- begin-user-doc -->
359         * <!-- end-user-doc -->
360         * @generated
361         */
362        private boolean isCreated = false;
363 
364        /**
365         * Creates the meta-model objects for the package.  This method is
366         * guarded to have no affect on any invocation but its first.
367         * <!-- begin-user-doc -->
368         * <!-- end-user-doc -->
369         * @generated
370         */
371        public void createPackageContents() {
372                if (isCreated) return;
373                isCreated = true;
374 
375                // Create classes and their features
376                specifiedQoSAnnotationEClass = createEClass(SPECIFIED_QO_SANNOTATION);
377                createEReference(specifiedQoSAnnotationEClass, SPECIFIED_QO_SANNOTATION__SIGNATURE_SPECIFIED_QO_SANNATION);
378                createEReference(specifiedQoSAnnotationEClass, SPECIFIED_QO_SANNOTATION__ROLE_SPECIFIED_QO_SANNOTATION);
379                createEReference(specifiedQoSAnnotationEClass, SPECIFIED_QO_SANNOTATION__QOS_ANNOTATIONS_SPECIFIED_QO_SANNOTATION);
380 
381                qoSAnnotationsEClass = createEClass(QO_SANNOTATIONS);
382                createEReference(qoSAnnotationsEClass, QO_SANNOTATIONS__SPECIFIED_OUTPUT_PARAMETER_ABSTRACTIONS_QO_SANNOTATIONS);
383                createEReference(qoSAnnotationsEClass, QO_SANNOTATIONS__SYSTEM_QO_SANNOTATIONS);
384                createEReference(qoSAnnotationsEClass, QO_SANNOTATIONS__SPECIFIED_QO_SANNOTATIONS_QO_SANNOTATIONS);
385 
386                specifiedOutputParameterAbstractionEClass = createEClass(SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION);
387                createEReference(specifiedOutputParameterAbstractionEClass, SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__SIGNATURE_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION);
388                createEReference(specifiedOutputParameterAbstractionEClass, SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__ROLE_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION);
389                createEReference(specifiedOutputParameterAbstractionEClass, SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__EXPECTED_EXTERNAL_OUTPUTS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION);
390                createEReference(specifiedOutputParameterAbstractionEClass, SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION__QOS_ANNOTATIONS_SPECIFIED_OUTPUT_PARAMETER_ABSTRACTION);
391        }
392 
393        /**
394         * <!-- begin-user-doc -->
395         * <!-- end-user-doc -->
396         * @generated
397         */
398        private boolean isInitialized = false;
399 
400        /**
401         * Complete the initialization of the package and its meta-model.  This
402         * method is guarded to have no affect on any invocation but its first.
403         * <!-- begin-user-doc -->
404         * <!-- end-user-doc -->
405         * @generated
406         */
407        public void initializePackageContents() {
408                if (isInitialized) return;
409                isInitialized = true;
410 
411                // Initialize package
412                setName(eNAME);
413                setNsPrefix(eNS_PREFIX);
414                setNsURI(eNS_URI);
415 
416                // Obtain other dependent packages
417                Qos_performancePackage theQos_performancePackage = (Qos_performancePackage)EPackage.Registry.INSTANCE.getEPackage(Qos_performancePackage.eNS_URI);
418                Qos_reliabilityPackage theQos_reliabilityPackage = (Qos_reliabilityPackage)EPackage.Registry.INSTANCE.getEPackage(Qos_reliabilityPackage.eNS_URI);
419                RepositoryPackage theRepositoryPackage = (RepositoryPackage)EPackage.Registry.INSTANCE.getEPackage(RepositoryPackage.eNS_URI);
420                EntityPackage theEntityPackage = (EntityPackage)EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI);
421                SystemPackage theSystemPackage = (SystemPackage)EPackage.Registry.INSTANCE.getEPackage(SystemPackage.eNS_URI);
422                ParameterPackage theParameterPackage = (ParameterPackage)EPackage.Registry.INSTANCE.getEPackage(ParameterPackage.eNS_URI);
423 
424                // Add subpackages
425                getESubpackages().add(theQos_performancePackage);
426                getESubpackages().add(theQos_reliabilityPackage);
427 
428                // Create type parameters
429 
430                // Set bounds for type parameters
431 
432                // Add supertypes to classes
433                qoSAnnotationsEClass.getESuperTypes().add(theEntityPackage.getEntity());
434 
435                // Initialize classes and features; add operations and parameters
436                initEClass(specifiedQoSAnnotationEClass, SpecifiedQoSAnnotation.class, "SpecifiedQoSAnnotation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
437                initEReference(getSpecifiedQoSAnnotation_Signature_SpecifiedQoSAnnation(), theRepositoryPackage.getSignature(), null, "signature_SpecifiedQoSAnnation", null, 1, 1, SpecifiedQoSAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
438                initEReference(getSpecifiedQoSAnnotation_Role_SpecifiedQoSAnnotation(), theRepositoryPackage.getRole(), null, "role_SpecifiedQoSAnnotation", null, 1, 1, SpecifiedQoSAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
439                initEReference(getSpecifiedQoSAnnotation_QosAnnotations_SpecifiedQoSAnnotation(), this.getQoSAnnotations(), this.getQoSAnnotations_SpecifiedQoSAnnotations_QoSAnnotations(), "qosAnnotations_SpecifiedQoSAnnotation", null, 1, 1, SpecifiedQoSAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
440 
441                initEClass(qoSAnnotationsEClass, QoSAnnotations.class, "QoSAnnotations", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
442                initEReference(getQoSAnnotations_SpecifiedOutputParameterAbstractions_QoSAnnotations(), this.getSpecifiedOutputParameterAbstraction(), this.getSpecifiedOutputParameterAbstraction_QosAnnotations_SpecifiedOutputParameterAbstraction(), "specifiedOutputParameterAbstractions_QoSAnnotations", null, 0, -1, QoSAnnotations.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
443                initEReference(getQoSAnnotations_System_QoSAnnotations(), theSystemPackage.getSystem(), theSystemPackage.getSystem_QosAnnotations_System(), "system_QoSAnnotations", null, 1, 1, QoSAnnotations.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
444                initEReference(getQoSAnnotations_SpecifiedQoSAnnotations_QoSAnnotations(), this.getSpecifiedQoSAnnotation(), this.getSpecifiedQoSAnnotation_QosAnnotations_SpecifiedQoSAnnotation(), "specifiedQoSAnnotations_QoSAnnotations", null, 0, -1, QoSAnnotations.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
445 
446                EOperation op = addEOperation(qoSAnnotationsEClass, ecorePackage.getEBoolean(), "MultipleReliabilityAnnotationsPerExternalCallNotAllowed", 0, 1, IS_UNIQUE, IS_ORDERED);
447                addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
448                EGenericType g1 = createEGenericType(ecorePackage.getEMap());
449                EGenericType g2 = createEGenericType(ecorePackage.getEJavaObject());
450                g1.getETypeArguments().add(g2);
451                g2 = createEGenericType(ecorePackage.getEJavaObject());
452                g1.getETypeArguments().add(g2);
453                addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
454 
455                initEClass(specifiedOutputParameterAbstractionEClass, SpecifiedOutputParameterAbstraction.class, "SpecifiedOutputParameterAbstraction", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
456                initEReference(getSpecifiedOutputParameterAbstraction_Signature_SpecifiedOutputParameterAbstraction(), theRepositoryPackage.getSignature(), null, "signature_SpecifiedOutputParameterAbstraction", null, 1, 1, SpecifiedOutputParameterAbstraction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
457                initEReference(getSpecifiedOutputParameterAbstraction_Role_SpecifiedOutputParameterAbstraction(), theRepositoryPackage.getRole(), null, "role_SpecifiedOutputParameterAbstraction", null, 1, 1, SpecifiedOutputParameterAbstraction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
458                initEReference(getSpecifiedOutputParameterAbstraction_ExpectedExternalOutputs_SpecifiedOutputParameterAbstraction(), theParameterPackage.getVariableUsage(), theParameterPackage.getVariableUsage_SpecifiedOutputParameterAbstraction_expectedExternalOutputs_VariableUsage(), "expectedExternalOutputs_SpecifiedOutputParameterAbstraction", null, 0, -1, SpecifiedOutputParameterAbstraction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
459                initEReference(getSpecifiedOutputParameterAbstraction_QosAnnotations_SpecifiedOutputParameterAbstraction(), this.getQoSAnnotations(), this.getQoSAnnotations_SpecifiedOutputParameterAbstractions_QoSAnnotations(), "qosAnnotations_SpecifiedOutputParameterAbstraction", null, 1, 1, SpecifiedOutputParameterAbstraction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
460        }
461 
462} //QosannotationsPackageImpl

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