1 | /** |
2 | * <copyright> |
3 | * </copyright> |
4 | * |
5 | * $Id$ |
6 | */ |
7 | package de.uka.ipd.sdq.pcm.designdecision.GDoF.impl; |
8 | |
9 | |
10 | import org.eclipse.emf.ecore.EAttribute; |
11 | import org.eclipse.emf.ecore.EClass; |
12 | import org.eclipse.emf.ecore.EPackage; |
13 | import org.eclipse.emf.ecore.EReference; |
14 | import org.eclipse.emf.ecore.EcorePackage; |
15 | import org.eclipse.emf.ecore.impl.EPackageImpl; |
16 | |
17 | import de.uka.ipd.sdq.featuremodel.featuremodelPackage; |
18 | import de.uka.ipd.sdq.pcm.cost.costPackage; |
19 | import de.uka.ipd.sdq.pcm.designdecision.designdecisionPackage; |
20 | import de.uka.ipd.sdq.pcm.designdecision.GDoF.ChangeableElementDescription; |
21 | import de.uka.ipd.sdq.pcm.designdecision.GDoF.DegreeOfFreedom; |
22 | import de.uka.ipd.sdq.pcm.designdecision.GDoF.DoFRepository; |
23 | import de.uka.ipd.sdq.pcm.designdecision.GDoF.GDoFFactory; |
24 | import de.uka.ipd.sdq.pcm.designdecision.GDoF.GDoFPackage; |
25 | import de.uka.ipd.sdq.pcm.designdecision.GDoF.HelperOCLDefinition; |
26 | import de.uka.ipd.sdq.pcm.designdecision.GDoF.InstanceSelectionRule; |
27 | import de.uka.ipd.sdq.pcm.designdecision.GDoF.OCLRule; |
28 | import de.uka.ipd.sdq.pcm.designdecision.GDoF.SelectionRule; |
29 | import de.uka.ipd.sdq.pcm.designdecision.GDoF.StaticContextRule; |
30 | import de.uka.ipd.sdq.pcm.designdecision.GDoF.StaticSelectionRule; |
31 | import de.uka.ipd.sdq.pcm.designdecision.GDoF.ValueRule; |
32 | import de.uka.ipd.sdq.pcm.designdecision.QualityProperties.QualityPropertiesPackage; |
33 | import de.uka.ipd.sdq.pcm.designdecision.QualityProperties.impl.QualityPropertiesPackageImpl; |
34 | import de.uka.ipd.sdq.pcm.designdecision.impl.designdecisionPackageImpl; |
35 | import de.uka.ipd.sdq.pcm.resourcerepository.resourcerepositoryPackage; |
36 | import de.uka.ipd.sdq.pcm.resourcerepository.impl.resourcerepositoryPackageImpl; |
37 | import de.uka.ipd.sdq.pcm.resultdecorator.ResultdecoratorPackage; |
38 | |
39 | /** |
40 | * <!-- begin-user-doc --> |
41 | * An implementation of the model <b>Package</b>. |
42 | * <!-- end-user-doc --> |
43 | * @generated |
44 | */ |
45 | public class GDoFPackageImpl extends EPackageImpl implements GDoFPackage { |
46 | /** |
47 | * <!-- begin-user-doc --> |
48 | * <!-- end-user-doc --> |
49 | * @generated |
50 | */ |
51 | private EClass changeableElementDescriptionEClass = null; |
52 | |
53 | /** |
54 | * <!-- begin-user-doc --> |
55 | * <!-- end-user-doc --> |
56 | * @generated |
57 | */ |
58 | private EClass valueRuleEClass = null; |
59 | |
60 | /** |
61 | * <!-- begin-user-doc --> |
62 | * <!-- end-user-doc --> |
63 | * @generated |
64 | */ |
65 | private EClass oclRuleEClass = null; |
66 | |
67 | /** |
68 | * <!-- begin-user-doc --> |
69 | * <!-- end-user-doc --> |
70 | * @generated |
71 | */ |
72 | private EClass helperOCLDefinitionEClass = null; |
73 | |
74 | /** |
75 | * <!-- begin-user-doc --> |
76 | * <!-- end-user-doc --> |
77 | * @generated |
78 | */ |
79 | private EClass staticContextRuleEClass = null; |
80 | |
81 | /** |
82 | * <!-- begin-user-doc --> |
83 | * <!-- end-user-doc --> |
84 | * @generated |
85 | */ |
86 | private EClass selectionRuleEClass = null; |
87 | |
88 | /** |
89 | * <!-- begin-user-doc --> |
90 | * <!-- end-user-doc --> |
91 | * @generated |
92 | */ |
93 | private EClass doFRepositoryEClass = null; |
94 | |
95 | /** |
96 | * <!-- begin-user-doc --> |
97 | * <!-- end-user-doc --> |
98 | * @generated |
99 | */ |
100 | private EClass instanceSelectionRuleEClass = null; |
101 | |
102 | /** |
103 | * <!-- begin-user-doc --> |
104 | * <!-- end-user-doc --> |
105 | * @generated |
106 | */ |
107 | private EClass staticSelectionRuleEClass = null; |
108 | |
109 | /** |
110 | * <!-- begin-user-doc --> |
111 | * <!-- end-user-doc --> |
112 | * @generated |
113 | */ |
114 | private EClass degreeOfFreedomEClass = null; |
115 | |
116 | /** |
117 | * Creates an instance of the model <b>Package</b>, registered with |
118 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
119 | * package URI value. |
120 | * <p>Note: the correct way to create the package is via the static |
121 | * factory method {@link #init init()}, which also performs |
122 | * initialization of the package, or returns the registered package, |
123 | * if one already exists. |
124 | * <!-- begin-user-doc --> |
125 | * <!-- end-user-doc --> |
126 | * @see org.eclipse.emf.ecore.EPackage.Registry |
127 | * @see de.uka.ipd.sdq.pcm.designdecision.GDoF.GDoFPackage#eNS_URI |
128 | * @see #init() |
129 | * @generated |
130 | */ |
131 | private GDoFPackageImpl() { |
132 | super(eNS_URI, GDoFFactory.eINSTANCE); |
133 | } |
134 | |
135 | /** |
136 | * <!-- begin-user-doc --> |
137 | * <!-- end-user-doc --> |
138 | * @generated |
139 | */ |
140 | private static boolean isInited = false; |
141 | |
142 | /** |
143 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
144 | * |
145 | * <p>This method is used to initialize {@link GDoFPackage#eINSTANCE} when that field is accessed. |
146 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
147 | * <!-- begin-user-doc --> |
148 | * <!-- end-user-doc --> |
149 | * @see #eNS_URI |
150 | * @see #createPackageContents() |
151 | * @see #initializePackageContents() |
152 | * @generated |
153 | */ |
154 | public static GDoFPackage init() { |
155 | if (isInited) return (GDoFPackage)EPackage.Registry.INSTANCE.getEPackage(GDoFPackage.eNS_URI); |
156 | |
157 | // Obtain or create and register package |
158 | GDoFPackageImpl theGDoFPackage = (GDoFPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof GDoFPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new GDoFPackageImpl()); |
159 | |
160 | isInited = true; |
161 | |
162 | // Initialize simple dependencies |
163 | costPackage.eINSTANCE.eClass(); |
164 | featuremodelPackage.eINSTANCE.eClass(); |
165 | ResultdecoratorPackage.eINSTANCE.eClass(); |
166 | |
167 | // Obtain or create and register interdependencies |
168 | designdecisionPackageImpl thedesigndecisionPackage = (designdecisionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(designdecisionPackage.eNS_URI) instanceof designdecisionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(designdecisionPackage.eNS_URI) : designdecisionPackage.eINSTANCE); |
169 | QualityPropertiesPackageImpl theQualityPropertiesPackage = (QualityPropertiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(QualityPropertiesPackage.eNS_URI) instanceof QualityPropertiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(QualityPropertiesPackage.eNS_URI) : QualityPropertiesPackage.eINSTANCE); |
170 | resourcerepositoryPackageImpl theresourcerepositoryPackage = (resourcerepositoryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(resourcerepositoryPackage.eNS_URI) instanceof resourcerepositoryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(resourcerepositoryPackage.eNS_URI) : resourcerepositoryPackage.eINSTANCE); |
171 | |
172 | // Create package meta-data objects |
173 | theGDoFPackage.createPackageContents(); |
174 | thedesigndecisionPackage.createPackageContents(); |
175 | theQualityPropertiesPackage.createPackageContents(); |
176 | theresourcerepositoryPackage.createPackageContents(); |
177 | |
178 | // Initialize created meta-data |
179 | theGDoFPackage.initializePackageContents(); |
180 | thedesigndecisionPackage.initializePackageContents(); |
181 | theQualityPropertiesPackage.initializePackageContents(); |
182 | theresourcerepositoryPackage.initializePackageContents(); |
183 | |
184 | // Mark meta-data to indicate it can't be changed |
185 | theGDoFPackage.freeze(); |
186 | |
187 | |
188 | // Update the registry and return the package |
189 | EPackage.Registry.INSTANCE.put(GDoFPackage.eNS_URI, theGDoFPackage); |
190 | return theGDoFPackage; |
191 | } |
192 | |
193 | /** |
194 | * <!-- begin-user-doc --> |
195 | * <!-- end-user-doc --> |
196 | * @generated |
197 | */ |
198 | public EClass getChangeableElementDescription() { |
199 | return changeableElementDescriptionEClass; |
200 | } |
201 | |
202 | /** |
203 | * <!-- begin-user-doc --> |
204 | * <!-- end-user-doc --> |
205 | * @generated |
206 | */ |
207 | public EReference getChangeableElementDescription_Changeable() { |
208 | return (EReference)changeableElementDescriptionEClass.getEStructuralFeatures().get(0); |
209 | } |
210 | |
211 | /** |
212 | * <!-- begin-user-doc --> |
213 | * <!-- end-user-doc --> |
214 | * @generated |
215 | */ |
216 | public EReference getChangeableElementDescription_ValueRule() { |
217 | return (EReference)changeableElementDescriptionEClass.getEStructuralFeatures().get(1); |
218 | } |
219 | |
220 | /** |
221 | * <!-- begin-user-doc --> |
222 | * <!-- end-user-doc --> |
223 | * @generated |
224 | */ |
225 | public EReference getChangeableElementDescription_SelectionRule() { |
226 | return (EReference)changeableElementDescriptionEClass.getEStructuralFeatures().get(2); |
227 | } |
228 | |
229 | /** |
230 | * <!-- begin-user-doc --> |
231 | * <!-- end-user-doc --> |
232 | * @generated |
233 | */ |
234 | public EClass getValueRule() { |
235 | return valueRuleEClass; |
236 | } |
237 | |
238 | /** |
239 | * <!-- begin-user-doc --> |
240 | * <!-- end-user-doc --> |
241 | * @generated |
242 | */ |
243 | public EClass getOCLRule() { |
244 | return oclRuleEClass; |
245 | } |
246 | |
247 | /** |
248 | * <!-- begin-user-doc --> |
249 | * <!-- end-user-doc --> |
250 | * @generated |
251 | */ |
252 | public EAttribute getOCLRule_MainOclQuery() { |
253 | return (EAttribute)oclRuleEClass.getEStructuralFeatures().get(0); |
254 | } |
255 | |
256 | /** |
257 | * <!-- begin-user-doc --> |
258 | * <!-- end-user-doc --> |
259 | * @generated |
260 | */ |
261 | public EReference getOCLRule_HelperDefinition() { |
262 | return (EReference)oclRuleEClass.getEStructuralFeatures().get(1); |
263 | } |
264 | |
265 | /** |
266 | * <!-- begin-user-doc --> |
267 | * <!-- end-user-doc --> |
268 | * @generated |
269 | */ |
270 | public EClass getHelperOCLDefinition() { |
271 | return helperOCLDefinitionEClass; |
272 | } |
273 | |
274 | /** |
275 | * <!-- begin-user-doc --> |
276 | * <!-- end-user-doc --> |
277 | * @generated |
278 | */ |
279 | public EClass getStaticContextRule() { |
280 | return staticContextRuleEClass; |
281 | } |
282 | |
283 | /** |
284 | * <!-- begin-user-doc --> |
285 | * <!-- end-user-doc --> |
286 | * @generated |
287 | */ |
288 | public EReference getStaticContextRule_ContextClass() { |
289 | return (EReference)staticContextRuleEClass.getEStructuralFeatures().get(0); |
290 | } |
291 | |
292 | /** |
293 | * <!-- begin-user-doc --> |
294 | * <!-- end-user-doc --> |
295 | * @generated |
296 | */ |
297 | public EClass getSelectionRule() { |
298 | return selectionRuleEClass; |
299 | } |
300 | |
301 | /** |
302 | * <!-- begin-user-doc --> |
303 | * <!-- end-user-doc --> |
304 | * @generated |
305 | */ |
306 | public EClass getDoFRepository() { |
307 | return doFRepositoryEClass; |
308 | } |
309 | |
310 | /** |
311 | * <!-- begin-user-doc --> |
312 | * <!-- end-user-doc --> |
313 | * @generated |
314 | */ |
315 | public EReference getDoFRepository_Dofs() { |
316 | return (EReference)doFRepositoryEClass.getEStructuralFeatures().get(0); |
317 | } |
318 | |
319 | /** |
320 | * <!-- begin-user-doc --> |
321 | * <!-- end-user-doc --> |
322 | * @generated |
323 | */ |
324 | public EClass getInstanceSelectionRule() { |
325 | return instanceSelectionRuleEClass; |
326 | } |
327 | |
328 | /** |
329 | * <!-- begin-user-doc --> |
330 | * <!-- end-user-doc --> |
331 | * @generated |
332 | */ |
333 | public EReference getInstanceSelectionRule_ContextInstance() { |
334 | return (EReference)instanceSelectionRuleEClass.getEStructuralFeatures().get(0); |
335 | } |
336 | |
337 | /** |
338 | * <!-- begin-user-doc --> |
339 | * <!-- end-user-doc --> |
340 | * @generated |
341 | */ |
342 | public EClass getStaticSelectionRule() { |
343 | return staticSelectionRuleEClass; |
344 | } |
345 | |
346 | /** |
347 | * <!-- begin-user-doc --> |
348 | * <!-- end-user-doc --> |
349 | * @generated |
350 | */ |
351 | public EClass getDegreeOfFreedom() { |
352 | return degreeOfFreedomEClass; |
353 | } |
354 | |
355 | /** |
356 | * <!-- begin-user-doc --> |
357 | * <!-- end-user-doc --> |
358 | * @generated |
359 | */ |
360 | public EAttribute getDegreeOfFreedom_Name() { |
361 | return (EAttribute)degreeOfFreedomEClass.getEStructuralFeatures().get(0); |
362 | } |
363 | |
364 | /** |
365 | * <!-- begin-user-doc --> |
366 | * <!-- end-user-doc --> |
367 | * @generated |
368 | */ |
369 | public EReference getDegreeOfFreedom_AddedElements() { |
370 | return (EReference)degreeOfFreedomEClass.getEStructuralFeatures().get(1); |
371 | } |
372 | |
373 | /** |
374 | * <!-- begin-user-doc --> |
375 | * <!-- end-user-doc --> |
376 | * @generated |
377 | */ |
378 | public EReference getDegreeOfFreedom_ChangeableElementDescriptions() { |
379 | return (EReference)degreeOfFreedomEClass.getEStructuralFeatures().get(2); |
380 | } |
381 | |
382 | /** |
383 | * <!-- begin-user-doc --> |
384 | * <!-- end-user-doc --> |
385 | * @generated |
386 | */ |
387 | public EReference getDegreeOfFreedom_InteractionConstraints() { |
388 | return (EReference)degreeOfFreedomEClass.getEStructuralFeatures().get(3); |
389 | } |
390 | |
391 | /** |
392 | * <!-- begin-user-doc --> |
393 | * <!-- end-user-doc --> |
394 | * @generated |
395 | */ |
396 | public EReference getDegreeOfFreedom_PrimaryChangeable() { |
397 | return (EReference)degreeOfFreedomEClass.getEStructuralFeatures().get(4); |
398 | } |
399 | |
400 | /** |
401 | * <!-- begin-user-doc --> |
402 | * <!-- end-user-doc --> |
403 | * @generated |
404 | */ |
405 | public GDoFFactory getGDoFFactory() { |
406 | return (GDoFFactory)getEFactoryInstance(); |
407 | } |
408 | |
409 | /** |
410 | * <!-- begin-user-doc --> |
411 | * <!-- end-user-doc --> |
412 | * @generated |
413 | */ |
414 | private boolean isCreated = false; |
415 | |
416 | /** |
417 | * Creates the meta-model objects for the package. This method is |
418 | * guarded to have no affect on any invocation but its first. |
419 | * <!-- begin-user-doc --> |
420 | * <!-- end-user-doc --> |
421 | * @generated |
422 | */ |
423 | public void createPackageContents() { |
424 | if (isCreated) return; |
425 | isCreated = true; |
426 | |
427 | // Create classes and their features |
428 | changeableElementDescriptionEClass = createEClass(CHANGEABLE_ELEMENT_DESCRIPTION); |
429 | createEReference(changeableElementDescriptionEClass, CHANGEABLE_ELEMENT_DESCRIPTION__CHANGEABLE); |
430 | createEReference(changeableElementDescriptionEClass, CHANGEABLE_ELEMENT_DESCRIPTION__VALUE_RULE); |
431 | createEReference(changeableElementDescriptionEClass, CHANGEABLE_ELEMENT_DESCRIPTION__SELECTION_RULE); |
432 | |
433 | valueRuleEClass = createEClass(VALUE_RULE); |
434 | |
435 | oclRuleEClass = createEClass(OCL_RULE); |
436 | createEAttribute(oclRuleEClass, OCL_RULE__MAIN_OCL_QUERY); |
437 | createEReference(oclRuleEClass, OCL_RULE__HELPER_DEFINITION); |
438 | |
439 | helperOCLDefinitionEClass = createEClass(HELPER_OCL_DEFINITION); |
440 | |
441 | staticContextRuleEClass = createEClass(STATIC_CONTEXT_RULE); |
442 | createEReference(staticContextRuleEClass, STATIC_CONTEXT_RULE__CONTEXT_CLASS); |
443 | |
444 | selectionRuleEClass = createEClass(SELECTION_RULE); |
445 | |
446 | doFRepositoryEClass = createEClass(DO_FREPOSITORY); |
447 | createEReference(doFRepositoryEClass, DO_FREPOSITORY__DOFS); |
448 | |
449 | instanceSelectionRuleEClass = createEClass(INSTANCE_SELECTION_RULE); |
450 | createEReference(instanceSelectionRuleEClass, INSTANCE_SELECTION_RULE__CONTEXT_INSTANCE); |
451 | |
452 | staticSelectionRuleEClass = createEClass(STATIC_SELECTION_RULE); |
453 | |
454 | degreeOfFreedomEClass = createEClass(DEGREE_OF_FREEDOM); |
455 | createEAttribute(degreeOfFreedomEClass, DEGREE_OF_FREEDOM__NAME); |
456 | createEReference(degreeOfFreedomEClass, DEGREE_OF_FREEDOM__ADDED_ELEMENTS); |
457 | createEReference(degreeOfFreedomEClass, DEGREE_OF_FREEDOM__CHANGEABLE_ELEMENT_DESCRIPTIONS); |
458 | createEReference(degreeOfFreedomEClass, DEGREE_OF_FREEDOM__INTERACTION_CONSTRAINTS); |
459 | createEReference(degreeOfFreedomEClass, DEGREE_OF_FREEDOM__PRIMARY_CHANGEABLE); |
460 | } |
461 | |
462 | /** |
463 | * <!-- begin-user-doc --> |
464 | * <!-- end-user-doc --> |
465 | * @generated |
466 | */ |
467 | private boolean isInitialized = false; |
468 | |
469 | /** |
470 | * Complete the initialization of the package and its meta-model. This |
471 | * method is guarded to have no affect on any invocation but its first. |
472 | * <!-- begin-user-doc --> |
473 | * <!-- end-user-doc --> |
474 | * @generated |
475 | */ |
476 | public void initializePackageContents() { |
477 | if (isInitialized) return; |
478 | isInitialized = true; |
479 | |
480 | // Initialize package |
481 | setName(eNAME); |
482 | setNsPrefix(eNS_PREFIX); |
483 | setNsURI(eNS_URI); |
484 | |
485 | // Obtain other dependent packages |
486 | EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); |
487 | |
488 | // Create type parameters |
489 | |
490 | // Set bounds for type parameters |
491 | |
492 | // Add supertypes to classes |
493 | valueRuleEClass.getESuperTypes().add(this.getOCLRule()); |
494 | helperOCLDefinitionEClass.getESuperTypes().add(this.getOCLRule()); |
495 | helperOCLDefinitionEClass.getESuperTypes().add(this.getStaticContextRule()); |
496 | selectionRuleEClass.getESuperTypes().add(this.getOCLRule()); |
497 | instanceSelectionRuleEClass.getESuperTypes().add(this.getSelectionRule()); |
498 | staticSelectionRuleEClass.getESuperTypes().add(this.getSelectionRule()); |
499 | staticSelectionRuleEClass.getESuperTypes().add(this.getStaticContextRule()); |
500 | |
501 | // Initialize classes and features; add operations and parameters |
502 | initEClass(changeableElementDescriptionEClass, ChangeableElementDescription.class, "ChangeableElementDescription", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
503 | initEReference(getChangeableElementDescription_Changeable(), theEcorePackage.getEStructuralFeature(), null, "changeable", null, 1, 1, ChangeableElementDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
504 | initEReference(getChangeableElementDescription_ValueRule(), this.getValueRule(), null, "valueRule", null, 1, 1, ChangeableElementDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
505 | initEReference(getChangeableElementDescription_SelectionRule(), this.getSelectionRule(), null, "selectionRule", null, 0, 1, ChangeableElementDescription.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
506 | |
507 | initEClass(valueRuleEClass, ValueRule.class, "ValueRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
508 | |
509 | initEClass(oclRuleEClass, OCLRule.class, "OCLRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
510 | initEAttribute(getOCLRule_MainOclQuery(), ecorePackage.getEString(), "mainOclQuery", null, 1, 1, OCLRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
511 | initEReference(getOCLRule_HelperDefinition(), this.getHelperOCLDefinition(), null, "helperDefinition", null, 0, -1, OCLRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
512 | |
513 | initEClass(helperOCLDefinitionEClass, HelperOCLDefinition.class, "HelperOCLDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
514 | |
515 | initEClass(staticContextRuleEClass, StaticContextRule.class, "StaticContextRule", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
516 | initEReference(getStaticContextRule_ContextClass(), theEcorePackage.getEClass(), null, "contextClass", null, 0, 1, StaticContextRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
517 | |
518 | initEClass(selectionRuleEClass, SelectionRule.class, "SelectionRule", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
519 | |
520 | initEClass(doFRepositoryEClass, DoFRepository.class, "DoFRepository", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
521 | initEReference(getDoFRepository_Dofs(), this.getDegreeOfFreedom(), null, "dofs", null, 0, -1, DoFRepository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
522 | |
523 | initEClass(instanceSelectionRuleEClass, InstanceSelectionRule.class, "InstanceSelectionRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
524 | initEReference(getInstanceSelectionRule_ContextInstance(), this.getChangeableElementDescription(), null, "contextInstance", null, 0, 1, InstanceSelectionRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
525 | |
526 | initEClass(staticSelectionRuleEClass, StaticSelectionRule.class, "StaticSelectionRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
527 | |
528 | initEClass(degreeOfFreedomEClass, DegreeOfFreedom.class, "DegreeOfFreedom", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
529 | initEAttribute(getDegreeOfFreedom_Name(), ecorePackage.getEString(), "name", null, 1, 1, DegreeOfFreedom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
530 | initEReference(getDegreeOfFreedom_AddedElements(), theEcorePackage.getEClass(), null, "addedElements", null, 0, -1, DegreeOfFreedom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
531 | initEReference(getDegreeOfFreedom_ChangeableElementDescriptions(), this.getChangeableElementDescription(), null, "changeableElementDescriptions", null, 0, -1, DegreeOfFreedom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
532 | initEReference(getDegreeOfFreedom_InteractionConstraints(), theEcorePackage.getEOperation(), null, "interactionConstraints", null, 0, -1, DegreeOfFreedom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
533 | initEReference(getDegreeOfFreedom_PrimaryChangeable(), this.getChangeableElementDescription(), null, "primaryChangeable", null, 1, 1, DegreeOfFreedom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
534 | } |
535 | |
536 | } //GDoFPackageImpl |