1 | /** |
2 | * <copyright> |
3 | * </copyright> |
4 | * |
5 | * $Id$ |
6 | */ |
7 | package de.uka.ipd.sdq.pcm.designdecision.impl; |
8 | |
9 | import de.uka.ipd.sdq.featuremodel.featuremodelPackage; |
10 | import de.uka.ipd.sdq.pcm.cost.costPackage; |
11 | import de.uka.ipd.sdq.pcm.PcmPackage; |
12 | import de.uka.ipd.sdq.pcm.allocation.AllocationPackage; |
13 | |
14 | import de.uka.ipd.sdq.pcm.core.CorePackage; |
15 | |
16 | import de.uka.ipd.sdq.pcm.core.entity.EntityPackage; |
17 | |
18 | import de.uka.ipd.sdq.pcm.designdecision.AllocationDegree; |
19 | import de.uka.ipd.sdq.pcm.designdecision.AssembledComponentDegree; |
20 | import de.uka.ipd.sdq.pcm.designdecision.Candidate; |
21 | import de.uka.ipd.sdq.pcm.designdecision.Candidates; |
22 | import de.uka.ipd.sdq.pcm.designdecision.CapacityDegree; |
23 | import de.uka.ipd.sdq.pcm.designdecision.Choice; |
24 | import de.uka.ipd.sdq.pcm.designdecision.ClassAsReferenceDegree; |
25 | import de.uka.ipd.sdq.pcm.designdecision.ClassChoice; |
26 | import de.uka.ipd.sdq.pcm.designdecision.ClassDegree; |
27 | import de.uka.ipd.sdq.pcm.designdecision.ClassWithCopyDegree; |
28 | import de.uka.ipd.sdq.pcm.designdecision.ContinousRangeChoice; |
29 | import de.uka.ipd.sdq.pcm.designdecision.ContinuousComponentParamDegree; |
30 | import de.uka.ipd.sdq.pcm.designdecision.ContinuousProcessingRateDegree; |
31 | import de.uka.ipd.sdq.pcm.designdecision.ContinuousRangeDegree; |
32 | import de.uka.ipd.sdq.pcm.designdecision.DataTypeDegree; |
33 | import de.uka.ipd.sdq.pcm.designdecision.DecisionSpace; |
34 | import de.uka.ipd.sdq.pcm.designdecision.DegreeOfFreedomInstance; |
35 | import de.uka.ipd.sdq.pcm.designdecision.DiscreteComponentParamDegree; |
36 | import de.uka.ipd.sdq.pcm.designdecision.DiscreteDegree; |
37 | import de.uka.ipd.sdq.pcm.designdecision.DegreeOfFreedom; |
38 | import de.uka.ipd.sdq.pcm.designdecision.DiscreteProcessingRateDegree; |
39 | import de.uka.ipd.sdq.pcm.designdecision.DiscreteRangeChoice; |
40 | import de.uka.ipd.sdq.pcm.designdecision.DiscreteRangeDegree; |
41 | import de.uka.ipd.sdq.pcm.designdecision.EnumDegree; |
42 | |
43 | import de.uka.ipd.sdq.pcm.designdecision.ExchangeComponentRule; |
44 | import de.uka.ipd.sdq.pcm.designdecision.FeatureConfigDegree; |
45 | import de.uka.ipd.sdq.pcm.designdecision.FeatureGroupDegree; |
46 | import de.uka.ipd.sdq.pcm.designdecision.FeatureSubset; |
47 | import de.uka.ipd.sdq.pcm.designdecision.GDoF.GDoFPackage; |
48 | import de.uka.ipd.sdq.pcm.designdecision.GDoF.impl.GDoFPackageImpl; |
49 | import de.uka.ipd.sdq.pcm.designdecision.NumberOfCoresAsListDegree; |
50 | import de.uka.ipd.sdq.pcm.designdecision.NumberOfCoresAsRangeDegree; |
51 | import de.uka.ipd.sdq.pcm.designdecision.NumberOfCoresDegree; |
52 | import de.uka.ipd.sdq.pcm.designdecision.OptionalFeatureDegree; |
53 | import de.uka.ipd.sdq.pcm.designdecision.OrderedDataTypeDegree; |
54 | import de.uka.ipd.sdq.pcm.designdecision.OrderedIntegerDegree; |
55 | import de.uka.ipd.sdq.pcm.designdecision.ProcessingRateDegree; |
56 | import de.uka.ipd.sdq.pcm.designdecision.PrimitiveTypes.PrimitiveTypesPackage; |
57 | |
58 | import de.uka.ipd.sdq.pcm.designdecision.PrimitiveTypes.impl.PrimitiveTypesPackageImpl; |
59 | |
60 | import de.uka.ipd.sdq.pcm.designdecision.ProcessingResourceDegree; |
61 | import de.uka.ipd.sdq.pcm.designdecision.QualityProperties.QualityPropertiesPackage; |
62 | import de.uka.ipd.sdq.pcm.designdecision.QualityProperties.impl.QualityPropertiesPackageImpl; |
63 | import de.uka.ipd.sdq.pcm.designdecision.RangeDegree; |
64 | import de.uka.ipd.sdq.pcm.designdecision.ResourceContainerReplicationDegree; |
65 | import de.uka.ipd.sdq.pcm.designdecision.ResourceContainerReplicationDegreeWithComponentChange; |
66 | import de.uka.ipd.sdq.pcm.designdecision.ResourceSelectionDegree; |
67 | import de.uka.ipd.sdq.pcm.designdecision.SchedulingPolicyChoice; |
68 | import de.uka.ipd.sdq.pcm.designdecision.SchedulingPolicyDegree; |
69 | import de.uka.ipd.sdq.pcm.designdecision.StringComponentParamDegree; |
70 | import de.uka.ipd.sdq.pcm.designdecision.StringSetDegree; |
71 | import de.uka.ipd.sdq.pcm.designdecision.UnorderedDegree; |
72 | import de.uka.ipd.sdq.pcm.designdecision.UnorderedPrimitiveDegree; |
73 | import de.uka.ipd.sdq.pcm.designdecision.designdecisionFactory; |
74 | import de.uka.ipd.sdq.pcm.designdecision.designdecisionPackage; |
75 | |
76 | import de.uka.ipd.sdq.pcm.designdecision.util.designdecisionValidator; |
77 | |
78 | import de.uka.ipd.sdq.pcm.parameter.ParameterPackage; |
79 | |
80 | import de.uka.ipd.sdq.pcm.protocol.ProtocolPackage; |
81 | |
82 | import de.uka.ipd.sdq.pcm.qosannotations.QosannotationsPackage; |
83 | |
84 | import de.uka.ipd.sdq.pcm.repository.RepositoryPackage; |
85 | |
86 | import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceenvironmentPackage; |
87 | |
88 | import de.uka.ipd.sdq.pcm.resourcerepository.impl.resourcerepositoryPackageImpl; |
89 | import de.uka.ipd.sdq.pcm.resourcerepository.resourcerepositoryPackage; |
90 | import de.uka.ipd.sdq.pcm.resourcetype.ResourcetypePackage; |
91 | |
92 | import de.uka.ipd.sdq.pcm.resultdecorator.ResultdecoratorPackage; |
93 | import de.uka.ipd.sdq.pcm.seff.SeffPackage; |
94 | |
95 | import de.uka.ipd.sdq.pcm.subsystem.SubsystemPackage; |
96 | |
97 | import de.uka.ipd.sdq.pcm.system.SystemPackage; |
98 | |
99 | import de.uka.ipd.sdq.pcm.usagemodel.UsagemodelPackage; |
100 | |
101 | import org.eclipse.emf.ecore.EAttribute; |
102 | import org.eclipse.emf.ecore.EClass; |
103 | import org.eclipse.emf.ecore.EGenericType; |
104 | import org.eclipse.emf.ecore.EOperation; |
105 | import org.eclipse.emf.ecore.EPackage; |
106 | import org.eclipse.emf.ecore.EReference; |
107 | import org.eclipse.emf.ecore.EValidator; |
108 | |
109 | import org.eclipse.emf.ecore.EcorePackage; |
110 | import org.eclipse.emf.ecore.impl.EPackageImpl; |
111 | |
112 | /** |
113 | * <!-- begin-user-doc --> |
114 | * An implementation of the model <b>Package</b>. |
115 | * <!-- end-user-doc --> |
116 | * @generated |
117 | */ |
118 | public class designdecisionPackageImpl extends EPackageImpl implements designdecisionPackage { |
119 | /** |
120 | * <!-- begin-user-doc --> |
121 | * <!-- end-user-doc --> |
122 | * @generated |
123 | */ |
124 | private EClass degreeOfFreedomInstanceEClass = null; |
125 | |
126 | /** |
127 | * <!-- begin-user-doc --> |
128 | * <!-- end-user-doc --> |
129 | * @generated |
130 | */ |
131 | private EClass choiceEClass = null; |
132 | |
133 | /** |
134 | * <!-- begin-user-doc --> |
135 | * <!-- end-user-doc --> |
136 | * @generated |
137 | */ |
138 | private EClass rangeDegreeEClass = null; |
139 | |
140 | /** |
141 | * <!-- begin-user-doc --> |
142 | * <!-- end-user-doc --> |
143 | * @generated |
144 | */ |
145 | private EClass dataTypeDegreeEClass = null; |
146 | |
147 | /** |
148 | * <!-- begin-user-doc --> |
149 | * <!-- end-user-doc --> |
150 | * @generated |
151 | */ |
152 | private EClass classDegreeEClass = null; |
153 | |
154 | /** |
155 | * <!-- begin-user-doc --> |
156 | * <!-- end-user-doc --> |
157 | * @generated |
158 | */ |
159 | private EClass classChoiceEClass = null; |
160 | |
161 | /** |
162 | * <!-- begin-user-doc --> |
163 | * <!-- end-user-doc --> |
164 | * @generated |
165 | */ |
166 | private EClass continousRangeChoiceEClass = null; |
167 | |
168 | /** |
169 | * <!-- begin-user-doc --> |
170 | * <!-- end-user-doc --> |
171 | * @generated |
172 | */ |
173 | private EClass continuousProcessingRateDegreeEClass = null; |
174 | |
175 | /** |
176 | * <!-- begin-user-doc --> |
177 | * <!-- end-user-doc --> |
178 | * @generated |
179 | */ |
180 | private EClass continuousRangeDegreeEClass = null; |
181 | |
182 | /** |
183 | * <!-- begin-user-doc --> |
184 | * <!-- end-user-doc --> |
185 | * @generated |
186 | */ |
187 | private EClass processingRateDegreeEClass = null; |
188 | |
189 | /** |
190 | * <!-- begin-user-doc --> |
191 | * <!-- end-user-doc --> |
192 | * @generated |
193 | */ |
194 | private EClass processingResourceDegreeEClass = null; |
195 | |
196 | /** |
197 | * <!-- begin-user-doc --> |
198 | * <!-- end-user-doc --> |
199 | * @generated |
200 | */ |
201 | private EClass allocationDegreeEClass = null; |
202 | |
203 | /** |
204 | * <!-- begin-user-doc --> |
205 | * <!-- end-user-doc --> |
206 | * @generated |
207 | */ |
208 | private EClass classAsReferenceDegreeEClass = null; |
209 | |
210 | /** |
211 | * <!-- begin-user-doc --> |
212 | * <!-- end-user-doc --> |
213 | * @generated |
214 | */ |
215 | private EClass assembledComponentDegreeEClass = null; |
216 | |
217 | /** |
218 | * <!-- begin-user-doc --> |
219 | * <!-- end-user-doc --> |
220 | * @generated |
221 | */ |
222 | private EClass discreteRangeDegreeEClass = null; |
223 | |
224 | /** |
225 | * <!-- begin-user-doc --> |
226 | * <!-- end-user-doc --> |
227 | * @generated |
228 | */ |
229 | private EClass discreteDegreeEClass = null; |
230 | |
231 | /** |
232 | * <!-- begin-user-doc --> |
233 | * <!-- end-user-doc --> |
234 | * @generated |
235 | */ |
236 | private EClass discreteRangeChoiceEClass = null; |
237 | |
238 | /** |
239 | * <!-- begin-user-doc --> |
240 | * <!-- end-user-doc --> |
241 | * @generated |
242 | */ |
243 | private EClass resourceContainerReplicationDegreeEClass = null; |
244 | |
245 | /** |
246 | * <!-- begin-user-doc --> |
247 | * <!-- end-user-doc --> |
248 | * @generated |
249 | */ |
250 | private EClass decisionSpaceEClass = null; |
251 | |
252 | /** |
253 | * <!-- begin-user-doc --> |
254 | * <!-- end-user-doc --> |
255 | * @generated |
256 | */ |
257 | private EClass candidateEClass = null; |
258 | |
259 | /** |
260 | * <!-- begin-user-doc --> |
261 | * <!-- end-user-doc --> |
262 | * @generated |
263 | */ |
264 | private EClass candidatesEClass = null; |
265 | |
266 | /** |
267 | * <!-- begin-user-doc --> |
268 | * <!-- end-user-doc --> |
269 | * @generated |
270 | */ |
271 | private EClass featureConfigDegreeEClass = null; |
272 | |
273 | /** |
274 | * <!-- begin-user-doc --> |
275 | * <!-- end-user-doc --> |
276 | * @generated |
277 | */ |
278 | private EClass featureGroupDegreeEClass = null; |
279 | |
280 | /** |
281 | * <!-- begin-user-doc --> |
282 | * <!-- end-user-doc --> |
283 | * @generated |
284 | */ |
285 | private EClass featureSubsetEClass = null; |
286 | |
287 | /** |
288 | * <!-- begin-user-doc --> |
289 | * <!-- end-user-doc --> |
290 | * @generated |
291 | */ |
292 | private EClass optionalFeatureDegreeEClass = null; |
293 | |
294 | /** |
295 | * <!-- begin-user-doc --> |
296 | * <!-- end-user-doc --> |
297 | * @generated |
298 | */ |
299 | private EClass discreteProcessingRateDegreeEClass = null; |
300 | |
301 | /** |
302 | * <!-- begin-user-doc --> |
303 | * <!-- end-user-doc --> |
304 | * @generated |
305 | */ |
306 | private EClass capacityDegreeEClass = null; |
307 | |
308 | /** |
309 | * <!-- begin-user-doc --> |
310 | * <!-- end-user-doc --> |
311 | * @generated |
312 | */ |
313 | private EClass schedulingPolicyDegreeEClass = null; |
314 | |
315 | /** |
316 | * <!-- begin-user-doc --> |
317 | * <!-- end-user-doc --> |
318 | * @generated |
319 | */ |
320 | private EClass enumDegreeEClass = null; |
321 | |
322 | /** |
323 | * <!-- begin-user-doc --> |
324 | * <!-- end-user-doc --> |
325 | * @generated |
326 | */ |
327 | private EClass unorderedDegreeEClass = null; |
328 | |
329 | /** |
330 | * <!-- begin-user-doc --> |
331 | * <!-- end-user-doc --> |
332 | * @generated |
333 | */ |
334 | private EClass schedulingPolicyChoiceEClass = null; |
335 | |
336 | /** |
337 | * <!-- begin-user-doc --> |
338 | * <!-- end-user-doc --> |
339 | * @generated |
340 | */ |
341 | private EClass classWithCopyDegreeEClass = null; |
342 | |
343 | /** |
344 | * <!-- begin-user-doc --> |
345 | * <!-- end-user-doc --> |
346 | * @generated |
347 | */ |
348 | private EClass resourceSelectionDegreeEClass = null; |
349 | |
350 | /** |
351 | * <!-- begin-user-doc --> |
352 | * <!-- end-user-doc --> |
353 | * @generated |
354 | */ |
355 | private EClass stringSetDegreeEClass = null; |
356 | |
357 | /** |
358 | * <!-- begin-user-doc --> |
359 | * <!-- end-user-doc --> |
360 | * @generated |
361 | */ |
362 | private EClass discreteComponentParamDegreeEClass = null; |
363 | |
364 | /** |
365 | * <!-- begin-user-doc --> |
366 | * <!-- end-user-doc --> |
367 | * @generated |
368 | */ |
369 | private EClass continuousComponentParamDegreeEClass = null; |
370 | |
371 | /** |
372 | * <!-- begin-user-doc --> |
373 | * <!-- end-user-doc --> |
374 | * @generated |
375 | */ |
376 | private EClass stringComponentParamDegreeEClass = null; |
377 | |
378 | /** |
379 | * <!-- begin-user-doc --> |
380 | * <!-- end-user-doc --> |
381 | * @generated |
382 | */ |
383 | private EClass unorderedPrimitiveDegreeEClass = null; |
384 | |
385 | /** |
386 | * <!-- begin-user-doc --> |
387 | * <!-- end-user-doc --> |
388 | * @generated |
389 | */ |
390 | private EClass numberOfCoresAsRangeDegreeEClass = null; |
391 | |
392 | /** |
393 | * <!-- begin-user-doc --> |
394 | * <!-- end-user-doc --> |
395 | * @generated |
396 | */ |
397 | private EClass numberOfCoresDegreeEClass = null; |
398 | |
399 | /** |
400 | * <!-- begin-user-doc --> |
401 | * <!-- end-user-doc --> |
402 | * @generated |
403 | */ |
404 | private EClass resourceContainerReplicationDegreeWithComponentChangeEClass = null; |
405 | |
406 | /** |
407 | * <!-- begin-user-doc --> |
408 | * <!-- end-user-doc --> |
409 | * @generated |
410 | */ |
411 | private EClass exchangeComponentRuleEClass = null; |
412 | |
413 | /** |
414 | * <!-- begin-user-doc --> |
415 | * <!-- end-user-doc --> |
416 | * @generated |
417 | */ |
418 | private EClass orderedDataTypeDegreeEClass = null; |
419 | |
420 | /** |
421 | * <!-- begin-user-doc --> |
422 | * <!-- end-user-doc --> |
423 | * @generated |
424 | */ |
425 | private EClass orderedIntegerDegreeEClass = null; |
426 | |
427 | /** |
428 | * <!-- begin-user-doc --> |
429 | * <!-- end-user-doc --> |
430 | * @generated |
431 | */ |
432 | private EClass numberOfCoresAsListDegreeEClass = null; |
433 | |
434 | /** |
435 | * Creates an instance of the model <b>Package</b>, registered with |
436 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
437 | * package URI value. |
438 | * <p>Note: the correct way to create the package is via the static |
439 | * factory method {@link #init init()}, which also performs |
440 | * initialization of the package, or returns the registered package, |
441 | * if one already exists. |
442 | * <!-- begin-user-doc --> |
443 | * <!-- end-user-doc --> |
444 | * @see org.eclipse.emf.ecore.EPackage.Registry |
445 | * @see de.uka.ipd.sdq.pcm.designdecision.designdecisionPackage#eNS_URI |
446 | * @see #init() |
447 | * @generated |
448 | */ |
449 | private designdecisionPackageImpl() { |
450 | super(eNS_URI, designdecisionFactory.eINSTANCE); |
451 | } |
452 | |
453 | /** |
454 | * <!-- begin-user-doc --> |
455 | * <!-- end-user-doc --> |
456 | * @generated |
457 | */ |
458 | private static boolean isInited = false; |
459 | |
460 | /** |
461 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
462 | * |
463 | * <p>This method is used to initialize {@link designdecisionPackage#eINSTANCE} when that field is accessed. |
464 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
465 | * <!-- begin-user-doc --> |
466 | * <!-- end-user-doc --> |
467 | * @see #eNS_URI |
468 | * @see #createPackageContents() |
469 | * @see #initializePackageContents() |
470 | * @generated |
471 | */ |
472 | public static designdecisionPackage init() { |
473 | if (isInited) return (designdecisionPackage)EPackage.Registry.INSTANCE.getEPackage(designdecisionPackage.eNS_URI); |
474 | |
475 | // Obtain or create and register package |
476 | designdecisionPackageImpl thedesigndecisionPackage = (designdecisionPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof designdecisionPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new designdecisionPackageImpl()); |
477 | |
478 | isInited = true; |
479 | |
480 | // Initialize simple dependencies |
481 | costPackage.eINSTANCE.eClass(); |
482 | featuremodelPackage.eINSTANCE.eClass(); |
483 | ResultdecoratorPackage.eINSTANCE.eClass(); |
484 | |
485 | // Obtain or create and register interdependencies |
486 | GDoFPackageImpl theGDoFPackage = (GDoFPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GDoFPackage.eNS_URI) instanceof GDoFPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GDoFPackage.eNS_URI) : GDoFPackage.eINSTANCE); |
487 | QualityPropertiesPackageImpl theQualityPropertiesPackage = (QualityPropertiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(QualityPropertiesPackage.eNS_URI) instanceof QualityPropertiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(QualityPropertiesPackage.eNS_URI) : QualityPropertiesPackage.eINSTANCE); |
488 | resourcerepositoryPackageImpl theresourcerepositoryPackage = (resourcerepositoryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(resourcerepositoryPackage.eNS_URI) instanceof resourcerepositoryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(resourcerepositoryPackage.eNS_URI) : resourcerepositoryPackage.eINSTANCE); |
489 | |
490 | // Create package meta-data objects |
491 | thedesigndecisionPackage.createPackageContents(); |
492 | theGDoFPackage.createPackageContents(); |
493 | theQualityPropertiesPackage.createPackageContents(); |
494 | theresourcerepositoryPackage.createPackageContents(); |
495 | |
496 | // Initialize created meta-data |
497 | thedesigndecisionPackage.initializePackageContents(); |
498 | theGDoFPackage.initializePackageContents(); |
499 | theQualityPropertiesPackage.initializePackageContents(); |
500 | theresourcerepositoryPackage.initializePackageContents(); |
501 | |
502 | // Register package validator |
503 | EValidator.Registry.INSTANCE.put |
504 | (thedesigndecisionPackage, |
505 | new EValidator.Descriptor() { |
506 | public EValidator getEValidator() { |
507 | return designdecisionValidator.INSTANCE; |
508 | } |
509 | }); |
510 | |
511 | // Mark meta-data to indicate it can't be changed |
512 | thedesigndecisionPackage.freeze(); |
513 | |
514 | |
515 | // Update the registry and return the package |
516 | EPackage.Registry.INSTANCE.put(designdecisionPackage.eNS_URI, thedesigndecisionPackage); |
517 | return thedesigndecisionPackage; |
518 | } |
519 | |
520 | /** |
521 | * <!-- begin-user-doc --> |
522 | * <!-- end-user-doc --> |
523 | * @generated |
524 | */ |
525 | public EClass getDegreeOfFreedomInstance() { |
526 | return degreeOfFreedomInstanceEClass; |
527 | } |
528 | |
529 | /** |
530 | * <!-- begin-user-doc --> |
531 | * <!-- end-user-doc --> |
532 | * @generated |
533 | */ |
534 | public EReference getDegreeOfFreedomInstance_PrimaryChanged() { |
535 | return (EReference)degreeOfFreedomInstanceEClass.getEStructuralFeatures().get(0); |
536 | } |
537 | |
538 | /** |
539 | * <!-- begin-user-doc --> |
540 | * <!-- end-user-doc --> |
541 | * @generated |
542 | */ |
543 | public EReference getDegreeOfFreedomInstance_Dof() { |
544 | return (EReference)degreeOfFreedomInstanceEClass.getEStructuralFeatures().get(1); |
545 | } |
546 | |
547 | /** |
548 | * <!-- begin-user-doc --> |
549 | * <!-- end-user-doc --> |
550 | * @generated |
551 | */ |
552 | public EClass getChoice() { |
553 | return choiceEClass; |
554 | } |
555 | |
556 | /** |
557 | * <!-- begin-user-doc --> |
558 | * <!-- end-user-doc --> |
559 | * @generated |
560 | */ |
561 | public EAttribute getChoice_IsActive() { |
562 | return (EAttribute)choiceEClass.getEStructuralFeatures().get(0); |
563 | } |
564 | |
565 | /** |
566 | * <!-- begin-user-doc --> |
567 | * <!-- end-user-doc --> |
568 | * @generated |
569 | */ |
570 | public EReference getChoice_DegreeOfFreedomInstance() { |
571 | return (EReference)choiceEClass.getEStructuralFeatures().get(1); |
572 | } |
573 | |
574 | /** |
575 | * <!-- begin-user-doc --> |
576 | * <!-- end-user-doc --> |
577 | * @generated |
578 | */ |
579 | public EClass getRangeDegree() { |
580 | return rangeDegreeEClass; |
581 | } |
582 | |
583 | /** |
584 | * <!-- begin-user-doc --> |
585 | * <!-- end-user-doc --> |
586 | * @generated |
587 | */ |
588 | public EAttribute getRangeDegree_UpperBoundIncluded() { |
589 | return (EAttribute)rangeDegreeEClass.getEStructuralFeatures().get(0); |
590 | } |
591 | |
592 | /** |
593 | * <!-- begin-user-doc --> |
594 | * <!-- end-user-doc --> |
595 | * @generated |
596 | */ |
597 | public EAttribute getRangeDegree_LowerBoundIncluded() { |
598 | return (EAttribute)rangeDegreeEClass.getEStructuralFeatures().get(1); |
599 | } |
600 | |
601 | /** |
602 | * <!-- begin-user-doc --> |
603 | * <!-- end-user-doc --> |
604 | * @generated |
605 | */ |
606 | public EClass getDataTypeDegree() { |
607 | return dataTypeDegreeEClass; |
608 | } |
609 | |
610 | /** |
611 | * <!-- begin-user-doc --> |
612 | * <!-- end-user-doc --> |
613 | * @generated |
614 | */ |
615 | public EClass getClassDegree() { |
616 | return classDegreeEClass; |
617 | } |
618 | |
619 | /** |
620 | * <!-- begin-user-doc --> |
621 | * <!-- end-user-doc --> |
622 | * @generated |
623 | */ |
624 | public EReference getClassDegree_ClassDesignOptions() { |
625 | return (EReference)classDegreeEClass.getEStructuralFeatures().get(0); |
626 | } |
627 | |
628 | /** |
629 | * <!-- begin-user-doc --> |
630 | * <!-- end-user-doc --> |
631 | * @generated |
632 | */ |
633 | public EClass getClassChoice() { |
634 | return classChoiceEClass; |
635 | } |
636 | |
637 | /** |
638 | * <!-- begin-user-doc --> |
639 | * <!-- end-user-doc --> |
640 | * @generated |
641 | */ |
642 | public EReference getClassChoice_ChosenValue() { |
643 | return (EReference)classChoiceEClass.getEStructuralFeatures().get(0); |
644 | } |
645 | |
646 | /** |
647 | * <!-- begin-user-doc --> |
648 | * <!-- end-user-doc --> |
649 | * @generated |
650 | */ |
651 | public EClass getContinousRangeChoice() { |
652 | return continousRangeChoiceEClass; |
653 | } |
654 | |
655 | /** |
656 | * <!-- begin-user-doc --> |
657 | * <!-- end-user-doc --> |
658 | * @generated |
659 | */ |
660 | public EAttribute getContinousRangeChoice_ChosenValue() { |
661 | return (EAttribute)continousRangeChoiceEClass.getEStructuralFeatures().get(0); |
662 | } |
663 | |
664 | /** |
665 | * <!-- begin-user-doc --> |
666 | * <!-- end-user-doc --> |
667 | * @generated |
668 | */ |
669 | public EClass getContinuousProcessingRateDegree() { |
670 | return continuousProcessingRateDegreeEClass; |
671 | } |
672 | |
673 | /** |
674 | * <!-- begin-user-doc --> |
675 | * <!-- end-user-doc --> |
676 | * @generated |
677 | */ |
678 | public EClass getContinuousRangeDegree() { |
679 | return continuousRangeDegreeEClass; |
680 | } |
681 | |
682 | /** |
683 | * <!-- begin-user-doc --> |
684 | * <!-- end-user-doc --> |
685 | * @generated |
686 | */ |
687 | public EAttribute getContinuousRangeDegree_To() { |
688 | return (EAttribute)continuousRangeDegreeEClass.getEStructuralFeatures().get(0); |
689 | } |
690 | |
691 | /** |
692 | * <!-- begin-user-doc --> |
693 | * <!-- end-user-doc --> |
694 | * @generated |
695 | */ |
696 | public EAttribute getContinuousRangeDegree_From() { |
697 | return (EAttribute)continuousRangeDegreeEClass.getEStructuralFeatures().get(1); |
698 | } |
699 | |
700 | /** |
701 | * <!-- begin-user-doc --> |
702 | * <!-- end-user-doc --> |
703 | * @generated |
704 | */ |
705 | public EClass getProcessingRateDegree() { |
706 | return processingRateDegreeEClass; |
707 | } |
708 | |
709 | /** |
710 | * <!-- begin-user-doc --> |
711 | * <!-- end-user-doc --> |
712 | * @generated |
713 | */ |
714 | public EClass getProcessingResourceDegree() { |
715 | return processingResourceDegreeEClass; |
716 | } |
717 | |
718 | /** |
719 | * <!-- begin-user-doc --> |
720 | * <!-- end-user-doc --> |
721 | * @generated |
722 | */ |
723 | public EReference getProcessingResourceDegree_Processingresourcetype() { |
724 | return (EReference)processingResourceDegreeEClass.getEStructuralFeatures().get(0); |
725 | } |
726 | |
727 | /** |
728 | * <!-- begin-user-doc --> |
729 | * <!-- end-user-doc --> |
730 | * @generated |
731 | */ |
732 | public EClass getAllocationDegree() { |
733 | return allocationDegreeEClass; |
734 | } |
735 | |
736 | /** |
737 | * <!-- begin-user-doc --> |
738 | * <!-- end-user-doc --> |
739 | * @generated |
740 | */ |
741 | public EClass getClassAsReferenceDegree() { |
742 | return classAsReferenceDegreeEClass; |
743 | } |
744 | |
745 | /** |
746 | * <!-- begin-user-doc --> |
747 | * <!-- end-user-doc --> |
748 | * @generated |
749 | */ |
750 | public EClass getAssembledComponentDegree() { |
751 | return assembledComponentDegreeEClass; |
752 | } |
753 | |
754 | /** |
755 | * <!-- begin-user-doc --> |
756 | * <!-- end-user-doc --> |
757 | * @generated |
758 | */ |
759 | public EClass getDiscreteRangeDegree() { |
760 | return discreteRangeDegreeEClass; |
761 | } |
762 | |
763 | /** |
764 | * <!-- begin-user-doc --> |
765 | * <!-- end-user-doc --> |
766 | * @generated |
767 | */ |
768 | public EAttribute getDiscreteRangeDegree_To() { |
769 | return (EAttribute)discreteRangeDegreeEClass.getEStructuralFeatures().get(0); |
770 | } |
771 | |
772 | /** |
773 | * <!-- begin-user-doc --> |
774 | * <!-- end-user-doc --> |
775 | * @generated |
776 | */ |
777 | public EAttribute getDiscreteRangeDegree_From() { |
778 | return (EAttribute)discreteRangeDegreeEClass.getEStructuralFeatures().get(1); |
779 | } |
780 | |
781 | /** |
782 | * <!-- begin-user-doc --> |
783 | * <!-- end-user-doc --> |
784 | * @generated |
785 | */ |
786 | public EClass getDiscreteDegree() { |
787 | return discreteDegreeEClass; |
788 | } |
789 | |
790 | /** |
791 | * <!-- begin-user-doc --> |
792 | * <!-- end-user-doc --> |
793 | * @generated |
794 | */ |
795 | public EClass getDiscreteRangeChoice() { |
796 | return discreteRangeChoiceEClass; |
797 | } |
798 | |
799 | /** |
800 | * <!-- begin-user-doc --> |
801 | * <!-- end-user-doc --> |
802 | * @generated |
803 | */ |
804 | public EAttribute getDiscreteRangeChoice_ChosenValue() { |
805 | return (EAttribute)discreteRangeChoiceEClass.getEStructuralFeatures().get(0); |
806 | } |
807 | |
808 | /** |
809 | * <!-- begin-user-doc --> |
810 | * <!-- end-user-doc --> |
811 | * @generated |
812 | */ |
813 | public EClass getResourceContainerReplicationDegree() { |
814 | return resourceContainerReplicationDegreeEClass; |
815 | } |
816 | |
817 | /** |
818 | * <!-- begin-user-doc --> |
819 | * <!-- end-user-doc --> |
820 | * @generated |
821 | */ |
822 | public EClass getDecisionSpace() { |
823 | return decisionSpaceEClass; |
824 | } |
825 | |
826 | /** |
827 | * <!-- begin-user-doc --> |
828 | * <!-- end-user-doc --> |
829 | * @generated |
830 | */ |
831 | public EReference getDecisionSpace_DegreesOfFreedom() { |
832 | return (EReference)decisionSpaceEClass.getEStructuralFeatures().get(0); |
833 | } |
834 | |
835 | /** |
836 | * <!-- begin-user-doc --> |
837 | * <!-- end-user-doc --> |
838 | * @generated |
839 | */ |
840 | public EClass getCandidate() { |
841 | return candidateEClass; |
842 | } |
843 | |
844 | /** |
845 | * <!-- begin-user-doc --> |
846 | * <!-- end-user-doc --> |
847 | * @generated |
848 | */ |
849 | public EReference getCandidate_Choices() { |
850 | return (EReference)candidateEClass.getEStructuralFeatures().get(0); |
851 | } |
852 | |
853 | /** |
854 | * <!-- begin-user-doc --> |
855 | * <!-- end-user-doc --> |
856 | * @generated |
857 | */ |
858 | public EReference getCandidate_QualityProperty() { |
859 | return (EReference)candidateEClass.getEStructuralFeatures().get(1); |
860 | } |
861 | |
862 | /** |
863 | * <!-- begin-user-doc --> |
864 | * <!-- end-user-doc --> |
865 | * @generated |
866 | */ |
867 | public EClass getCandidates() { |
868 | return candidatesEClass; |
869 | } |
870 | |
871 | /** |
872 | * <!-- begin-user-doc --> |
873 | * <!-- end-user-doc --> |
874 | * @generated |
875 | */ |
876 | public EReference getCandidates_Candidate() { |
877 | return (EReference)candidatesEClass.getEStructuralFeatures().get(0); |
878 | } |
879 | |
880 | /** |
881 | * <!-- begin-user-doc --> |
882 | * <!-- end-user-doc --> |
883 | * @generated |
884 | */ |
885 | public EReference getCandidates_Problem() { |
886 | return (EReference)candidatesEClass.getEStructuralFeatures().get(1); |
887 | } |
888 | |
889 | /** |
890 | * <!-- begin-user-doc --> |
891 | * <!-- end-user-doc --> |
892 | * @generated |
893 | */ |
894 | public EClass getFeatureConfigDegree() { |
895 | return featureConfigDegreeEClass; |
896 | } |
897 | |
898 | /** |
899 | * <!-- begin-user-doc --> |
900 | * <!-- end-user-doc --> |
901 | * @generated |
902 | */ |
903 | public EClass getFeatureGroupDegree() { |
904 | return featureGroupDegreeEClass; |
905 | } |
906 | |
907 | /** |
908 | * <!-- begin-user-doc --> |
909 | * <!-- end-user-doc --> |
910 | * @generated |
911 | */ |
912 | public EReference getFeatureGroupDegree_Featuregroup() { |
913 | return (EReference)featureGroupDegreeEClass.getEStructuralFeatures().get(0); |
914 | } |
915 | |
916 | /** |
917 | * <!-- begin-user-doc --> |
918 | * <!-- end-user-doc --> |
919 | * @generated |
920 | */ |
921 | public EReference getFeatureGroupDegree_DomainOfFeatureConfigCombinations() { |
922 | return (EReference)featureGroupDegreeEClass.getEStructuralFeatures().get(1); |
923 | } |
924 | |
925 | /** |
926 | * <!-- begin-user-doc --> |
927 | * <!-- end-user-doc --> |
928 | * @generated |
929 | */ |
930 | public EClass getFeatureSubset() { |
931 | return featureSubsetEClass; |
932 | } |
933 | |
934 | /** |
935 | * <!-- begin-user-doc --> |
936 | * <!-- end-user-doc --> |
937 | * @generated |
938 | */ |
939 | public EReference getFeatureSubset_Feature() { |
940 | return (EReference)featureSubsetEClass.getEStructuralFeatures().get(0); |
941 | } |
942 | |
943 | /** |
944 | * <!-- begin-user-doc --> |
945 | * <!-- end-user-doc --> |
946 | * @generated |
947 | */ |
948 | public EClass getOptionalFeatureDegree() { |
949 | return optionalFeatureDegreeEClass; |
950 | } |
951 | |
952 | /** |
953 | * <!-- begin-user-doc --> |
954 | * <!-- end-user-doc --> |
955 | * @generated |
956 | */ |
957 | public EReference getOptionalFeatureDegree_Simple() { |
958 | return (EReference)optionalFeatureDegreeEClass.getEStructuralFeatures().get(0); |
959 | } |
960 | |
961 | /** |
962 | * <!-- begin-user-doc --> |
963 | * <!-- end-user-doc --> |
964 | * @generated |
965 | */ |
966 | public EClass getDiscreteProcessingRateDegree() { |
967 | return discreteProcessingRateDegreeEClass; |
968 | } |
969 | |
970 | /** |
971 | * <!-- begin-user-doc --> |
972 | * <!-- end-user-doc --> |
973 | * @generated |
974 | */ |
975 | public EAttribute getDiscreteProcessingRateDegree_NumberOfSteps() { |
976 | return (EAttribute)discreteProcessingRateDegreeEClass.getEStructuralFeatures().get(0); |
977 | } |
978 | |
979 | /** |
980 | * <!-- begin-user-doc --> |
981 | * <!-- end-user-doc --> |
982 | * @generated |
983 | */ |
984 | public EClass getCapacityDegree() { |
985 | return capacityDegreeEClass; |
986 | } |
987 | |
988 | /** |
989 | * <!-- begin-user-doc --> |
990 | * <!-- end-user-doc --> |
991 | * @generated |
992 | */ |
993 | public EClass getSchedulingPolicyDegree() { |
994 | return schedulingPolicyDegreeEClass; |
995 | } |
996 | |
997 | /** |
998 | * <!-- begin-user-doc --> |
999 | * <!-- end-user-doc --> |
1000 | * @generated |
1001 | */ |
1002 | public EAttribute getSchedulingPolicyDegree_DomainOfAllowedSchedulingPolicies() { |
1003 | return (EAttribute)schedulingPolicyDegreeEClass.getEStructuralFeatures().get(0); |
1004 | } |
1005 | |
1006 | /** |
1007 | * <!-- begin-user-doc --> |
1008 | * <!-- end-user-doc --> |
1009 | * @generated |
1010 | */ |
1011 | public EClass getEnumDegree() { |
1012 | return enumDegreeEClass; |
1013 | } |
1014 | |
1015 | /** |
1016 | * <!-- begin-user-doc --> |
1017 | * <!-- end-user-doc --> |
1018 | * @generated |
1019 | */ |
1020 | public EReference getEnumDegree_Enumeration() { |
1021 | return (EReference)enumDegreeEClass.getEStructuralFeatures().get(0); |
1022 | } |
1023 | |
1024 | /** |
1025 | * <!-- begin-user-doc --> |
1026 | * <!-- end-user-doc --> |
1027 | * @generated |
1028 | */ |
1029 | public EClass getUnorderedDegree() { |
1030 | return unorderedDegreeEClass; |
1031 | } |
1032 | |
1033 | /** |
1034 | * <!-- begin-user-doc --> |
1035 | * <!-- end-user-doc --> |
1036 | * @generated |
1037 | */ |
1038 | public EClass getSchedulingPolicyChoice() { |
1039 | return schedulingPolicyChoiceEClass; |
1040 | } |
1041 | |
1042 | /** |
1043 | * <!-- begin-user-doc --> |
1044 | * <!-- end-user-doc --> |
1045 | * @generated |
1046 | */ |
1047 | public EAttribute getSchedulingPolicyChoice_ChosenValue() { |
1048 | return (EAttribute)schedulingPolicyChoiceEClass.getEStructuralFeatures().get(0); |
1049 | } |
1050 | |
1051 | /** |
1052 | * <!-- begin-user-doc --> |
1053 | * <!-- end-user-doc --> |
1054 | * @generated |
1055 | */ |
1056 | public EClass getClassWithCopyDegree() { |
1057 | return classWithCopyDegreeEClass; |
1058 | } |
1059 | |
1060 | /** |
1061 | * <!-- begin-user-doc --> |
1062 | * <!-- end-user-doc --> |
1063 | * @generated |
1064 | */ |
1065 | public EClass getResourceSelectionDegree() { |
1066 | return resourceSelectionDegreeEClass; |
1067 | } |
1068 | |
1069 | /** |
1070 | * <!-- begin-user-doc --> |
1071 | * <!-- end-user-doc --> |
1072 | * @generated |
1073 | */ |
1074 | public EClass getStringSetDegree() { |
1075 | return stringSetDegreeEClass; |
1076 | } |
1077 | |
1078 | /** |
1079 | * <!-- begin-user-doc --> |
1080 | * <!-- end-user-doc --> |
1081 | * @generated |
1082 | */ |
1083 | public EAttribute getStringSetDegree_StringValues() { |
1084 | return (EAttribute)stringSetDegreeEClass.getEStructuralFeatures().get(0); |
1085 | } |
1086 | |
1087 | /** |
1088 | * <!-- begin-user-doc --> |
1089 | * <!-- end-user-doc --> |
1090 | * @generated |
1091 | */ |
1092 | public EClass getDiscreteComponentParamDegree() { |
1093 | return discreteComponentParamDegreeEClass; |
1094 | } |
1095 | |
1096 | /** |
1097 | * <!-- begin-user-doc --> |
1098 | * <!-- end-user-doc --> |
1099 | * @generated |
1100 | */ |
1101 | public EClass getContinuousComponentParamDegree() { |
1102 | return continuousComponentParamDegreeEClass; |
1103 | } |
1104 | |
1105 | /** |
1106 | * <!-- begin-user-doc --> |
1107 | * <!-- end-user-doc --> |
1108 | * @generated |
1109 | */ |
1110 | public EClass getStringComponentParamDegree() { |
1111 | return stringComponentParamDegreeEClass; |
1112 | } |
1113 | |
1114 | /** |
1115 | * <!-- begin-user-doc --> |
1116 | * <!-- end-user-doc --> |
1117 | * @generated |
1118 | */ |
1119 | public EClass getUnorderedPrimitiveDegree() { |
1120 | return unorderedPrimitiveDegreeEClass; |
1121 | } |
1122 | |
1123 | /** |
1124 | * <!-- begin-user-doc --> |
1125 | * <!-- end-user-doc --> |
1126 | * @generated |
1127 | */ |
1128 | public EClass getNumberOfCoresAsRangeDegree() { |
1129 | return numberOfCoresAsRangeDegreeEClass; |
1130 | } |
1131 | |
1132 | /** |
1133 | * <!-- begin-user-doc --> |
1134 | * <!-- end-user-doc --> |
1135 | * @generated |
1136 | */ |
1137 | public EClass getNumberOfCoresDegree() { |
1138 | return numberOfCoresDegreeEClass; |
1139 | } |
1140 | |
1141 | /** |
1142 | * <!-- begin-user-doc --> |
1143 | * <!-- end-user-doc --> |
1144 | * @generated |
1145 | */ |
1146 | public EClass getResourceContainerReplicationDegreeWithComponentChange() { |
1147 | return resourceContainerReplicationDegreeWithComponentChangeEClass; |
1148 | } |
1149 | |
1150 | /** |
1151 | * <!-- begin-user-doc --> |
1152 | * <!-- end-user-doc --> |
1153 | * @generated |
1154 | */ |
1155 | public EReference getResourceContainerReplicationDegreeWithComponentChange_ExchangeComponentRule() { |
1156 | return (EReference)resourceContainerReplicationDegreeWithComponentChangeEClass.getEStructuralFeatures().get(0); |
1157 | } |
1158 | |
1159 | /** |
1160 | * <!-- begin-user-doc --> |
1161 | * <!-- end-user-doc --> |
1162 | * @generated |
1163 | */ |
1164 | public EClass getExchangeComponentRule() { |
1165 | return exchangeComponentRuleEClass; |
1166 | } |
1167 | |
1168 | /** |
1169 | * <!-- begin-user-doc --> |
1170 | * <!-- end-user-doc --> |
1171 | * @generated |
1172 | */ |
1173 | public EReference getExchangeComponentRule_RepositoryComponent() { |
1174 | return (EReference)exchangeComponentRuleEClass.getEStructuralFeatures().get(0); |
1175 | } |
1176 | |
1177 | /** |
1178 | * <!-- begin-user-doc --> |
1179 | * <!-- end-user-doc --> |
1180 | * @generated |
1181 | */ |
1182 | public EReference getExchangeComponentRule_AllocationContext() { |
1183 | return (EReference)exchangeComponentRuleEClass.getEStructuralFeatures().get(1); |
1184 | } |
1185 | |
1186 | /** |
1187 | * <!-- begin-user-doc --> |
1188 | * <!-- end-user-doc --> |
1189 | * @generated |
1190 | */ |
1191 | public EClass getOrderedDataTypeDegree() { |
1192 | return orderedDataTypeDegreeEClass; |
1193 | } |
1194 | |
1195 | /** |
1196 | * <!-- begin-user-doc --> |
1197 | * <!-- end-user-doc --> |
1198 | * @generated |
1199 | */ |
1200 | public EClass getOrderedIntegerDegree() { |
1201 | return orderedIntegerDegreeEClass; |
1202 | } |
1203 | |
1204 | /** |
1205 | * <!-- begin-user-doc --> |
1206 | * <!-- end-user-doc --> |
1207 | * @generated |
1208 | */ |
1209 | public EAttribute getOrderedIntegerDegree_ListOfIntegers() { |
1210 | return (EAttribute)orderedIntegerDegreeEClass.getEStructuralFeatures().get(0); |
1211 | } |
1212 | |
1213 | /** |
1214 | * <!-- begin-user-doc --> |
1215 | * <!-- end-user-doc --> |
1216 | * @generated |
1217 | */ |
1218 | public EClass getNumberOfCoresAsListDegree() { |
1219 | return numberOfCoresAsListDegreeEClass; |
1220 | } |
1221 | |
1222 | /** |
1223 | * <!-- begin-user-doc --> |
1224 | * <!-- end-user-doc --> |
1225 | * @generated |
1226 | */ |
1227 | public designdecisionFactory getdesigndecisionFactory() { |
1228 | return (designdecisionFactory)getEFactoryInstance(); |
1229 | } |
1230 | |
1231 | /** |
1232 | * <!-- begin-user-doc --> |
1233 | * <!-- end-user-doc --> |
1234 | * @generated |
1235 | */ |
1236 | private boolean isCreated = false; |
1237 | |
1238 | /** |
1239 | * Creates the meta-model objects for the package. This method is |
1240 | * guarded to have no affect on any invocation but its first. |
1241 | * <!-- begin-user-doc --> |
1242 | * <!-- end-user-doc --> |
1243 | * @generated |
1244 | */ |
1245 | public void createPackageContents() { |
1246 | if (isCreated) return; |
1247 | isCreated = true; |
1248 | |
1249 | // Create classes and their features |
1250 | degreeOfFreedomInstanceEClass = createEClass(DEGREE_OF_FREEDOM_INSTANCE); |
1251 | createEReference(degreeOfFreedomInstanceEClass, DEGREE_OF_FREEDOM_INSTANCE__PRIMARY_CHANGED); |
1252 | createEReference(degreeOfFreedomInstanceEClass, DEGREE_OF_FREEDOM_INSTANCE__DOF); |
1253 | |
1254 | choiceEClass = createEClass(CHOICE); |
1255 | createEAttribute(choiceEClass, CHOICE__IS_ACTIVE); |
1256 | createEReference(choiceEClass, CHOICE__DEGREE_OF_FREEDOM_INSTANCE); |
1257 | |
1258 | rangeDegreeEClass = createEClass(RANGE_DEGREE); |
1259 | createEAttribute(rangeDegreeEClass, RANGE_DEGREE__UPPER_BOUND_INCLUDED); |
1260 | createEAttribute(rangeDegreeEClass, RANGE_DEGREE__LOWER_BOUND_INCLUDED); |
1261 | |
1262 | dataTypeDegreeEClass = createEClass(DATA_TYPE_DEGREE); |
1263 | |
1264 | classDegreeEClass = createEClass(CLASS_DEGREE); |
1265 | createEReference(classDegreeEClass, CLASS_DEGREE__CLASS_DESIGN_OPTIONS); |
1266 | |
1267 | classChoiceEClass = createEClass(CLASS_CHOICE); |
1268 | createEReference(classChoiceEClass, CLASS_CHOICE__CHOSEN_VALUE); |
1269 | |
1270 | continousRangeChoiceEClass = createEClass(CONTINOUS_RANGE_CHOICE); |
1271 | createEAttribute(continousRangeChoiceEClass, CONTINOUS_RANGE_CHOICE__CHOSEN_VALUE); |
1272 | |
1273 | continuousProcessingRateDegreeEClass = createEClass(CONTINUOUS_PROCESSING_RATE_DEGREE); |
1274 | |
1275 | continuousRangeDegreeEClass = createEClass(CONTINUOUS_RANGE_DEGREE); |
1276 | createEAttribute(continuousRangeDegreeEClass, CONTINUOUS_RANGE_DEGREE__TO); |
1277 | createEAttribute(continuousRangeDegreeEClass, CONTINUOUS_RANGE_DEGREE__FROM); |
1278 | |
1279 | processingRateDegreeEClass = createEClass(PROCESSING_RATE_DEGREE); |
1280 | |
1281 | processingResourceDegreeEClass = createEClass(PROCESSING_RESOURCE_DEGREE); |
1282 | createEReference(processingResourceDegreeEClass, PROCESSING_RESOURCE_DEGREE__PROCESSINGRESOURCETYPE); |
1283 | |
1284 | allocationDegreeEClass = createEClass(ALLOCATION_DEGREE); |
1285 | |
1286 | classAsReferenceDegreeEClass = createEClass(CLASS_AS_REFERENCE_DEGREE); |
1287 | |
1288 | assembledComponentDegreeEClass = createEClass(ASSEMBLED_COMPONENT_DEGREE); |
1289 | |
1290 | discreteRangeDegreeEClass = createEClass(DISCRETE_RANGE_DEGREE); |
1291 | createEAttribute(discreteRangeDegreeEClass, DISCRETE_RANGE_DEGREE__TO); |
1292 | createEAttribute(discreteRangeDegreeEClass, DISCRETE_RANGE_DEGREE__FROM); |
1293 | |
1294 | discreteDegreeEClass = createEClass(DISCRETE_DEGREE); |
1295 | |
1296 | discreteRangeChoiceEClass = createEClass(DISCRETE_RANGE_CHOICE); |
1297 | createEAttribute(discreteRangeChoiceEClass, DISCRETE_RANGE_CHOICE__CHOSEN_VALUE); |
1298 | |
1299 | resourceContainerReplicationDegreeEClass = createEClass(RESOURCE_CONTAINER_REPLICATION_DEGREE); |
1300 | |
1301 | decisionSpaceEClass = createEClass(DECISION_SPACE); |
1302 | createEReference(decisionSpaceEClass, DECISION_SPACE__DEGREES_OF_FREEDOM); |
1303 | |
1304 | candidateEClass = createEClass(CANDIDATE); |
1305 | createEReference(candidateEClass, CANDIDATE__CHOICES); |
1306 | createEReference(candidateEClass, CANDIDATE__QUALITY_PROPERTY); |
1307 | |
1308 | candidatesEClass = createEClass(CANDIDATES); |
1309 | createEReference(candidatesEClass, CANDIDATES__CANDIDATE); |
1310 | createEReference(candidatesEClass, CANDIDATES__PROBLEM); |
1311 | |
1312 | featureConfigDegreeEClass = createEClass(FEATURE_CONFIG_DEGREE); |
1313 | |
1314 | featureGroupDegreeEClass = createEClass(FEATURE_GROUP_DEGREE); |
1315 | createEReference(featureGroupDegreeEClass, FEATURE_GROUP_DEGREE__FEATUREGROUP); |
1316 | createEReference(featureGroupDegreeEClass, FEATURE_GROUP_DEGREE__DOMAIN_OF_FEATURE_CONFIG_COMBINATIONS); |
1317 | |
1318 | featureSubsetEClass = createEClass(FEATURE_SUBSET); |
1319 | createEReference(featureSubsetEClass, FEATURE_SUBSET__FEATURE); |
1320 | |
1321 | optionalFeatureDegreeEClass = createEClass(OPTIONAL_FEATURE_DEGREE); |
1322 | createEReference(optionalFeatureDegreeEClass, OPTIONAL_FEATURE_DEGREE__SIMPLE); |
1323 | |
1324 | discreteProcessingRateDegreeEClass = createEClass(DISCRETE_PROCESSING_RATE_DEGREE); |
1325 | createEAttribute(discreteProcessingRateDegreeEClass, DISCRETE_PROCESSING_RATE_DEGREE__NUMBER_OF_STEPS); |
1326 | |
1327 | capacityDegreeEClass = createEClass(CAPACITY_DEGREE); |
1328 | |
1329 | schedulingPolicyDegreeEClass = createEClass(SCHEDULING_POLICY_DEGREE); |
1330 | createEAttribute(schedulingPolicyDegreeEClass, SCHEDULING_POLICY_DEGREE__DOMAIN_OF_ALLOWED_SCHEDULING_POLICIES); |
1331 | |
1332 | enumDegreeEClass = createEClass(ENUM_DEGREE); |
1333 | createEReference(enumDegreeEClass, ENUM_DEGREE__ENUMERATION); |
1334 | |
1335 | unorderedDegreeEClass = createEClass(UNORDERED_DEGREE); |
1336 | |
1337 | schedulingPolicyChoiceEClass = createEClass(SCHEDULING_POLICY_CHOICE); |
1338 | createEAttribute(schedulingPolicyChoiceEClass, SCHEDULING_POLICY_CHOICE__CHOSEN_VALUE); |
1339 | |
1340 | classWithCopyDegreeEClass = createEClass(CLASS_WITH_COPY_DEGREE); |
1341 | |
1342 | resourceSelectionDegreeEClass = createEClass(RESOURCE_SELECTION_DEGREE); |
1343 | |
1344 | stringSetDegreeEClass = createEClass(STRING_SET_DEGREE); |
1345 | createEAttribute(stringSetDegreeEClass, STRING_SET_DEGREE__STRING_VALUES); |
1346 | |
1347 | discreteComponentParamDegreeEClass = createEClass(DISCRETE_COMPONENT_PARAM_DEGREE); |
1348 | |
1349 | continuousComponentParamDegreeEClass = createEClass(CONTINUOUS_COMPONENT_PARAM_DEGREE); |
1350 | |
1351 | stringComponentParamDegreeEClass = createEClass(STRING_COMPONENT_PARAM_DEGREE); |
1352 | |
1353 | unorderedPrimitiveDegreeEClass = createEClass(UNORDERED_PRIMITIVE_DEGREE); |
1354 | |
1355 | numberOfCoresAsRangeDegreeEClass = createEClass(NUMBER_OF_CORES_AS_RANGE_DEGREE); |
1356 | |
1357 | numberOfCoresDegreeEClass = createEClass(NUMBER_OF_CORES_DEGREE); |
1358 | |
1359 | resourceContainerReplicationDegreeWithComponentChangeEClass = createEClass(RESOURCE_CONTAINER_REPLICATION_DEGREE_WITH_COMPONENT_CHANGE); |
1360 | createEReference(resourceContainerReplicationDegreeWithComponentChangeEClass, RESOURCE_CONTAINER_REPLICATION_DEGREE_WITH_COMPONENT_CHANGE__EXCHANGE_COMPONENT_RULE); |
1361 | |
1362 | exchangeComponentRuleEClass = createEClass(EXCHANGE_COMPONENT_RULE); |
1363 | createEReference(exchangeComponentRuleEClass, EXCHANGE_COMPONENT_RULE__REPOSITORY_COMPONENT); |
1364 | createEReference(exchangeComponentRuleEClass, EXCHANGE_COMPONENT_RULE__ALLOCATION_CONTEXT); |
1365 | |
1366 | orderedDataTypeDegreeEClass = createEClass(ORDERED_DATA_TYPE_DEGREE); |
1367 | |
1368 | orderedIntegerDegreeEClass = createEClass(ORDERED_INTEGER_DEGREE); |
1369 | createEAttribute(orderedIntegerDegreeEClass, ORDERED_INTEGER_DEGREE__LIST_OF_INTEGERS); |
1370 | |
1371 | numberOfCoresAsListDegreeEClass = createEClass(NUMBER_OF_CORES_AS_LIST_DEGREE); |
1372 | } |
1373 | |
1374 | /** |
1375 | * <!-- begin-user-doc --> |
1376 | * <!-- end-user-doc --> |
1377 | * @generated |
1378 | */ |
1379 | private boolean isInitialized = false; |
1380 | |
1381 | /** |
1382 | * Complete the initialization of the package and its meta-model. This |
1383 | * method is guarded to have no affect on any invocation but its first. |
1384 | * <!-- begin-user-doc --> |
1385 | * <!-- end-user-doc --> |
1386 | * @generated |
1387 | */ |
1388 | public void initializePackageContents() { |
1389 | if (isInitialized) return; |
1390 | isInitialized = true; |
1391 | |
1392 | // Initialize package |
1393 | setName(eNAME); |
1394 | setNsPrefix(eNS_PREFIX); |
1395 | setNsURI(eNS_URI); |
1396 | |
1397 | // Obtain other dependent packages |
1398 | GDoFPackage theGDoFPackage = (GDoFPackage)EPackage.Registry.INSTANCE.getEPackage(GDoFPackage.eNS_URI); |
1399 | QualityPropertiesPackage theQualityPropertiesPackage = (QualityPropertiesPackage)EPackage.Registry.INSTANCE.getEPackage(QualityPropertiesPackage.eNS_URI); |
1400 | resourcerepositoryPackage theresourcerepositoryPackage = (resourcerepositoryPackage)EPackage.Registry.INSTANCE.getEPackage(resourcerepositoryPackage.eNS_URI); |
1401 | EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); |
1402 | ResourcetypePackage theResourcetypePackage = (ResourcetypePackage)EPackage.Registry.INSTANCE.getEPackage(ResourcetypePackage.eNS_URI); |
1403 | featuremodelPackage thefeaturemodelPackage = (featuremodelPackage)EPackage.Registry.INSTANCE.getEPackage(featuremodelPackage.eNS_URI); |
1404 | ResourceenvironmentPackage theResourceenvironmentPackage = (ResourceenvironmentPackage)EPackage.Registry.INSTANCE.getEPackage(ResourceenvironmentPackage.eNS_URI); |
1405 | RepositoryPackage theRepositoryPackage = (RepositoryPackage)EPackage.Registry.INSTANCE.getEPackage(RepositoryPackage.eNS_URI); |
1406 | AllocationPackage theAllocationPackage = (AllocationPackage)EPackage.Registry.INSTANCE.getEPackage(AllocationPackage.eNS_URI); |
1407 | |
1408 | // Add subpackages |
1409 | getESubpackages().add(theGDoFPackage); |
1410 | getESubpackages().add(theQualityPropertiesPackage); |
1411 | getESubpackages().add(theresourcerepositoryPackage); |
1412 | |
1413 | // Create type parameters |
1414 | |
1415 | // Set bounds for type parameters |
1416 | |
1417 | // Add supertypes to classes |
1418 | rangeDegreeEClass.getESuperTypes().add(this.getDataTypeDegree()); |
1419 | dataTypeDegreeEClass.getESuperTypes().add(this.getDegreeOfFreedomInstance()); |
1420 | classDegreeEClass.getESuperTypes().add(this.getDegreeOfFreedomInstance()); |
1421 | classChoiceEClass.getESuperTypes().add(this.getChoice()); |
1422 | continousRangeChoiceEClass.getESuperTypes().add(this.getChoice()); |
1423 | continuousProcessingRateDegreeEClass.getESuperTypes().add(this.getContinuousRangeDegree()); |
1424 | continuousProcessingRateDegreeEClass.getESuperTypes().add(this.getProcessingRateDegree()); |
1425 | continuousRangeDegreeEClass.getESuperTypes().add(this.getRangeDegree()); |
1426 | processingRateDegreeEClass.getESuperTypes().add(this.getProcessingResourceDegree()); |
1427 | processingResourceDegreeEClass.getESuperTypes().add(this.getDegreeOfFreedomInstance()); |
1428 | allocationDegreeEClass.getESuperTypes().add(this.getClassAsReferenceDegree()); |
1429 | classAsReferenceDegreeEClass.getESuperTypes().add(this.getClassDegree()); |
1430 | assembledComponentDegreeEClass.getESuperTypes().add(this.getClassAsReferenceDegree()); |
1431 | discreteRangeDegreeEClass.getESuperTypes().add(this.getRangeDegree()); |
1432 | discreteRangeDegreeEClass.getESuperTypes().add(this.getDiscreteDegree()); |
1433 | discreteDegreeEClass.getESuperTypes().add(this.getDataTypeDegree()); |
1434 | discreteRangeChoiceEClass.getESuperTypes().add(this.getChoice()); |
1435 | resourceContainerReplicationDegreeEClass.getESuperTypes().add(this.getDiscreteRangeDegree()); |
1436 | featureConfigDegreeEClass.getESuperTypes().add(this.getDegreeOfFreedomInstance()); |
1437 | featureGroupDegreeEClass.getESuperTypes().add(this.getFeatureConfigDegree()); |
1438 | optionalFeatureDegreeEClass.getESuperTypes().add(this.getFeatureConfigDegree()); |
1439 | discreteProcessingRateDegreeEClass.getESuperTypes().add(this.getDiscreteRangeDegree()); |
1440 | discreteProcessingRateDegreeEClass.getESuperTypes().add(this.getProcessingRateDegree()); |
1441 | capacityDegreeEClass.getESuperTypes().add(this.getDiscreteRangeDegree()); |
1442 | schedulingPolicyDegreeEClass.getESuperTypes().add(this.getEnumDegree()); |
1443 | schedulingPolicyDegreeEClass.getESuperTypes().add(this.getProcessingResourceDegree()); |
1444 | enumDegreeEClass.getESuperTypes().add(this.getUnorderedDegree()); |
1445 | unorderedDegreeEClass.getESuperTypes().add(this.getDataTypeDegree()); |
1446 | schedulingPolicyChoiceEClass.getESuperTypes().add(this.getChoice()); |
1447 | classWithCopyDegreeEClass.getESuperTypes().add(this.getClassDegree()); |
1448 | resourceSelectionDegreeEClass.getESuperTypes().add(this.getClassWithCopyDegree()); |
1449 | resourceSelectionDegreeEClass.getESuperTypes().add(this.getProcessingResourceDegree()); |
1450 | stringSetDegreeEClass.getESuperTypes().add(this.getUnorderedDegree()); |
1451 | discreteComponentParamDegreeEClass.getESuperTypes().add(this.getDiscreteRangeDegree()); |
1452 | continuousComponentParamDegreeEClass.getESuperTypes().add(this.getContinuousRangeDegree()); |
1453 | stringComponentParamDegreeEClass.getESuperTypes().add(this.getStringSetDegree()); |
1454 | unorderedPrimitiveDegreeEClass.getESuperTypes().add(this.getUnorderedDegree()); |
1455 | numberOfCoresAsRangeDegreeEClass.getESuperTypes().add(this.getDiscreteRangeDegree()); |
1456 | numberOfCoresAsRangeDegreeEClass.getESuperTypes().add(this.getNumberOfCoresDegree()); |
1457 | numberOfCoresDegreeEClass.getESuperTypes().add(this.getProcessingResourceDegree()); |
1458 | resourceContainerReplicationDegreeWithComponentChangeEClass.getESuperTypes().add(this.getResourceContainerReplicationDegree()); |
1459 | orderedDataTypeDegreeEClass.getESuperTypes().add(this.getDataTypeDegree()); |
1460 | orderedIntegerDegreeEClass.getESuperTypes().add(this.getDiscreteDegree()); |
1461 | orderedIntegerDegreeEClass.getESuperTypes().add(this.getOrderedDataTypeDegree()); |
1462 | numberOfCoresAsListDegreeEClass.getESuperTypes().add(this.getNumberOfCoresDegree()); |
1463 | numberOfCoresAsListDegreeEClass.getESuperTypes().add(this.getOrderedIntegerDegree()); |
1464 | |
1465 | // Initialize classes and features; add operations and parameters |
1466 | initEClass(degreeOfFreedomInstanceEClass, DegreeOfFreedomInstance.class, "DegreeOfFreedomInstance", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1467 | initEReference(getDegreeOfFreedomInstance_PrimaryChanged(), theEcorePackage.getEObject(), null, "primaryChanged", null, 1, 1, DegreeOfFreedomInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1468 | initEReference(getDegreeOfFreedomInstance_Dof(), theGDoFPackage.getDegreeOfFreedom(), null, "dof", null, 1, 1, DegreeOfFreedomInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1469 | |
1470 | initEClass(choiceEClass, Choice.class, "Choice", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1471 | initEAttribute(getChoice_IsActive(), ecorePackage.getEBoolean(), "isActive", "true", 1, 1, Choice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1472 | initEReference(getChoice_DegreeOfFreedomInstance(), this.getDegreeOfFreedomInstance(), null, "degreeOfFreedomInstance", null, 1, 1, Choice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1473 | |
1474 | initEClass(rangeDegreeEClass, RangeDegree.class, "RangeDegree", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1475 | initEAttribute(getRangeDegree_UpperBoundIncluded(), ecorePackage.getEBoolean(), "upperBoundIncluded", "true", 1, 1, RangeDegree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1476 | initEAttribute(getRangeDegree_LowerBoundIncluded(), ecorePackage.getEBoolean(), "lowerBoundIncluded", "true", 1, 1, RangeDegree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1477 | |
1478 | initEClass(dataTypeDegreeEClass, DataTypeDegree.class, "DataTypeDegree", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1479 | |
1480 | initEClass(classDegreeEClass, ClassDegree.class, "ClassDegree", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1481 | initEReference(getClassDegree_ClassDesignOptions(), theEcorePackage.getEObject(), null, "classDesignOptions", null, 1, -1, ClassDegree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1482 | |
1483 | initEClass(classChoiceEClass, ClassChoice.class, "ClassChoice", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1484 | initEReference(getClassChoice_ChosenValue(), theEcorePackage.getEObject(), null, "chosenValue", null, 1, 1, ClassChoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1485 | |
1486 | initEClass(continousRangeChoiceEClass, ContinousRangeChoice.class, "ContinousRangeChoice", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1487 | initEAttribute(getContinousRangeChoice_ChosenValue(), ecorePackage.getEDouble(), "chosenValue", null, 1, 1, ContinousRangeChoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1488 | |
1489 | initEClass(continuousProcessingRateDegreeEClass, ContinuousProcessingRateDegree.class, "ContinuousProcessingRateDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1490 | |
1491 | initEClass(continuousRangeDegreeEClass, ContinuousRangeDegree.class, "ContinuousRangeDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1492 | initEAttribute(getContinuousRangeDegree_To(), ecorePackage.getEDouble(), "to", null, 1, 1, ContinuousRangeDegree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1493 | initEAttribute(getContinuousRangeDegree_From(), ecorePackage.getEDouble(), "from", null, 1, 1, ContinuousRangeDegree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1494 | |
1495 | initEClass(processingRateDegreeEClass, ProcessingRateDegree.class, "ProcessingRateDegree", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1496 | |
1497 | initEClass(processingResourceDegreeEClass, ProcessingResourceDegree.class, "ProcessingResourceDegree", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1498 | initEReference(getProcessingResourceDegree_Processingresourcetype(), theResourcetypePackage.getProcessingResourceType(), null, "processingresourcetype", null, 1, 1, ProcessingResourceDegree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1499 | |
1500 | initEClass(allocationDegreeEClass, AllocationDegree.class, "AllocationDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1501 | |
1502 | initEClass(classAsReferenceDegreeEClass, ClassAsReferenceDegree.class, "ClassAsReferenceDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1503 | |
1504 | initEClass(assembledComponentDegreeEClass, AssembledComponentDegree.class, "AssembledComponentDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1505 | |
1506 | initEClass(discreteRangeDegreeEClass, DiscreteRangeDegree.class, "DiscreteRangeDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1507 | initEAttribute(getDiscreteRangeDegree_To(), ecorePackage.getEInt(), "to", null, 1, 1, DiscreteRangeDegree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1508 | initEAttribute(getDiscreteRangeDegree_From(), ecorePackage.getEInt(), "from", null, 1, 1, DiscreteRangeDegree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1509 | |
1510 | initEClass(discreteDegreeEClass, DiscreteDegree.class, "DiscreteDegree", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1511 | |
1512 | initEClass(discreteRangeChoiceEClass, DiscreteRangeChoice.class, "DiscreteRangeChoice", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1513 | initEAttribute(getDiscreteRangeChoice_ChosenValue(), ecorePackage.getEInt(), "chosenValue", null, 1, 1, DiscreteRangeChoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1514 | |
1515 | initEClass(resourceContainerReplicationDegreeEClass, ResourceContainerReplicationDegree.class, "ResourceContainerReplicationDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1516 | |
1517 | initEClass(decisionSpaceEClass, DecisionSpace.class, "DecisionSpace", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1518 | initEReference(getDecisionSpace_DegreesOfFreedom(), this.getDegreeOfFreedomInstance(), null, "degreesOfFreedom", null, 1, -1, DecisionSpace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1519 | |
1520 | initEClass(candidateEClass, Candidate.class, "Candidate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1521 | initEReference(getCandidate_Choices(), this.getChoice(), null, "choices", null, 0, -1, Candidate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1522 | initEReference(getCandidate_QualityProperty(), theQualityPropertiesPackage.getQualityProperty(), null, "qualityProperty", null, 0, -1, Candidate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1523 | |
1524 | initEClass(candidatesEClass, Candidates.class, "Candidates", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1525 | initEReference(getCandidates_Candidate(), this.getCandidate(), null, "candidate", null, 0, -1, Candidates.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1526 | initEReference(getCandidates_Problem(), this.getDecisionSpace(), null, "problem", null, 1, 1, Candidates.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1527 | |
1528 | EOperation op = addEOperation(candidatesEClass, ecorePackage.getEBoolean(), "numberOfChoicesMustEqualNumberOfDecisions", 0, 1, IS_UNIQUE, IS_ORDERED); |
1529 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
1530 | EGenericType g1 = createEGenericType(ecorePackage.getEMap()); |
1531 | EGenericType g2 = createEGenericType(ecorePackage.getEJavaObject()); |
1532 | g1.getETypeArguments().add(g2); |
1533 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
1534 | g1.getETypeArguments().add(g2); |
1535 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
1536 | |
1537 | initEClass(featureConfigDegreeEClass, FeatureConfigDegree.class, "FeatureConfigDegree", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1538 | |
1539 | initEClass(featureGroupDegreeEClass, FeatureGroupDegree.class, "FeatureGroupDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1540 | initEReference(getFeatureGroupDegree_Featuregroup(), thefeaturemodelPackage.getFeatureGroup(), null, "featuregroup", null, 1, 1, FeatureGroupDegree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1541 | initEReference(getFeatureGroupDegree_DomainOfFeatureConfigCombinations(), this.getFeatureSubset(), null, "domainOfFeatureConfigCombinations", null, 1, -1, FeatureGroupDegree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1542 | |
1543 | initEClass(featureSubsetEClass, FeatureSubset.class, "FeatureSubset", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1544 | initEReference(getFeatureSubset_Feature(), thefeaturemodelPackage.getFeature(), null, "feature", null, 0, -1, FeatureSubset.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1545 | |
1546 | initEClass(optionalFeatureDegreeEClass, OptionalFeatureDegree.class, "OptionalFeatureDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1547 | initEReference(getOptionalFeatureDegree_Simple(), thefeaturemodelPackage.getSimple(), null, "simple", null, 1, 1, OptionalFeatureDegree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1548 | |
1549 | initEClass(discreteProcessingRateDegreeEClass, DiscreteProcessingRateDegree.class, "DiscreteProcessingRateDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1550 | initEAttribute(getDiscreteProcessingRateDegree_NumberOfSteps(), ecorePackage.getEInt(), "numberOfSteps", null, 1, 1, DiscreteProcessingRateDegree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1551 | |
1552 | initEClass(capacityDegreeEClass, CapacityDegree.class, "CapacityDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1553 | |
1554 | initEClass(schedulingPolicyDegreeEClass, SchedulingPolicyDegree.class, "SchedulingPolicyDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1555 | initEAttribute(getSchedulingPolicyDegree_DomainOfAllowedSchedulingPolicies(), theResourceenvironmentPackage.getSchedulingPolicy(), "domainOfAllowedSchedulingPolicies", null, 0, -1, SchedulingPolicyDegree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1556 | |
1557 | initEClass(enumDegreeEClass, EnumDegree.class, "EnumDegree", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1558 | initEReference(getEnumDegree_Enumeration(), theEcorePackage.getEEnum(), null, "enumeration", null, 0, 1, EnumDegree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1559 | |
1560 | initEClass(unorderedDegreeEClass, UnorderedDegree.class, "UnorderedDegree", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1561 | |
1562 | initEClass(schedulingPolicyChoiceEClass, SchedulingPolicyChoice.class, "SchedulingPolicyChoice", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1563 | initEAttribute(getSchedulingPolicyChoice_ChosenValue(), theResourceenvironmentPackage.getSchedulingPolicy(), "chosenValue", null, 1, 1, SchedulingPolicyChoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1564 | |
1565 | initEClass(classWithCopyDegreeEClass, ClassWithCopyDegree.class, "ClassWithCopyDegree", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1566 | |
1567 | initEClass(resourceSelectionDegreeEClass, ResourceSelectionDegree.class, "ResourceSelectionDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1568 | |
1569 | initEClass(stringSetDegreeEClass, StringSetDegree.class, "StringSetDegree", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1570 | initEAttribute(getStringSetDegree_StringValues(), ecorePackage.getEString(), "stringValues", null, 1, -1, StringSetDegree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1571 | |
1572 | initEClass(discreteComponentParamDegreeEClass, DiscreteComponentParamDegree.class, "DiscreteComponentParamDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1573 | |
1574 | initEClass(continuousComponentParamDegreeEClass, ContinuousComponentParamDegree.class, "ContinuousComponentParamDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1575 | |
1576 | initEClass(stringComponentParamDegreeEClass, StringComponentParamDegree.class, "StringComponentParamDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1577 | |
1578 | initEClass(unorderedPrimitiveDegreeEClass, UnorderedPrimitiveDegree.class, "UnorderedPrimitiveDegree", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1579 | |
1580 | initEClass(numberOfCoresAsRangeDegreeEClass, NumberOfCoresAsRangeDegree.class, "NumberOfCoresAsRangeDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1581 | |
1582 | initEClass(numberOfCoresDegreeEClass, NumberOfCoresDegree.class, "NumberOfCoresDegree", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1583 | |
1584 | initEClass(resourceContainerReplicationDegreeWithComponentChangeEClass, ResourceContainerReplicationDegreeWithComponentChange.class, "ResourceContainerReplicationDegreeWithComponentChange", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1585 | initEReference(getResourceContainerReplicationDegreeWithComponentChange_ExchangeComponentRule(), this.getExchangeComponentRule(), null, "exchangeComponentRule", null, 0, -1, ResourceContainerReplicationDegreeWithComponentChange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1586 | |
1587 | initEClass(exchangeComponentRuleEClass, ExchangeComponentRule.class, "ExchangeComponentRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1588 | initEReference(getExchangeComponentRule_RepositoryComponent(), theRepositoryPackage.getRepositoryComponent(), null, "repositoryComponent", null, 1, -1, ExchangeComponentRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1589 | initEReference(getExchangeComponentRule_AllocationContext(), theAllocationPackage.getAllocationContext(), null, "allocationContext", null, 0, 1, ExchangeComponentRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1590 | |
1591 | initEClass(orderedDataTypeDegreeEClass, OrderedDataTypeDegree.class, "OrderedDataTypeDegree", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1592 | |
1593 | initEClass(orderedIntegerDegreeEClass, OrderedIntegerDegree.class, "OrderedIntegerDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1594 | initEAttribute(getOrderedIntegerDegree_ListOfIntegers(), ecorePackage.getEInt(), "listOfIntegers", null, 1, -1, OrderedIntegerDegree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
1595 | |
1596 | initEClass(numberOfCoresAsListDegreeEClass, NumberOfCoresAsListDegree.class, "NumberOfCoresAsListDegree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1597 | |
1598 | // Create resource |
1599 | createResource(eNS_URI); |
1600 | } |
1601 | |
1602 | } //designdecisionPackageImpl |