1 | /** |
2 | * Copyright 2006, SDQ Group, University Karlsruhe (TH) |
3 | * |
4 | * $Id$ |
5 | */ |
6 | package de.uka.ipd.sdq.context.aggregatedUsageContext.impl; |
7 | |
8 | import org.eclipse.emf.ecore.EAttribute; |
9 | import org.eclipse.emf.ecore.EClass; |
10 | import org.eclipse.emf.ecore.EPackage; |
11 | import org.eclipse.emf.ecore.EReference; |
12 | import org.eclipse.emf.ecore.impl.EPackageImpl; |
13 | |
14 | import de.uka.ipd.sdq.context.aggregatedUsageContext.AggregatedCommunication; |
15 | import de.uka.ipd.sdq.context.aggregatedUsageContext.AggregatedResourceDemand; |
16 | import de.uka.ipd.sdq.context.aggregatedUsageContext.AggregatedUsageContextFactory; |
17 | import de.uka.ipd.sdq.context.aggregatedUsageContext.AggregatedUsageContextPackage; |
18 | import de.uka.ipd.sdq.context.aggregatedUsageContext.ComputedAggregatedUsage; |
19 | import de.uka.ipd.sdq.context.aggregatedUsageContext.ServiceExecutionContext; |
20 | import de.uka.ipd.sdq.context.computed_allocation.ComputedAllocationPackage; |
21 | import de.uka.ipd.sdq.context.computed_allocation.impl.ComputedAllocationPackageImpl; |
22 | import de.uka.ipd.sdq.context.computed_usage.ComputedUsagePackage; |
23 | import de.uka.ipd.sdq.context.computed_usage.impl.ComputedUsagePackageImpl; |
24 | import de.uka.ipd.sdq.pcm.PcmPackage; |
25 | import de.uka.ipd.sdq.pcm.allocation.AllocationPackage; |
26 | import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceenvironmentPackage; |
27 | import de.uka.ipd.sdq.pcm.resourcetype.ResourcetypePackage; |
28 | import de.uka.ipd.sdq.pcm.seff.SeffPackage; |
29 | import de.uka.ipd.sdq.pcm.usagemodel.UsagemodelPackage; |
30 | |
31 | /** |
32 | * <!-- begin-user-doc --> |
33 | * An implementation of the model <b>Package</b>. |
34 | * <!-- end-user-doc --> |
35 | * @generated |
36 | */ |
37 | public class AggregatedUsageContextPackageImpl extends EPackageImpl implements AggregatedUsageContextPackage { |
38 | /** |
39 | * <!-- begin-user-doc --> |
40 | * <!-- end-user-doc --> |
41 | * @generated |
42 | */ |
43 | public static final String copyright = "Copyright 2006, SDQ Group, University Karlsruhe (TH)"; |
44 | |
45 | /** |
46 | * <!-- begin-user-doc --> |
47 | * <!-- end-user-doc --> |
48 | * @generated |
49 | */ |
50 | private EClass serviceExecutionContextEClass = null; |
51 | |
52 | /** |
53 | * <!-- begin-user-doc --> |
54 | * <!-- end-user-doc --> |
55 | * @generated |
56 | */ |
57 | private EClass aggregatedResourceDemandEClass = null; |
58 | |
59 | /** |
60 | * <!-- begin-user-doc --> |
61 | * <!-- end-user-doc --> |
62 | * @generated |
63 | */ |
64 | private EClass aggregatedCommunicationEClass = null; |
65 | |
66 | /** |
67 | * <!-- begin-user-doc --> |
68 | * <!-- end-user-doc --> |
69 | * @generated |
70 | */ |
71 | private EClass computedAggregatedUsageEClass = null; |
72 | |
73 | /** |
74 | * Creates an instance of the model <b>Package</b>, registered with |
75 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
76 | * package URI value. |
77 | * <p>Note: the correct way to create the package is via the static |
78 | * factory method {@link #init init()}, which also performs |
79 | * initialization of the package, or returns the registered package, |
80 | * if one already exists. |
81 | * <!-- begin-user-doc --> |
82 | * <!-- end-user-doc --> |
83 | * @see org.eclipse.emf.ecore.EPackage.Registry |
84 | * @see de.uka.ipd.sdq.context.aggregatedUsageContext.AggregatedUsageContextPackage#eNS_URI |
85 | * @see #init() |
86 | * @generated |
87 | */ |
88 | private AggregatedUsageContextPackageImpl() { |
89 | super(eNS_URI, AggregatedUsageContextFactory.eINSTANCE); |
90 | } |
91 | |
92 | /** |
93 | * <!-- begin-user-doc --> |
94 | * <!-- end-user-doc --> |
95 | * @generated |
96 | */ |
97 | private static boolean isInited = false; |
98 | |
99 | /** |
100 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
101 | * |
102 | * <p>This method is used to initialize {@link AggregatedUsageContextPackage#eINSTANCE} when that field is accessed. |
103 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
104 | * <!-- begin-user-doc --> |
105 | * <!-- end-user-doc --> |
106 | * @see #eNS_URI |
107 | * @see #createPackageContents() |
108 | * @see #initializePackageContents() |
109 | * @generated |
110 | */ |
111 | public static AggregatedUsageContextPackage init() { |
112 | if (isInited) return (AggregatedUsageContextPackage)EPackage.Registry.INSTANCE.getEPackage(AggregatedUsageContextPackage.eNS_URI); |
113 | |
114 | // Obtain or create and register package |
115 | AggregatedUsageContextPackageImpl theAggregatedUsageContextPackage = (AggregatedUsageContextPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof AggregatedUsageContextPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new AggregatedUsageContextPackageImpl()); |
116 | |
117 | isInited = true; |
118 | |
119 | // Initialize simple dependencies |
120 | PcmPackage.eINSTANCE.eClass(); |
121 | |
122 | // Obtain or create and register interdependencies |
123 | ComputedUsagePackageImpl theComputedUsagePackage = (ComputedUsagePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ComputedUsagePackage.eNS_URI) instanceof ComputedUsagePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ComputedUsagePackage.eNS_URI) : ComputedUsagePackage.eINSTANCE); |
124 | ComputedAllocationPackageImpl theComputedAllocationPackage = (ComputedAllocationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ComputedAllocationPackage.eNS_URI) instanceof ComputedAllocationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ComputedAllocationPackage.eNS_URI) : ComputedAllocationPackage.eINSTANCE); |
125 | |
126 | // Create package meta-data objects |
127 | theAggregatedUsageContextPackage.createPackageContents(); |
128 | theComputedUsagePackage.createPackageContents(); |
129 | theComputedAllocationPackage.createPackageContents(); |
130 | |
131 | // Initialize created meta-data |
132 | theAggregatedUsageContextPackage.initializePackageContents(); |
133 | theComputedUsagePackage.initializePackageContents(); |
134 | theComputedAllocationPackage.initializePackageContents(); |
135 | |
136 | // Mark meta-data to indicate it can't be changed |
137 | theAggregatedUsageContextPackage.freeze(); |
138 | |
139 | |
140 | // Update the registry and return the package |
141 | EPackage.Registry.INSTANCE.put(AggregatedUsageContextPackage.eNS_URI, theAggregatedUsageContextPackage); |
142 | return theAggregatedUsageContextPackage; |
143 | } |
144 | |
145 | /** |
146 | * <!-- begin-user-doc --> |
147 | * <!-- end-user-doc --> |
148 | * @generated |
149 | */ |
150 | public EClass getServiceExecutionContext() { |
151 | return serviceExecutionContextEClass; |
152 | } |
153 | |
154 | /** |
155 | * <!-- begin-user-doc --> |
156 | * <!-- end-user-doc --> |
157 | * @generated |
158 | */ |
159 | public EAttribute getServiceExecutionContext_GlobalExecutionFrequency() { |
160 | return (EAttribute)serviceExecutionContextEClass.getEStructuralFeatures().get(0); |
161 | } |
162 | |
163 | /** |
164 | * <!-- begin-user-doc --> |
165 | * <!-- end-user-doc --> |
166 | * @generated |
167 | */ |
168 | public EReference getServiceExecutionContext_AllocationContext_ServiceExecutionContext() { |
169 | return (EReference)serviceExecutionContextEClass.getEStructuralFeatures().get(1); |
170 | } |
171 | |
172 | /** |
173 | * <!-- begin-user-doc --> |
174 | * <!-- end-user-doc --> |
175 | * @generated |
176 | */ |
177 | public EReference getServiceExecutionContext_DescribedSEFF_ServiceExecutionContext() { |
178 | return (EReference)serviceExecutionContextEClass.getEStructuralFeatures().get(2); |
179 | } |
180 | |
181 | /** |
182 | * <!-- begin-user-doc --> |
183 | * <!-- end-user-doc --> |
184 | * @generated |
185 | */ |
186 | public EReference getServiceExecutionContext_AggregatedResourceDemands_ServiceExecutionContext() { |
187 | return (EReference)serviceExecutionContextEClass.getEStructuralFeatures().get(3); |
188 | } |
189 | |
190 | /** |
191 | * <!-- begin-user-doc --> |
192 | * <!-- end-user-doc --> |
193 | * @generated |
194 | */ |
195 | public EReference getServiceExecutionContext_UsageScenario_ServiceExecutionContext() { |
196 | return (EReference)serviceExecutionContextEClass.getEStructuralFeatures().get(4); |
197 | } |
198 | |
199 | /** |
200 | * <!-- begin-user-doc --> |
201 | * <!-- end-user-doc --> |
202 | * @generated |
203 | */ |
204 | public EReference getServiceExecutionContext_SentAggregatedCommunications_ServiceExecutionContext() { |
205 | return (EReference)serviceExecutionContextEClass.getEStructuralFeatures().get(5); |
206 | } |
207 | |
208 | /** |
209 | * <!-- begin-user-doc --> |
210 | * <!-- end-user-doc --> |
211 | * @generated |
212 | */ |
213 | public EReference getServiceExecutionContext_ReceivedAggregatedCommunication_AggregatedCommunication() { |
214 | return (EReference)serviceExecutionContextEClass.getEStructuralFeatures().get(6); |
215 | } |
216 | |
217 | /** |
218 | * <!-- begin-user-doc --> |
219 | * <!-- end-user-doc --> |
220 | * @generated |
221 | */ |
222 | public EClass getAggregatedResourceDemand() { |
223 | return aggregatedResourceDemandEClass; |
224 | } |
225 | |
226 | /** |
227 | * <!-- begin-user-doc --> |
228 | * <!-- end-user-doc --> |
229 | * @generated |
230 | */ |
231 | public EAttribute getAggregatedResourceDemand_AggregatedResourceDemand() { |
232 | return (EAttribute)aggregatedResourceDemandEClass.getEStructuralFeatures().get(0); |
233 | } |
234 | |
235 | /** |
236 | * <!-- begin-user-doc --> |
237 | * <!-- end-user-doc --> |
238 | * @generated |
239 | */ |
240 | public EReference getAggregatedResourceDemand_ResourceType_AggregatedResourceDemand() { |
241 | return (EReference)aggregatedResourceDemandEClass.getEStructuralFeatures().get(1); |
242 | } |
243 | |
244 | /** |
245 | * <!-- begin-user-doc --> |
246 | * <!-- end-user-doc --> |
247 | * @generated |
248 | */ |
249 | public EClass getAggregatedCommunication() { |
250 | return aggregatedCommunicationEClass; |
251 | } |
252 | |
253 | /** |
254 | * <!-- begin-user-doc --> |
255 | * <!-- end-user-doc --> |
256 | * @generated |
257 | */ |
258 | public EAttribute getAggregatedCommunication_AverageMessageSize() { |
259 | return (EAttribute)aggregatedCommunicationEClass.getEStructuralFeatures().get(0); |
260 | } |
261 | |
262 | /** |
263 | * <!-- begin-user-doc --> |
264 | * <!-- end-user-doc --> |
265 | * @generated |
266 | */ |
267 | public EAttribute getAggregatedCommunication_AverageMessageFrequency() { |
268 | return (EAttribute)aggregatedCommunicationEClass.getEStructuralFeatures().get(1); |
269 | } |
270 | |
271 | /** |
272 | * <!-- begin-user-doc --> |
273 | * <!-- end-user-doc --> |
274 | * @generated |
275 | */ |
276 | public EReference getAggregatedCommunication_Receiver_AggregatedCommunication() { |
277 | return (EReference)aggregatedCommunicationEClass.getEStructuralFeatures().get(2); |
278 | } |
279 | |
280 | /** |
281 | * <!-- begin-user-doc --> |
282 | * <!-- end-user-doc --> |
283 | * @generated |
284 | */ |
285 | public EReference getAggregatedCommunication_UsedCommunicationLinkResourceSpecification_AggregatedCommunication() { |
286 | return (EReference)aggregatedCommunicationEClass.getEStructuralFeatures().get(3); |
287 | } |
288 | |
289 | /** |
290 | * <!-- begin-user-doc --> |
291 | * <!-- end-user-doc --> |
292 | * @generated |
293 | */ |
294 | public EClass getComputedAggregatedUsage() { |
295 | return computedAggregatedUsageEClass; |
296 | } |
297 | |
298 | /** |
299 | * <!-- begin-user-doc --> |
300 | * <!-- end-user-doc --> |
301 | * @generated |
302 | */ |
303 | public EReference getComputedAggregatedUsage_ServiceExecutionContexts_ComputedAggregatedUsage() { |
304 | return (EReference)computedAggregatedUsageEClass.getEStructuralFeatures().get(0); |
305 | } |
306 | |
307 | /** |
308 | * <!-- begin-user-doc --> |
309 | * <!-- end-user-doc --> |
310 | * @generated |
311 | */ |
312 | public AggregatedUsageContextFactory getAggregatedUsageContextFactory() { |
313 | return (AggregatedUsageContextFactory)getEFactoryInstance(); |
314 | } |
315 | |
316 | /** |
317 | * <!-- begin-user-doc --> |
318 | * <!-- end-user-doc --> |
319 | * @generated |
320 | */ |
321 | private boolean isCreated = false; |
322 | |
323 | /** |
324 | * Creates the meta-model objects for the package. This method is |
325 | * guarded to have no affect on any invocation but its first. |
326 | * <!-- begin-user-doc --> |
327 | * <!-- end-user-doc --> |
328 | * @generated |
329 | */ |
330 | public void createPackageContents() { |
331 | if (isCreated) return; |
332 | isCreated = true; |
333 | |
334 | // Create classes and their features |
335 | serviceExecutionContextEClass = createEClass(SERVICE_EXECUTION_CONTEXT); |
336 | createEAttribute(serviceExecutionContextEClass, SERVICE_EXECUTION_CONTEXT__GLOBAL_EXECUTION_FREQUENCY); |
337 | createEReference(serviceExecutionContextEClass, SERVICE_EXECUTION_CONTEXT__ALLOCATION_CONTEXT_SERVICE_EXECUTION_CONTEXT); |
338 | createEReference(serviceExecutionContextEClass, SERVICE_EXECUTION_CONTEXT__DESCRIBED_SEFF_SERVICE_EXECUTION_CONTEXT); |
339 | createEReference(serviceExecutionContextEClass, SERVICE_EXECUTION_CONTEXT__AGGREGATED_RESOURCE_DEMANDS_SERVICE_EXECUTION_CONTEXT); |
340 | createEReference(serviceExecutionContextEClass, SERVICE_EXECUTION_CONTEXT__USAGE_SCENARIO_SERVICE_EXECUTION_CONTEXT); |
341 | createEReference(serviceExecutionContextEClass, SERVICE_EXECUTION_CONTEXT__SENT_AGGREGATED_COMMUNICATIONS_SERVICE_EXECUTION_CONTEXT); |
342 | createEReference(serviceExecutionContextEClass, SERVICE_EXECUTION_CONTEXT__RECEIVED_AGGREGATED_COMMUNICATION_AGGREGATED_COMMUNICATION); |
343 | |
344 | aggregatedResourceDemandEClass = createEClass(AGGREGATED_RESOURCE_DEMAND); |
345 | createEAttribute(aggregatedResourceDemandEClass, AGGREGATED_RESOURCE_DEMAND__AGGREGATED_RESOURCE_DEMAND); |
346 | createEReference(aggregatedResourceDemandEClass, AGGREGATED_RESOURCE_DEMAND__RESOURCE_TYPE_AGGREGATED_RESOURCE_DEMAND); |
347 | |
348 | aggregatedCommunicationEClass = createEClass(AGGREGATED_COMMUNICATION); |
349 | createEAttribute(aggregatedCommunicationEClass, AGGREGATED_COMMUNICATION__AVERAGE_MESSAGE_SIZE); |
350 | createEAttribute(aggregatedCommunicationEClass, AGGREGATED_COMMUNICATION__AVERAGE_MESSAGE_FREQUENCY); |
351 | createEReference(aggregatedCommunicationEClass, AGGREGATED_COMMUNICATION__RECEIVER_AGGREGATED_COMMUNICATION); |
352 | createEReference(aggregatedCommunicationEClass, AGGREGATED_COMMUNICATION__USED_COMMUNICATION_LINK_RESOURCE_SPECIFICATION_AGGREGATED_COMMUNICATION); |
353 | |
354 | computedAggregatedUsageEClass = createEClass(COMPUTED_AGGREGATED_USAGE); |
355 | createEReference(computedAggregatedUsageEClass, COMPUTED_AGGREGATED_USAGE__SERVICE_EXECUTION_CONTEXTS_COMPUTED_AGGREGATED_USAGE); |
356 | } |
357 | |
358 | /** |
359 | * <!-- begin-user-doc --> |
360 | * <!-- end-user-doc --> |
361 | * @generated |
362 | */ |
363 | private boolean isInitialized = false; |
364 | |
365 | /** |
366 | * Complete the initialization of the package and its meta-model. This |
367 | * method is guarded to have no affect on any invocation but its first. |
368 | * <!-- begin-user-doc --> |
369 | * <!-- end-user-doc --> |
370 | * @generated |
371 | */ |
372 | public void initializePackageContents() { |
373 | if (isInitialized) return; |
374 | isInitialized = true; |
375 | |
376 | // Initialize package |
377 | setName(eNAME); |
378 | setNsPrefix(eNS_PREFIX); |
379 | setNsURI(eNS_URI); |
380 | |
381 | // Obtain other dependent packages |
382 | AllocationPackage theAllocationPackage = (AllocationPackage)EPackage.Registry.INSTANCE.getEPackage(AllocationPackage.eNS_URI); |
383 | SeffPackage theSeffPackage = (SeffPackage)EPackage.Registry.INSTANCE.getEPackage(SeffPackage.eNS_URI); |
384 | UsagemodelPackage theUsagemodelPackage = (UsagemodelPackage)EPackage.Registry.INSTANCE.getEPackage(UsagemodelPackage.eNS_URI); |
385 | ResourcetypePackage theResourcetypePackage = (ResourcetypePackage)EPackage.Registry.INSTANCE.getEPackage(ResourcetypePackage.eNS_URI); |
386 | ResourceenvironmentPackage theResourceenvironmentPackage = (ResourceenvironmentPackage)EPackage.Registry.INSTANCE.getEPackage(ResourceenvironmentPackage.eNS_URI); |
387 | |
388 | // Create type parameters |
389 | |
390 | // Set bounds for type parameters |
391 | |
392 | // Add supertypes to classes |
393 | |
394 | // Initialize classes and features; add operations and parameters |
395 | initEClass(serviceExecutionContextEClass, ServiceExecutionContext.class, "ServiceExecutionContext", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
396 | initEAttribute(getServiceExecutionContext_GlobalExecutionFrequency(), ecorePackage.getEDouble(), "globalExecutionFrequency", null, 1, 1, ServiceExecutionContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
397 | initEReference(getServiceExecutionContext_AllocationContext_ServiceExecutionContext(), theAllocationPackage.getAllocationContext(), null, "allocationContext_ServiceExecutionContext", null, 1, 1, ServiceExecutionContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
398 | initEReference(getServiceExecutionContext_DescribedSEFF_ServiceExecutionContext(), theSeffPackage.getResourceDemandingSEFF(), null, "describedSEFF_ServiceExecutionContext", null, 1, 1, ServiceExecutionContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
399 | initEReference(getServiceExecutionContext_AggregatedResourceDemands_ServiceExecutionContext(), this.getAggregatedResourceDemand(), null, "aggregatedResourceDemands_ServiceExecutionContext", null, 0, -1, ServiceExecutionContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
400 | initEReference(getServiceExecutionContext_UsageScenario_ServiceExecutionContext(), theUsagemodelPackage.getUsageScenario(), null, "usageScenario_ServiceExecutionContext", null, 1, 1, ServiceExecutionContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
401 | initEReference(getServiceExecutionContext_SentAggregatedCommunications_ServiceExecutionContext(), this.getAggregatedCommunication(), null, "sentAggregatedCommunications_ServiceExecutionContext", null, 0, -1, ServiceExecutionContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
402 | initEReference(getServiceExecutionContext_ReceivedAggregatedCommunication_AggregatedCommunication(), this.getAggregatedCommunication(), this.getAggregatedCommunication_Receiver_AggregatedCommunication(), "receivedAggregatedCommunication_AggregatedCommunication", null, 0, -1, ServiceExecutionContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
403 | |
404 | initEClass(aggregatedResourceDemandEClass, AggregatedResourceDemand.class, "AggregatedResourceDemand", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
405 | initEAttribute(getAggregatedResourceDemand_AggregatedResourceDemand(), ecorePackage.getEDouble(), "aggregatedResourceDemand", null, 1, 1, AggregatedResourceDemand.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
406 | initEReference(getAggregatedResourceDemand_ResourceType_AggregatedResourceDemand(), theResourcetypePackage.getResourceType(), null, "resourceType_AggregatedResourceDemand", null, 1, 1, AggregatedResourceDemand.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
407 | |
408 | initEClass(aggregatedCommunicationEClass, AggregatedCommunication.class, "AggregatedCommunication", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
409 | initEAttribute(getAggregatedCommunication_AverageMessageSize(), ecorePackage.getEDouble(), "averageMessageSize", null, 1, 1, AggregatedCommunication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
410 | initEAttribute(getAggregatedCommunication_AverageMessageFrequency(), ecorePackage.getEDouble(), "averageMessageFrequency", null, 1, 1, AggregatedCommunication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
411 | initEReference(getAggregatedCommunication_Receiver_AggregatedCommunication(), this.getServiceExecutionContext(), this.getServiceExecutionContext_ReceivedAggregatedCommunication_AggregatedCommunication(), "receiver_AggregatedCommunication", null, 1, 1, AggregatedCommunication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
412 | initEReference(getAggregatedCommunication_UsedCommunicationLinkResourceSpecification_AggregatedCommunication(), theResourceenvironmentPackage.getCommunicationLinkResourceSpecification(), null, "usedCommunicationLinkResourceSpecification_AggregatedCommunication", null, 0, 1, AggregatedCommunication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
413 | |
414 | initEClass(computedAggregatedUsageEClass, ComputedAggregatedUsage.class, "ComputedAggregatedUsage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
415 | initEReference(getComputedAggregatedUsage_ServiceExecutionContexts_ComputedAggregatedUsage(), this.getServiceExecutionContext(), null, "serviceExecutionContexts_ComputedAggregatedUsage", null, 0, -1, ComputedAggregatedUsage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
416 | |
417 | // Create resource |
418 | createResource(eNS_URI); |
419 | } |
420 | |
421 | } //AggregatedUsageContextPackageImpl |