1 | /** |
2 | * Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany |
3 | * |
4 | * $Id$ |
5 | */ |
6 | package de.uka.ipd.sdq.pcm.resourceenvironment.impl; |
7 | |
8 | import org.eclipse.emf.ecore.EAttribute; |
9 | import org.eclipse.emf.ecore.EClass; |
10 | import org.eclipse.emf.ecore.EEnum; |
11 | import org.eclipse.emf.ecore.EPackage; |
12 | import org.eclipse.emf.ecore.EReference; |
13 | import org.eclipse.emf.ecore.impl.EPackageImpl; |
14 | |
15 | import de.uka.ipd.sdq.identifier.IdentifierPackage; |
16 | import de.uka.ipd.sdq.pcm.PcmPackage; |
17 | import de.uka.ipd.sdq.pcm.allocation.AllocationPackage; |
18 | import de.uka.ipd.sdq.pcm.allocation.impl.AllocationPackageImpl; |
19 | import de.uka.ipd.sdq.pcm.core.CorePackage; |
20 | import de.uka.ipd.sdq.pcm.core.composition.CompositionPackage; |
21 | import de.uka.ipd.sdq.pcm.core.composition.impl.CompositionPackageImpl; |
22 | import de.uka.ipd.sdq.pcm.core.entity.EntityPackage; |
23 | import de.uka.ipd.sdq.pcm.core.entity.impl.EntityPackageImpl; |
24 | import de.uka.ipd.sdq.pcm.core.impl.CorePackageImpl; |
25 | import de.uka.ipd.sdq.pcm.impl.PcmPackageImpl; |
26 | import de.uka.ipd.sdq.pcm.parameter.ParameterPackage; |
27 | import de.uka.ipd.sdq.pcm.parameter.impl.ParameterPackageImpl; |
28 | import de.uka.ipd.sdq.pcm.protocol.ProtocolPackage; |
29 | import de.uka.ipd.sdq.pcm.protocol.impl.ProtocolPackageImpl; |
30 | import de.uka.ipd.sdq.pcm.qosannotations.QosannotationsPackage; |
31 | import de.uka.ipd.sdq.pcm.qosannotations.impl.QosannotationsPackageImpl; |
32 | import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.Qos_performancePackage; |
33 | import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.impl.Qos_performancePackageImpl; |
34 | import de.uka.ipd.sdq.pcm.qosannotations.qos_reliability.Qos_reliabilityPackage; |
35 | import de.uka.ipd.sdq.pcm.qosannotations.qos_reliability.impl.Qos_reliabilityPackageImpl; |
36 | import de.uka.ipd.sdq.pcm.reliability.ReliabilityPackage; |
37 | import de.uka.ipd.sdq.pcm.reliability.impl.ReliabilityPackageImpl; |
38 | import de.uka.ipd.sdq.pcm.repository.RepositoryPackage; |
39 | import de.uka.ipd.sdq.pcm.repository.impl.RepositoryPackageImpl; |
40 | import de.uka.ipd.sdq.pcm.resourceenvironment.CommunicationLinkResourceSpecification; |
41 | import de.uka.ipd.sdq.pcm.resourceenvironment.ContainerOperatingSystem; |
42 | import de.uka.ipd.sdq.pcm.resourceenvironment.LinkingResource; |
43 | import de.uka.ipd.sdq.pcm.resourceenvironment.ProcessingResourceSpecification; |
44 | import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceContainer; |
45 | import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceEnvironment; |
46 | import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceenvironmentFactory; |
47 | import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceenvironmentPackage; |
48 | import de.uka.ipd.sdq.pcm.resourceenvironment.SchedulingPolicy; |
49 | import de.uka.ipd.sdq.pcm.resourcetype.ResourcetypePackage; |
50 | import de.uka.ipd.sdq.pcm.resourcetype.impl.ResourcetypePackageImpl; |
51 | import de.uka.ipd.sdq.pcm.seff.SeffPackage; |
52 | import de.uka.ipd.sdq.pcm.seff.impl.SeffPackageImpl; |
53 | import de.uka.ipd.sdq.pcm.seff.seff_performance.Seff_performancePackage; |
54 | import de.uka.ipd.sdq.pcm.seff.seff_performance.impl.Seff_performancePackageImpl; |
55 | import de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage; |
56 | import de.uka.ipd.sdq.pcm.seff.seff_reliability.impl.Seff_reliabilityPackageImpl; |
57 | import de.uka.ipd.sdq.pcm.subsystem.SubsystemPackage; |
58 | import de.uka.ipd.sdq.pcm.subsystem.impl.SubsystemPackageImpl; |
59 | import de.uka.ipd.sdq.pcm.system.SystemPackage; |
60 | import de.uka.ipd.sdq.pcm.system.impl.SystemPackageImpl; |
61 | import de.uka.ipd.sdq.pcm.usagemodel.UsagemodelPackage; |
62 | import de.uka.ipd.sdq.pcm.usagemodel.impl.UsagemodelPackageImpl; |
63 | import de.uka.ipd.sdq.stoex.StoexPackage; |
64 | |
65 | /** |
66 | * <!-- begin-user-doc --> |
67 | * An implementation of the model <b>Package</b>. |
68 | * <!-- end-user-doc --> |
69 | * @generated |
70 | */ |
71 | public class ResourceenvironmentPackageImpl extends EPackageImpl implements ResourceenvironmentPackage { |
72 | /** |
73 | * <!-- begin-user-doc --> |
74 | * <!-- end-user-doc --> |
75 | * @generated |
76 | */ |
77 | public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany"; |
78 | |
79 | /** |
80 | * <!-- begin-user-doc --> |
81 | * <!-- end-user-doc --> |
82 | * @generated |
83 | */ |
84 | private EClass resourceEnvironmentEClass = null; |
85 | |
86 | /** |
87 | * <!-- begin-user-doc --> |
88 | * <!-- end-user-doc --> |
89 | * @generated |
90 | */ |
91 | private EClass linkingResourceEClass = null; |
92 | |
93 | /** |
94 | * <!-- begin-user-doc --> |
95 | * <!-- end-user-doc --> |
96 | * @generated |
97 | */ |
98 | private EClass resourceContainerEClass = null; |
99 | |
100 | /** |
101 | * <!-- begin-user-doc --> |
102 | * <!-- end-user-doc --> |
103 | * @generated |
104 | */ |
105 | private EClass processingResourceSpecificationEClass = null; |
106 | |
107 | /** |
108 | * <!-- begin-user-doc --> |
109 | * <!-- end-user-doc --> |
110 | * @generated |
111 | */ |
112 | private EClass communicationLinkResourceSpecificationEClass = null; |
113 | |
114 | /** |
115 | * <!-- begin-user-doc --> |
116 | * <!-- end-user-doc --> |
117 | * @generated |
118 | */ |
119 | private EEnum containerOperatingSystemEEnum = null; |
120 | |
121 | /** |
122 | * <!-- begin-user-doc --> |
123 | * <!-- end-user-doc --> |
124 | * @generated |
125 | */ |
126 | private EEnum schedulingPolicyEEnum = null; |
127 | |
128 | /** |
129 | * Creates an instance of the model <b>Package</b>, registered with |
130 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
131 | * package URI value. |
132 | * <p>Note: the correct way to create the package is via the static |
133 | * factory method {@link #init init()}, which also performs |
134 | * initialization of the package, or returns the registered package, |
135 | * if one already exists. |
136 | * <!-- begin-user-doc --> |
137 | * <!-- end-user-doc --> |
138 | * @see org.eclipse.emf.ecore.EPackage.Registry |
139 | * @see de.uka.ipd.sdq.pcm.resourceenvironment.ResourceenvironmentPackage#eNS_URI |
140 | * @see #init() |
141 | * @generated |
142 | */ |
143 | private ResourceenvironmentPackageImpl() { |
144 | super(eNS_URI, ResourceenvironmentFactory.eINSTANCE); |
145 | } |
146 | |
147 | /** |
148 | * <!-- begin-user-doc --> |
149 | * <!-- end-user-doc --> |
150 | * @generated |
151 | */ |
152 | private static boolean isInited = false; |
153 | |
154 | /** |
155 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
156 | * |
157 | * <p>This method is used to initialize {@link ResourceenvironmentPackage#eINSTANCE} when that field is accessed. |
158 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
159 | * <!-- begin-user-doc --> |
160 | * <!-- end-user-doc --> |
161 | * @see #eNS_URI |
162 | * @see #createPackageContents() |
163 | * @see #initializePackageContents() |
164 | * @generated |
165 | */ |
166 | public static ResourceenvironmentPackage init() { |
167 | if (isInited) return (ResourceenvironmentPackage)EPackage.Registry.INSTANCE.getEPackage(ResourceenvironmentPackage.eNS_URI); |
168 | |
169 | // Obtain or create and register package |
170 | ResourceenvironmentPackageImpl theResourceenvironmentPackage = (ResourceenvironmentPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ResourceenvironmentPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ResourceenvironmentPackageImpl()); |
171 | |
172 | isInited = true; |
173 | |
174 | // Initialize simple dependencies |
175 | IdentifierPackage.eINSTANCE.eClass(); |
176 | StoexPackage.eINSTANCE.eClass(); |
177 | |
178 | // Obtain or create and register interdependencies |
179 | PcmPackageImpl thePcmPackage = (PcmPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PcmPackage.eNS_URI) instanceof PcmPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PcmPackage.eNS_URI) : PcmPackage.eINSTANCE); |
180 | CorePackageImpl theCorePackage = (CorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) instanceof CorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) : CorePackage.eINSTANCE); |
181 | EntityPackageImpl theEntityPackage = (EntityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI) instanceof EntityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI) : EntityPackage.eINSTANCE); |
182 | CompositionPackageImpl theCompositionPackage = (CompositionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CompositionPackage.eNS_URI) instanceof CompositionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CompositionPackage.eNS_URI) : CompositionPackage.eINSTANCE); |
183 | UsagemodelPackageImpl theUsagemodelPackage = (UsagemodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsagemodelPackage.eNS_URI) instanceof UsagemodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsagemodelPackage.eNS_URI) : UsagemodelPackage.eINSTANCE); |
184 | RepositoryPackageImpl theRepositoryPackage = (RepositoryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RepositoryPackage.eNS_URI) instanceof RepositoryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RepositoryPackage.eNS_URI) : RepositoryPackage.eINSTANCE); |
185 | ResourcetypePackageImpl theResourcetypePackage = (ResourcetypePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ResourcetypePackage.eNS_URI) instanceof ResourcetypePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ResourcetypePackage.eNS_URI) : ResourcetypePackage.eINSTANCE); |
186 | ProtocolPackageImpl theProtocolPackage = (ProtocolPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ProtocolPackage.eNS_URI) instanceof ProtocolPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ProtocolPackage.eNS_URI) : ProtocolPackage.eINSTANCE); |
187 | ParameterPackageImpl theParameterPackage = (ParameterPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ParameterPackage.eNS_URI) instanceof ParameterPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ParameterPackage.eNS_URI) : ParameterPackage.eINSTANCE); |
188 | ReliabilityPackageImpl theReliabilityPackage = (ReliabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ReliabilityPackage.eNS_URI) instanceof ReliabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ReliabilityPackage.eNS_URI) : ReliabilityPackage.eINSTANCE); |
189 | SeffPackageImpl theSeffPackage = (SeffPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SeffPackage.eNS_URI) instanceof SeffPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SeffPackage.eNS_URI) : SeffPackage.eINSTANCE); |
190 | 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); |
191 | 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); |
192 | QosannotationsPackageImpl theQosannotationsPackage = (QosannotationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(QosannotationsPackage.eNS_URI) instanceof QosannotationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(QosannotationsPackage.eNS_URI) : QosannotationsPackage.eINSTANCE); |
193 | 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); |
194 | 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); |
195 | SystemPackageImpl theSystemPackage = (SystemPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SystemPackage.eNS_URI) instanceof SystemPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SystemPackage.eNS_URI) : SystemPackage.eINSTANCE); |
196 | AllocationPackageImpl theAllocationPackage = (AllocationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationPackage.eNS_URI) instanceof AllocationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationPackage.eNS_URI) : AllocationPackage.eINSTANCE); |
197 | SubsystemPackageImpl theSubsystemPackage = (SubsystemPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SubsystemPackage.eNS_URI) instanceof SubsystemPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SubsystemPackage.eNS_URI) : SubsystemPackage.eINSTANCE); |
198 | |
199 | // Create package meta-data objects |
200 | theResourceenvironmentPackage.createPackageContents(); |
201 | thePcmPackage.createPackageContents(); |
202 | theCorePackage.createPackageContents(); |
203 | theEntityPackage.createPackageContents(); |
204 | theCompositionPackage.createPackageContents(); |
205 | theUsagemodelPackage.createPackageContents(); |
206 | theRepositoryPackage.createPackageContents(); |
207 | theResourcetypePackage.createPackageContents(); |
208 | theProtocolPackage.createPackageContents(); |
209 | theParameterPackage.createPackageContents(); |
210 | theReliabilityPackage.createPackageContents(); |
211 | theSeffPackage.createPackageContents(); |
212 | theSeff_performancePackage.createPackageContents(); |
213 | theSeff_reliabilityPackage.createPackageContents(); |
214 | theQosannotationsPackage.createPackageContents(); |
215 | theQos_performancePackage.createPackageContents(); |
216 | theQos_reliabilityPackage.createPackageContents(); |
217 | theSystemPackage.createPackageContents(); |
218 | theAllocationPackage.createPackageContents(); |
219 | theSubsystemPackage.createPackageContents(); |
220 | |
221 | // Initialize created meta-data |
222 | theResourceenvironmentPackage.initializePackageContents(); |
223 | thePcmPackage.initializePackageContents(); |
224 | theCorePackage.initializePackageContents(); |
225 | theEntityPackage.initializePackageContents(); |
226 | theCompositionPackage.initializePackageContents(); |
227 | theUsagemodelPackage.initializePackageContents(); |
228 | theRepositoryPackage.initializePackageContents(); |
229 | theResourcetypePackage.initializePackageContents(); |
230 | theProtocolPackage.initializePackageContents(); |
231 | theParameterPackage.initializePackageContents(); |
232 | theReliabilityPackage.initializePackageContents(); |
233 | theSeffPackage.initializePackageContents(); |
234 | theSeff_performancePackage.initializePackageContents(); |
235 | theSeff_reliabilityPackage.initializePackageContents(); |
236 | theQosannotationsPackage.initializePackageContents(); |
237 | theQos_performancePackage.initializePackageContents(); |
238 | theQos_reliabilityPackage.initializePackageContents(); |
239 | theSystemPackage.initializePackageContents(); |
240 | theAllocationPackage.initializePackageContents(); |
241 | theSubsystemPackage.initializePackageContents(); |
242 | |
243 | // Mark meta-data to indicate it can't be changed |
244 | theResourceenvironmentPackage.freeze(); |
245 | |
246 | |
247 | // Update the registry and return the package |
248 | EPackage.Registry.INSTANCE.put(ResourceenvironmentPackage.eNS_URI, theResourceenvironmentPackage); |
249 | return theResourceenvironmentPackage; |
250 | } |
251 | |
252 | /** |
253 | * <!-- begin-user-doc --> |
254 | * <!-- end-user-doc --> |
255 | * @generated |
256 | */ |
257 | public EClass getResourceEnvironment() { |
258 | return resourceEnvironmentEClass; |
259 | } |
260 | |
261 | /** |
262 | * <!-- begin-user-doc --> |
263 | * <!-- end-user-doc --> |
264 | * @generated |
265 | */ |
266 | public EReference getResourceEnvironment_LinkingResources__ResourceEnvironment() { |
267 | return (EReference)resourceEnvironmentEClass.getEStructuralFeatures().get(0); |
268 | } |
269 | |
270 | /** |
271 | * <!-- begin-user-doc --> |
272 | * <!-- end-user-doc --> |
273 | * @generated |
274 | */ |
275 | public EReference getResourceEnvironment_ResourceContainer_ResourceEnvironment() { |
276 | return (EReference)resourceEnvironmentEClass.getEStructuralFeatures().get(1); |
277 | } |
278 | |
279 | /** |
280 | * <!-- begin-user-doc --> |
281 | * <!-- end-user-doc --> |
282 | * @generated |
283 | */ |
284 | public EClass getLinkingResource() { |
285 | return linkingResourceEClass; |
286 | } |
287 | |
288 | /** |
289 | * <!-- begin-user-doc --> |
290 | * <!-- end-user-doc --> |
291 | * @generated |
292 | */ |
293 | public EReference getLinkingResource_ConnectedResourceContainers_LinkingResource() { |
294 | return (EReference)linkingResourceEClass.getEStructuralFeatures().get(0); |
295 | } |
296 | |
297 | /** |
298 | * <!-- begin-user-doc --> |
299 | * <!-- end-user-doc --> |
300 | * @generated |
301 | */ |
302 | public EReference getLinkingResource_CommunicationLinkResourceSpecifications_LinkingResource() { |
303 | return (EReference)linkingResourceEClass.getEStructuralFeatures().get(1); |
304 | } |
305 | |
306 | /** |
307 | * <!-- begin-user-doc --> |
308 | * <!-- end-user-doc --> |
309 | * @generated |
310 | */ |
311 | public EReference getLinkingResource_ResourceEnvironment_LinkingResource() { |
312 | return (EReference)linkingResourceEClass.getEStructuralFeatures().get(2); |
313 | } |
314 | |
315 | /** |
316 | * <!-- begin-user-doc --> |
317 | * <!-- end-user-doc --> |
318 | * @generated |
319 | */ |
320 | public EClass getResourceContainer() { |
321 | return resourceContainerEClass; |
322 | } |
323 | |
324 | /** |
325 | * <!-- begin-user-doc --> |
326 | * <!-- end-user-doc --> |
327 | * @generated |
328 | */ |
329 | public EAttribute getResourceContainer_OperatingSystem_ResourceContainer() { |
330 | return (EAttribute)resourceContainerEClass.getEStructuralFeatures().get(0); |
331 | } |
332 | |
333 | /** |
334 | * <!-- begin-user-doc --> |
335 | * <!-- end-user-doc --> |
336 | * @generated |
337 | */ |
338 | public EReference getResourceContainer_ActiveResourceSpecifications_ResourceContainer() { |
339 | return (EReference)resourceContainerEClass.getEStructuralFeatures().get(1); |
340 | } |
341 | |
342 | /** |
343 | * <!-- begin-user-doc --> |
344 | * <!-- end-user-doc --> |
345 | * @generated |
346 | */ |
347 | public EReference getResourceContainer_ResourceEnvironment_ResourceContainer() { |
348 | return (EReference)resourceContainerEClass.getEStructuralFeatures().get(2); |
349 | } |
350 | |
351 | /** |
352 | * <!-- begin-user-doc --> |
353 | * <!-- end-user-doc --> |
354 | * @generated |
355 | */ |
356 | public EReference getResourceContainer_NestedResourceContainers__ResourceContainer() { |
357 | return (EReference)resourceContainerEClass.getEStructuralFeatures().get(3); |
358 | } |
359 | |
360 | /** |
361 | * <!-- begin-user-doc --> |
362 | * <!-- end-user-doc --> |
363 | * @generated |
364 | */ |
365 | public EReference getResourceContainer_ParentResourceContainer__ResourceContainer() { |
366 | return (EReference)resourceContainerEClass.getEStructuralFeatures().get(4); |
367 | } |
368 | |
369 | /** |
370 | * <!-- begin-user-doc --> |
371 | * <!-- end-user-doc --> |
372 | * @generated |
373 | */ |
374 | public EClass getProcessingResourceSpecification() { |
375 | return processingResourceSpecificationEClass; |
376 | } |
377 | |
378 | /** |
379 | * <!-- begin-user-doc --> |
380 | * <!-- end-user-doc --> |
381 | * @generated |
382 | */ |
383 | public EAttribute getProcessingResourceSpecification_MTTR() { |
384 | return (EAttribute)processingResourceSpecificationEClass.getEStructuralFeatures().get(0); |
385 | } |
386 | |
387 | /** |
388 | * <!-- begin-user-doc --> |
389 | * <!-- end-user-doc --> |
390 | * @generated |
391 | */ |
392 | public EAttribute getProcessingResourceSpecification_MTTF() { |
393 | return (EAttribute)processingResourceSpecificationEClass.getEStructuralFeatures().get(1); |
394 | } |
395 | |
396 | /** |
397 | * <!-- begin-user-doc --> |
398 | * <!-- end-user-doc --> |
399 | * @generated |
400 | */ |
401 | public EAttribute getProcessingResourceSpecification_RequiredByContainer() { |
402 | return (EAttribute)processingResourceSpecificationEClass.getEStructuralFeatures().get(2); |
403 | } |
404 | |
405 | /** |
406 | * <!-- begin-user-doc --> |
407 | * <!-- end-user-doc --> |
408 | * @generated |
409 | */ |
410 | public EAttribute getProcessingResourceSpecification_SchedulingPolicy() { |
411 | return (EAttribute)processingResourceSpecificationEClass.getEStructuralFeatures().get(3); |
412 | } |
413 | |
414 | /** |
415 | * <!-- begin-user-doc --> |
416 | * <!-- end-user-doc --> |
417 | * @generated |
418 | */ |
419 | public EReference getProcessingResourceSpecification_ActiveResourceType_ActiveResourceSpecification() { |
420 | return (EReference)processingResourceSpecificationEClass.getEStructuralFeatures().get(4); |
421 | } |
422 | |
423 | /** |
424 | * <!-- begin-user-doc --> |
425 | * <!-- end-user-doc --> |
426 | * @generated |
427 | */ |
428 | public EReference getProcessingResourceSpecification_ProcessingRate_ProcessingResourceSpecification() { |
429 | return (EReference)processingResourceSpecificationEClass.getEStructuralFeatures().get(5); |
430 | } |
431 | |
432 | /** |
433 | * <!-- begin-user-doc --> |
434 | * <!-- end-user-doc --> |
435 | * @generated |
436 | */ |
437 | public EAttribute getProcessingResourceSpecification_NumberOfReplicas() { |
438 | return (EAttribute)processingResourceSpecificationEClass.getEStructuralFeatures().get(6); |
439 | } |
440 | |
441 | /** |
442 | * <!-- begin-user-doc --> |
443 | * <!-- end-user-doc --> |
444 | * @generated |
445 | */ |
446 | public EReference getProcessingResourceSpecification_ResourceContainer_ProcessingResourceSpecification() { |
447 | return (EReference)processingResourceSpecificationEClass.getEStructuralFeatures().get(7); |
448 | } |
449 | |
450 | /** |
451 | * <!-- begin-user-doc --> |
452 | * <!-- end-user-doc --> |
453 | * @generated |
454 | */ |
455 | public EClass getCommunicationLinkResourceSpecification() { |
456 | return communicationLinkResourceSpecificationEClass; |
457 | } |
458 | |
459 | /** |
460 | * <!-- begin-user-doc --> |
461 | * <!-- end-user-doc --> |
462 | * @generated |
463 | */ |
464 | public EReference getCommunicationLinkResourceSpecification_LinkingResource_CommunicationLinkResourceSpecification() { |
465 | return (EReference)communicationLinkResourceSpecificationEClass.getEStructuralFeatures().get(0); |
466 | } |
467 | |
468 | /** |
469 | * <!-- begin-user-doc --> |
470 | * <!-- end-user-doc --> |
471 | * @generated |
472 | */ |
473 | public EAttribute getCommunicationLinkResourceSpecification_FailureProbability() { |
474 | return (EAttribute)communicationLinkResourceSpecificationEClass.getEStructuralFeatures().get(1); |
475 | } |
476 | |
477 | /** |
478 | * <!-- begin-user-doc --> |
479 | * <!-- end-user-doc --> |
480 | * @generated |
481 | */ |
482 | public EReference getCommunicationLinkResourceSpecification_CommunicationLinkResourceType_CommunicationLinkResourceSpecification() { |
483 | return (EReference)communicationLinkResourceSpecificationEClass.getEStructuralFeatures().get(2); |
484 | } |
485 | |
486 | /** |
487 | * <!-- begin-user-doc --> |
488 | * <!-- end-user-doc --> |
489 | * @generated |
490 | */ |
491 | public EReference getCommunicationLinkResourceSpecification_Latency_CommunicationLinkResourceSpecification() { |
492 | return (EReference)communicationLinkResourceSpecificationEClass.getEStructuralFeatures().get(3); |
493 | } |
494 | |
495 | /** |
496 | * <!-- begin-user-doc --> |
497 | * <!-- end-user-doc --> |
498 | * @generated |
499 | */ |
500 | public EReference getCommunicationLinkResourceSpecification_Throughput_CommunicationLinkResourceSpecification() { |
501 | return (EReference)communicationLinkResourceSpecificationEClass.getEStructuralFeatures().get(4); |
502 | } |
503 | |
504 | /** |
505 | * <!-- begin-user-doc --> |
506 | * <!-- end-user-doc --> |
507 | * @generated |
508 | */ |
509 | public EEnum getContainerOperatingSystem() { |
510 | return containerOperatingSystemEEnum; |
511 | } |
512 | |
513 | /** |
514 | * <!-- begin-user-doc --> |
515 | * <!-- end-user-doc --> |
516 | * @generated |
517 | */ |
518 | public EEnum getSchedulingPolicy() { |
519 | return schedulingPolicyEEnum; |
520 | } |
521 | |
522 | /** |
523 | * <!-- begin-user-doc --> |
524 | * <!-- end-user-doc --> |
525 | * @generated |
526 | */ |
527 | public ResourceenvironmentFactory getResourceenvironmentFactory() { |
528 | return (ResourceenvironmentFactory)getEFactoryInstance(); |
529 | } |
530 | |
531 | /** |
532 | * <!-- begin-user-doc --> |
533 | * <!-- end-user-doc --> |
534 | * @generated |
535 | */ |
536 | private boolean isCreated = false; |
537 | |
538 | /** |
539 | * Creates the meta-model objects for the package. This method is |
540 | * guarded to have no affect on any invocation but its first. |
541 | * <!-- begin-user-doc --> |
542 | * <!-- end-user-doc --> |
543 | * @generated |
544 | */ |
545 | public void createPackageContents() { |
546 | if (isCreated) return; |
547 | isCreated = true; |
548 | |
549 | // Create classes and their features |
550 | resourceEnvironmentEClass = createEClass(RESOURCE_ENVIRONMENT); |
551 | createEReference(resourceEnvironmentEClass, RESOURCE_ENVIRONMENT__LINKING_RESOURCES_RESOURCE_ENVIRONMENT); |
552 | createEReference(resourceEnvironmentEClass, RESOURCE_ENVIRONMENT__RESOURCE_CONTAINER_RESOURCE_ENVIRONMENT); |
553 | |
554 | linkingResourceEClass = createEClass(LINKING_RESOURCE); |
555 | createEReference(linkingResourceEClass, LINKING_RESOURCE__CONNECTED_RESOURCE_CONTAINERS_LINKING_RESOURCE); |
556 | createEReference(linkingResourceEClass, LINKING_RESOURCE__COMMUNICATION_LINK_RESOURCE_SPECIFICATIONS_LINKING_RESOURCE); |
557 | createEReference(linkingResourceEClass, LINKING_RESOURCE__RESOURCE_ENVIRONMENT_LINKING_RESOURCE); |
558 | |
559 | resourceContainerEClass = createEClass(RESOURCE_CONTAINER); |
560 | createEAttribute(resourceContainerEClass, RESOURCE_CONTAINER__OPERATING_SYSTEM_RESOURCE_CONTAINER); |
561 | createEReference(resourceContainerEClass, RESOURCE_CONTAINER__ACTIVE_RESOURCE_SPECIFICATIONS_RESOURCE_CONTAINER); |
562 | createEReference(resourceContainerEClass, RESOURCE_CONTAINER__RESOURCE_ENVIRONMENT_RESOURCE_CONTAINER); |
563 | createEReference(resourceContainerEClass, RESOURCE_CONTAINER__NESTED_RESOURCE_CONTAINERS_RESOURCE_CONTAINER); |
564 | createEReference(resourceContainerEClass, RESOURCE_CONTAINER__PARENT_RESOURCE_CONTAINER_RESOURCE_CONTAINER); |
565 | |
566 | processingResourceSpecificationEClass = createEClass(PROCESSING_RESOURCE_SPECIFICATION); |
567 | createEAttribute(processingResourceSpecificationEClass, PROCESSING_RESOURCE_SPECIFICATION__MTTR); |
568 | createEAttribute(processingResourceSpecificationEClass, PROCESSING_RESOURCE_SPECIFICATION__MTTF); |
569 | createEAttribute(processingResourceSpecificationEClass, PROCESSING_RESOURCE_SPECIFICATION__REQUIRED_BY_CONTAINER); |
570 | createEAttribute(processingResourceSpecificationEClass, PROCESSING_RESOURCE_SPECIFICATION__SCHEDULING_POLICY); |
571 | createEReference(processingResourceSpecificationEClass, PROCESSING_RESOURCE_SPECIFICATION__ACTIVE_RESOURCE_TYPE_ACTIVE_RESOURCE_SPECIFICATION); |
572 | createEReference(processingResourceSpecificationEClass, PROCESSING_RESOURCE_SPECIFICATION__PROCESSING_RATE_PROCESSING_RESOURCE_SPECIFICATION); |
573 | createEAttribute(processingResourceSpecificationEClass, PROCESSING_RESOURCE_SPECIFICATION__NUMBER_OF_REPLICAS); |
574 | createEReference(processingResourceSpecificationEClass, PROCESSING_RESOURCE_SPECIFICATION__RESOURCE_CONTAINER_PROCESSING_RESOURCE_SPECIFICATION); |
575 | |
576 | communicationLinkResourceSpecificationEClass = createEClass(COMMUNICATION_LINK_RESOURCE_SPECIFICATION); |
577 | createEReference(communicationLinkResourceSpecificationEClass, COMMUNICATION_LINK_RESOURCE_SPECIFICATION__LINKING_RESOURCE_COMMUNICATION_LINK_RESOURCE_SPECIFICATION); |
578 | createEAttribute(communicationLinkResourceSpecificationEClass, COMMUNICATION_LINK_RESOURCE_SPECIFICATION__FAILURE_PROBABILITY); |
579 | createEReference(communicationLinkResourceSpecificationEClass, COMMUNICATION_LINK_RESOURCE_SPECIFICATION__COMMUNICATION_LINK_RESOURCE_TYPE_COMMUNICATION_LINK_RESOURCE_SPECIFICATION); |
580 | createEReference(communicationLinkResourceSpecificationEClass, COMMUNICATION_LINK_RESOURCE_SPECIFICATION__LATENCY_COMMUNICATION_LINK_RESOURCE_SPECIFICATION); |
581 | createEReference(communicationLinkResourceSpecificationEClass, COMMUNICATION_LINK_RESOURCE_SPECIFICATION__THROUGHPUT_COMMUNICATION_LINK_RESOURCE_SPECIFICATION); |
582 | |
583 | // Create enums |
584 | containerOperatingSystemEEnum = createEEnum(CONTAINER_OPERATING_SYSTEM); |
585 | schedulingPolicyEEnum = createEEnum(SCHEDULING_POLICY); |
586 | } |
587 | |
588 | /** |
589 | * <!-- begin-user-doc --> |
590 | * <!-- end-user-doc --> |
591 | * @generated |
592 | */ |
593 | private boolean isInitialized = false; |
594 | |
595 | /** |
596 | * Complete the initialization of the package and its meta-model. This |
597 | * method is guarded to have no affect on any invocation but its first. |
598 | * <!-- begin-user-doc --> |
599 | * <!-- end-user-doc --> |
600 | * @generated |
601 | */ |
602 | public void initializePackageContents() { |
603 | if (isInitialized) return; |
604 | isInitialized = true; |
605 | |
606 | // Initialize package |
607 | setName(eNAME); |
608 | setNsPrefix(eNS_PREFIX); |
609 | setNsURI(eNS_URI); |
610 | |
611 | // Obtain other dependent packages |
612 | EntityPackage theEntityPackage = (EntityPackage)EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI); |
613 | ResourcetypePackage theResourcetypePackage = (ResourcetypePackage)EPackage.Registry.INSTANCE.getEPackage(ResourcetypePackage.eNS_URI); |
614 | CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI); |
615 | IdentifierPackage theIdentifierPackage = (IdentifierPackage)EPackage.Registry.INSTANCE.getEPackage(IdentifierPackage.eNS_URI); |
616 | |
617 | // Create type parameters |
618 | |
619 | // Set bounds for type parameters |
620 | |
621 | // Add supertypes to classes |
622 | resourceEnvironmentEClass.getESuperTypes().add(theEntityPackage.getNamedElement()); |
623 | linkingResourceEClass.getESuperTypes().add(theEntityPackage.getEntity()); |
624 | resourceContainerEClass.getESuperTypes().add(theEntityPackage.getEntity()); |
625 | communicationLinkResourceSpecificationEClass.getESuperTypes().add(theIdentifierPackage.getIdentifier()); |
626 | |
627 | // Initialize classes and features; add operations and parameters |
628 | initEClass(resourceEnvironmentEClass, ResourceEnvironment.class, "ResourceEnvironment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
629 | initEReference(getResourceEnvironment_LinkingResources__ResourceEnvironment(), this.getLinkingResource(), this.getLinkingResource_ResourceEnvironment_LinkingResource(), "linkingResources__ResourceEnvironment", null, 0, -1, ResourceEnvironment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
630 | initEReference(getResourceEnvironment_ResourceContainer_ResourceEnvironment(), this.getResourceContainer(), this.getResourceContainer_ResourceEnvironment_ResourceContainer(), "resourceContainer_ResourceEnvironment", null, 0, -1, ResourceEnvironment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
631 | |
632 | initEClass(linkingResourceEClass, LinkingResource.class, "LinkingResource", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
633 | initEReference(getLinkingResource_ConnectedResourceContainers_LinkingResource(), this.getResourceContainer(), null, "connectedResourceContainers_LinkingResource", null, 0, -1, LinkingResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
634 | initEReference(getLinkingResource_CommunicationLinkResourceSpecifications_LinkingResource(), this.getCommunicationLinkResourceSpecification(), this.getCommunicationLinkResourceSpecification_LinkingResource_CommunicationLinkResourceSpecification(), "communicationLinkResourceSpecifications_LinkingResource", null, 1, 1, LinkingResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
635 | initEReference(getLinkingResource_ResourceEnvironment_LinkingResource(), this.getResourceEnvironment(), this.getResourceEnvironment_LinkingResources__ResourceEnvironment(), "resourceEnvironment_LinkingResource", null, 1, 1, LinkingResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
636 | |
637 | initEClass(resourceContainerEClass, ResourceContainer.class, "ResourceContainer", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
638 | initEAttribute(getResourceContainer_OperatingSystem_ResourceContainer(), this.getContainerOperatingSystem(), "operatingSystem_ResourceContainer", "ABSTRACT", 1, 1, ResourceContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
639 | initEReference(getResourceContainer_ActiveResourceSpecifications_ResourceContainer(), this.getProcessingResourceSpecification(), this.getProcessingResourceSpecification_ResourceContainer_ProcessingResourceSpecification(), "activeResourceSpecifications_ResourceContainer", null, 0, -1, ResourceContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
640 | initEReference(getResourceContainer_ResourceEnvironment_ResourceContainer(), this.getResourceEnvironment(), this.getResourceEnvironment_ResourceContainer_ResourceEnvironment(), "resourceEnvironment_ResourceContainer", null, 0, 1, ResourceContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
641 | initEReference(getResourceContainer_NestedResourceContainers__ResourceContainer(), this.getResourceContainer(), this.getResourceContainer_ParentResourceContainer__ResourceContainer(), "nestedResourceContainers__ResourceContainer", null, 0, -1, ResourceContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
642 | initEReference(getResourceContainer_ParentResourceContainer__ResourceContainer(), this.getResourceContainer(), this.getResourceContainer_NestedResourceContainers__ResourceContainer(), "parentResourceContainer__ResourceContainer", null, 0, 1, ResourceContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
643 | |
644 | initEClass(processingResourceSpecificationEClass, ProcessingResourceSpecification.class, "ProcessingResourceSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
645 | initEAttribute(getProcessingResourceSpecification_MTTR(), ecorePackage.getEDouble(), "MTTR", "0.0", 1, 1, ProcessingResourceSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
646 | initEAttribute(getProcessingResourceSpecification_MTTF(), ecorePackage.getEDouble(), "MTTF", "0.0", 1, 1, ProcessingResourceSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
647 | initEAttribute(getProcessingResourceSpecification_RequiredByContainer(), ecorePackage.getEBoolean(), "requiredByContainer", null, 1, 1, ProcessingResourceSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
648 | initEAttribute(getProcessingResourceSpecification_SchedulingPolicy(), this.getSchedulingPolicy(), "schedulingPolicy", "FCFS", 1, 1, ProcessingResourceSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
649 | initEReference(getProcessingResourceSpecification_ActiveResourceType_ActiveResourceSpecification(), theResourcetypePackage.getProcessingResourceType(), null, "activeResourceType_ActiveResourceSpecification", null, 1, 1, ProcessingResourceSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
650 | initEReference(getProcessingResourceSpecification_ProcessingRate_ProcessingResourceSpecification(), theCorePackage.getPCMRandomVariable(), theCorePackage.getPCMRandomVariable_ProcessingResourceSpecification_processingRate_PCMRandomVariable(), "processingRate_ProcessingResourceSpecification", null, 1, 1, ProcessingResourceSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
651 | initEAttribute(getProcessingResourceSpecification_NumberOfReplicas(), ecorePackage.getEInt(), "numberOfReplicas", "1", 1, 1, ProcessingResourceSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
652 | initEReference(getProcessingResourceSpecification_ResourceContainer_ProcessingResourceSpecification(), this.getResourceContainer(), this.getResourceContainer_ActiveResourceSpecifications_ResourceContainer(), "resourceContainer_ProcessingResourceSpecification", null, 1, 1, ProcessingResourceSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
653 | |
654 | initEClass(communicationLinkResourceSpecificationEClass, CommunicationLinkResourceSpecification.class, "CommunicationLinkResourceSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
655 | initEReference(getCommunicationLinkResourceSpecification_LinkingResource_CommunicationLinkResourceSpecification(), this.getLinkingResource(), this.getLinkingResource_CommunicationLinkResourceSpecifications_LinkingResource(), "linkingResource_CommunicationLinkResourceSpecification", null, 1, 1, CommunicationLinkResourceSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
656 | initEAttribute(getCommunicationLinkResourceSpecification_FailureProbability(), ecorePackage.getEDouble(), "failureProbability", "0.0", 1, 1, CommunicationLinkResourceSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
657 | initEReference(getCommunicationLinkResourceSpecification_CommunicationLinkResourceType_CommunicationLinkResourceSpecification(), theResourcetypePackage.getCommunicationLinkResourceType(), null, "communicationLinkResourceType_CommunicationLinkResourceSpecification", null, 1, 1, CommunicationLinkResourceSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
658 | initEReference(getCommunicationLinkResourceSpecification_Latency_CommunicationLinkResourceSpecification(), theCorePackage.getPCMRandomVariable(), theCorePackage.getPCMRandomVariable_CommunicationLinkResourceSpecification_latency_PCMRandomVariable(), "latency_CommunicationLinkResourceSpecification", null, 1, 1, CommunicationLinkResourceSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
659 | initEReference(getCommunicationLinkResourceSpecification_Throughput_CommunicationLinkResourceSpecification(), theCorePackage.getPCMRandomVariable(), theCorePackage.getPCMRandomVariable_CommunicationLinkResourceSpecifcation_throughput_PCMRandomVariable(), "throughput_CommunicationLinkResourceSpecification", null, 1, 1, CommunicationLinkResourceSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
660 | |
661 | // Initialize enums and add enum literals |
662 | initEEnum(containerOperatingSystemEEnum, ContainerOperatingSystem.class, "ContainerOperatingSystem"); |
663 | addEEnumLiteral(containerOperatingSystemEEnum, ContainerOperatingSystem.WINDOWS_VISTA); |
664 | addEEnumLiteral(containerOperatingSystemEEnum, ContainerOperatingSystem.LINUX26_CFS); |
665 | addEEnumLiteral(containerOperatingSystemEEnum, ContainerOperatingSystem.LINUX26_O1); |
666 | addEEnumLiteral(containerOperatingSystemEEnum, ContainerOperatingSystem.WINDOWS_XP); |
667 | addEEnumLiteral(containerOperatingSystemEEnum, ContainerOperatingSystem.WINDOWS_7); |
668 | addEEnumLiteral(containerOperatingSystemEEnum, ContainerOperatingSystem.WINDOWS_2003); |
669 | addEEnumLiteral(containerOperatingSystemEEnum, ContainerOperatingSystem.ABSTRACT); |
670 | |
671 | initEEnum(schedulingPolicyEEnum, SchedulingPolicy.class, "SchedulingPolicy"); |
672 | addEEnumLiteral(schedulingPolicyEEnum, SchedulingPolicy.EXACT); |
673 | addEEnumLiteral(schedulingPolicyEEnum, SchedulingPolicy.DELAY); |
674 | addEEnumLiteral(schedulingPolicyEEnum, SchedulingPolicy.PROCESSOR_SHARING); |
675 | addEEnumLiteral(schedulingPolicyEEnum, SchedulingPolicy.FCFS); |
676 | addEEnumLiteral(schedulingPolicyEEnum, SchedulingPolicy.GINPEX_DETECTED); |
677 | } |
678 | |
679 | } //ResourceenvironmentPackageImpl |