1 | /** |
2 | * Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany |
3 | * |
4 | * $Id$ |
5 | */ |
6 | package de.uka.ipd.sdq.pcm.qosannotations.qos_performance.impl; |
7 | |
8 | import org.eclipse.emf.ecore.EClass; |
9 | import org.eclipse.emf.ecore.EGenericType; |
10 | import org.eclipse.emf.ecore.EOperation; |
11 | import org.eclipse.emf.ecore.EPackage; |
12 | import org.eclipse.emf.ecore.EReference; |
13 | import org.eclipse.emf.ecore.EValidator; |
14 | import org.eclipse.emf.ecore.impl.EPackageImpl; |
15 | |
16 | import de.uka.ipd.sdq.identifier.IdentifierPackage; |
17 | import de.uka.ipd.sdq.pcm.PcmPackage; |
18 | import de.uka.ipd.sdq.pcm.allocation.AllocationPackage; |
19 | import de.uka.ipd.sdq.pcm.allocation.impl.AllocationPackageImpl; |
20 | import de.uka.ipd.sdq.pcm.core.CorePackage; |
21 | import de.uka.ipd.sdq.pcm.core.composition.CompositionPackage; |
22 | import de.uka.ipd.sdq.pcm.core.composition.impl.CompositionPackageImpl; |
23 | import de.uka.ipd.sdq.pcm.core.entity.EntityPackage; |
24 | import de.uka.ipd.sdq.pcm.core.entity.impl.EntityPackageImpl; |
25 | import de.uka.ipd.sdq.pcm.core.impl.CorePackageImpl; |
26 | import de.uka.ipd.sdq.pcm.impl.PcmPackageImpl; |
27 | import de.uka.ipd.sdq.pcm.parameter.ParameterPackage; |
28 | import de.uka.ipd.sdq.pcm.parameter.impl.ParameterPackageImpl; |
29 | import de.uka.ipd.sdq.pcm.protocol.ProtocolPackage; |
30 | import de.uka.ipd.sdq.pcm.protocol.impl.ProtocolPackageImpl; |
31 | import de.uka.ipd.sdq.pcm.qosannotations.QosannotationsPackage; |
32 | import de.uka.ipd.sdq.pcm.qosannotations.impl.QosannotationsPackageImpl; |
33 | import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.ComponentSpecifiedExecutionTime; |
34 | import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.Qos_performanceFactory; |
35 | import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.Qos_performancePackage; |
36 | import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.SpecifiedExecutionTime; |
37 | import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.SystemSpecifiedExecutionTime; |
38 | import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.util.Qos_performanceValidator; |
39 | import de.uka.ipd.sdq.pcm.qosannotations.qos_reliability.Qos_reliabilityPackage; |
40 | import de.uka.ipd.sdq.pcm.qosannotations.qos_reliability.impl.Qos_reliabilityPackageImpl; |
41 | import de.uka.ipd.sdq.pcm.reliability.ReliabilityPackage; |
42 | import de.uka.ipd.sdq.pcm.reliability.impl.ReliabilityPackageImpl; |
43 | import de.uka.ipd.sdq.pcm.repository.RepositoryPackage; |
44 | import de.uka.ipd.sdq.pcm.repository.impl.RepositoryPackageImpl; |
45 | import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceenvironmentPackage; |
46 | import de.uka.ipd.sdq.pcm.resourceenvironment.impl.ResourceenvironmentPackageImpl; |
47 | import de.uka.ipd.sdq.pcm.resourcetype.ResourcetypePackage; |
48 | import de.uka.ipd.sdq.pcm.resourcetype.impl.ResourcetypePackageImpl; |
49 | import de.uka.ipd.sdq.pcm.seff.SeffPackage; |
50 | import de.uka.ipd.sdq.pcm.seff.impl.SeffPackageImpl; |
51 | import de.uka.ipd.sdq.pcm.seff.seff_performance.Seff_performancePackage; |
52 | import de.uka.ipd.sdq.pcm.seff.seff_performance.impl.Seff_performancePackageImpl; |
53 | import de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage; |
54 | import de.uka.ipd.sdq.pcm.seff.seff_reliability.impl.Seff_reliabilityPackageImpl; |
55 | import de.uka.ipd.sdq.pcm.subsystem.SubsystemPackage; |
56 | import de.uka.ipd.sdq.pcm.subsystem.impl.SubsystemPackageImpl; |
57 | import de.uka.ipd.sdq.pcm.system.SystemPackage; |
58 | import de.uka.ipd.sdq.pcm.system.impl.SystemPackageImpl; |
59 | import de.uka.ipd.sdq.pcm.usagemodel.UsagemodelPackage; |
60 | import de.uka.ipd.sdq.pcm.usagemodel.impl.UsagemodelPackageImpl; |
61 | import 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 | */ |
69 | public class Qos_performancePackageImpl extends EPackageImpl implements Qos_performancePackage { |
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 systemSpecifiedExecutionTimeEClass = null; |
83 | |
84 | /** |
85 | * <!-- begin-user-doc --> |
86 | * <!-- end-user-doc --> |
87 | * @generated |
88 | */ |
89 | private EClass specifiedExecutionTimeEClass = null; |
90 | |
91 | /** |
92 | * <!-- begin-user-doc --> |
93 | * <!-- end-user-doc --> |
94 | * @generated |
95 | */ |
96 | private EClass componentSpecifiedExecutionTimeEClass = 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.qos_performance.Qos_performancePackage#eNS_URI |
110 | * @see #init() |
111 | * @generated |
112 | */ |
113 | private Qos_performancePackageImpl() { |
114 | super(eNS_URI, Qos_performanceFactory.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 Qos_performancePackage#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 Qos_performancePackage init() { |
137 | if (isInited) return (Qos_performancePackage)EPackage.Registry.INSTANCE.getEPackage(Qos_performancePackage.eNS_URI); |
138 | |
139 | // Obtain or create and register package |
140 | Qos_performancePackageImpl theQos_performancePackage = (Qos_performancePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Qos_performancePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new Qos_performancePackageImpl()); |
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 | QosannotationsPackageImpl theQosannotationsPackage = (QosannotationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(QosannotationsPackage.eNS_URI) instanceof QosannotationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(QosannotationsPackage.eNS_URI) : QosannotationsPackage.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 | theQos_performancePackage.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 | theQosannotationsPackage.createPackageContents(); |
185 | theQos_reliabilityPackage.createPackageContents(); |
186 | theSystemPackage.createPackageContents(); |
187 | theResourceenvironmentPackage.createPackageContents(); |
188 | theAllocationPackage.createPackageContents(); |
189 | theSubsystemPackage.createPackageContents(); |
190 | |
191 | // Initialize created meta-data |
192 | theQos_performancePackage.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 | theQosannotationsPackage.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 | (theQos_performancePackage, |
216 | new EValidator.Descriptor() { |
217 | public EValidator getEValidator() { |
218 | return Qos_performanceValidator.INSTANCE; |
219 | } |
220 | }); |
221 | |
222 | // Mark meta-data to indicate it can't be changed |
223 | theQos_performancePackage.freeze(); |
224 | |
225 | |
226 | // Update the registry and return the package |
227 | EPackage.Registry.INSTANCE.put(Qos_performancePackage.eNS_URI, theQos_performancePackage); |
228 | return theQos_performancePackage; |
229 | } |
230 | |
231 | /** |
232 | * <!-- begin-user-doc --> |
233 | * <!-- end-user-doc --> |
234 | * @generated |
235 | */ |
236 | public EClass getSystemSpecifiedExecutionTime() { |
237 | return systemSpecifiedExecutionTimeEClass; |
238 | } |
239 | |
240 | /** |
241 | * <!-- begin-user-doc --> |
242 | * <!-- end-user-doc --> |
243 | * @generated |
244 | */ |
245 | public EClass getSpecifiedExecutionTime() { |
246 | return specifiedExecutionTimeEClass; |
247 | } |
248 | |
249 | /** |
250 | * <!-- begin-user-doc --> |
251 | * <!-- end-user-doc --> |
252 | * @generated |
253 | */ |
254 | public EReference getSpecifiedExecutionTime_Specification_SpecifiedExecutionTime() { |
255 | return (EReference)specifiedExecutionTimeEClass.getEStructuralFeatures().get(0); |
256 | } |
257 | |
258 | /** |
259 | * <!-- begin-user-doc --> |
260 | * <!-- end-user-doc --> |
261 | * @generated |
262 | */ |
263 | public EClass getComponentSpecifiedExecutionTime() { |
264 | return componentSpecifiedExecutionTimeEClass; |
265 | } |
266 | |
267 | /** |
268 | * <!-- begin-user-doc --> |
269 | * <!-- end-user-doc --> |
270 | * @generated |
271 | */ |
272 | public EReference getComponentSpecifiedExecutionTime_AssemblyContext_ComponentSpecifiedExecutionTime() { |
273 | return (EReference)componentSpecifiedExecutionTimeEClass.getEStructuralFeatures().get(0); |
274 | } |
275 | |
276 | /** |
277 | * <!-- begin-user-doc --> |
278 | * <!-- end-user-doc --> |
279 | * @generated |
280 | */ |
281 | public Qos_performanceFactory getQos_performanceFactory() { |
282 | return (Qos_performanceFactory)getEFactoryInstance(); |
283 | } |
284 | |
285 | /** |
286 | * <!-- begin-user-doc --> |
287 | * <!-- end-user-doc --> |
288 | * @generated |
289 | */ |
290 | private boolean isCreated = false; |
291 | |
292 | /** |
293 | * Creates the meta-model objects for the package. This method is |
294 | * guarded to have no affect on any invocation but its first. |
295 | * <!-- begin-user-doc --> |
296 | * <!-- end-user-doc --> |
297 | * @generated |
298 | */ |
299 | public void createPackageContents() { |
300 | if (isCreated) return; |
301 | isCreated = true; |
302 | |
303 | // Create classes and their features |
304 | systemSpecifiedExecutionTimeEClass = createEClass(SYSTEM_SPECIFIED_EXECUTION_TIME); |
305 | |
306 | specifiedExecutionTimeEClass = createEClass(SPECIFIED_EXECUTION_TIME); |
307 | createEReference(specifiedExecutionTimeEClass, SPECIFIED_EXECUTION_TIME__SPECIFICATION_SPECIFIED_EXECUTION_TIME); |
308 | |
309 | componentSpecifiedExecutionTimeEClass = createEClass(COMPONENT_SPECIFIED_EXECUTION_TIME); |
310 | createEReference(componentSpecifiedExecutionTimeEClass, COMPONENT_SPECIFIED_EXECUTION_TIME__ASSEMBLY_CONTEXT_COMPONENT_SPECIFIED_EXECUTION_TIME); |
311 | } |
312 | |
313 | /** |
314 | * <!-- begin-user-doc --> |
315 | * <!-- end-user-doc --> |
316 | * @generated |
317 | */ |
318 | private boolean isInitialized = false; |
319 | |
320 | /** |
321 | * Complete the initialization of the package and its meta-model. This |
322 | * method is guarded to have no affect on any invocation but its first. |
323 | * <!-- begin-user-doc --> |
324 | * <!-- end-user-doc --> |
325 | * @generated |
326 | */ |
327 | public void initializePackageContents() { |
328 | if (isInitialized) return; |
329 | isInitialized = true; |
330 | |
331 | // Initialize package |
332 | setName(eNAME); |
333 | setNsPrefix(eNS_PREFIX); |
334 | setNsURI(eNS_URI); |
335 | |
336 | // Obtain other dependent packages |
337 | QosannotationsPackage theQosannotationsPackage = (QosannotationsPackage)EPackage.Registry.INSTANCE.getEPackage(QosannotationsPackage.eNS_URI); |
338 | CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI); |
339 | CompositionPackage theCompositionPackage = (CompositionPackage)EPackage.Registry.INSTANCE.getEPackage(CompositionPackage.eNS_URI); |
340 | |
341 | // Create type parameters |
342 | |
343 | // Set bounds for type parameters |
344 | |
345 | // Add supertypes to classes |
346 | systemSpecifiedExecutionTimeEClass.getESuperTypes().add(this.getSpecifiedExecutionTime()); |
347 | specifiedExecutionTimeEClass.getESuperTypes().add(theQosannotationsPackage.getSpecifiedQoSAnnotation()); |
348 | componentSpecifiedExecutionTimeEClass.getESuperTypes().add(this.getSpecifiedExecutionTime()); |
349 | |
350 | // Initialize classes and features; add operations and parameters |
351 | initEClass(systemSpecifiedExecutionTimeEClass, SystemSpecifiedExecutionTime.class, "SystemSpecifiedExecutionTime", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
352 | |
353 | EOperation op = addEOperation(systemSpecifiedExecutionTimeEClass, ecorePackage.getEBoolean(), "SystemSpecifiedExecutionTimeMustReferenceRequiredRoleOfASystem", 0, 1, IS_UNIQUE, IS_ORDERED); |
354 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
355 | EGenericType g1 = createEGenericType(ecorePackage.getEMap()); |
356 | EGenericType g2 = createEGenericType(ecorePackage.getEJavaObject()); |
357 | g1.getETypeArguments().add(g2); |
358 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
359 | g1.getETypeArguments().add(g2); |
360 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
361 | |
362 | initEClass(specifiedExecutionTimeEClass, SpecifiedExecutionTime.class, "SpecifiedExecutionTime", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
363 | initEReference(getSpecifiedExecutionTime_Specification_SpecifiedExecutionTime(), theCorePackage.getPCMRandomVariable(), theCorePackage.getPCMRandomVariable_SpecifiedExecutionTime_PCMRandomVariable(), "specification_SpecifiedExecutionTime", null, 1, 1, SpecifiedExecutionTime.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
364 | |
365 | initEClass(componentSpecifiedExecutionTimeEClass, ComponentSpecifiedExecutionTime.class, "ComponentSpecifiedExecutionTime", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
366 | initEReference(getComponentSpecifiedExecutionTime_AssemblyContext_ComponentSpecifiedExecutionTime(), theCompositionPackage.getAssemblyContext(), null, "assemblyContext_ComponentSpecifiedExecutionTime", null, 1, 1, ComponentSpecifiedExecutionTime.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
367 | } |
368 | |
369 | } //Qos_performancePackageImpl |