diff options
author | 2019-02-05 23:54:03 +0100 | |
---|---|---|
committer | 2019-02-19 19:18:25 +0100 | |
commit | 7f7f934fe6ad11df96906d009eec68583fd46660 (patch) | |
tree | 17828b0e833bc89b2b796fcc7da6cb74d6ec3e9c /Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguagePackageImpl.java | |
parent | Generated files change (diff) | |
download | VIATRA-Generator-7f7f934fe6ad11df96906d009eec68583fd46660.tar.gz VIATRA-Generator-7f7f934fe6ad11df96906d009eec68583fd46660.tar.zst VIATRA-Generator-7f7f934fe6ad11df96906d009eec68583fd46660.zip |
[Stochastic] Fault tree transformation langauge
Diffstat (limited to 'Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguagePackageImpl.java')
-rw-r--r-- | Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguagePackageImpl.java | 999 |
1 files changed, 999 insertions, 0 deletions
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguagePackageImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguagePackageImpl.java new file mode 100644 index 00000000..95520ab8 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguagePackageImpl.java | |||
@@ -0,0 +1,999 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.AndGate; | ||
7 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment; | ||
8 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.BasicEventDefinition; | ||
9 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguageFactory; | ||
10 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; | ||
11 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; | ||
12 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition; | ||
13 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; | ||
14 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration; | ||
15 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDefinition; | ||
16 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference; | ||
17 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.GateDefinition; | ||
18 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration; | ||
19 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.InputEvent; | ||
20 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition; | ||
21 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; | ||
22 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter; | ||
23 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.OrGate; | ||
24 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; | ||
25 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable; | ||
26 | |||
27 | import org.eclipse.emf.ecore.EAttribute; | ||
28 | import org.eclipse.emf.ecore.EClass; | ||
29 | import org.eclipse.emf.ecore.EPackage; | ||
30 | import org.eclipse.emf.ecore.EReference; | ||
31 | import org.eclipse.emf.ecore.EcorePackage; | ||
32 | |||
33 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
34 | |||
35 | import org.eclipse.viatra.query.patternlanguage.emf.vql.PatternLanguagePackage; | ||
36 | |||
37 | import org.eclipse.xtext.common.types.TypesPackage; | ||
38 | |||
39 | import org.eclipse.xtext.xbase.XbasePackage; | ||
40 | |||
41 | import org.eclipse.xtext.xtype.XtypePackage; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * An implementation of the model <b>Package</b>. | ||
46 | * <!-- end-user-doc --> | ||
47 | * @generated | ||
48 | */ | ||
49 | public class CftLanguagePackageImpl extends EPackageImpl implements CftLanguagePackage | ||
50 | { | ||
51 | /** | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @generated | ||
55 | */ | ||
56 | private EClass cftModelEClass = null; | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | private EClass importDeclarationEClass = null; | ||
64 | |||
65 | /** | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @generated | ||
69 | */ | ||
70 | private EClass componentDefinitionEClass = null; | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | private EClass eventDeclarationEClass = null; | ||
78 | |||
79 | /** | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @generated | ||
83 | */ | ||
84 | private EClass inputEventEClass = null; | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | private EClass eventDefinitionEClass = null; | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | private EClass basicEventDefinitionEClass = null; | ||
99 | |||
100 | /** | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <!-- end-user-doc --> | ||
103 | * @generated | ||
104 | */ | ||
105 | private EClass gateDefinitionEClass = null; | ||
106 | |||
107 | /** | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @generated | ||
111 | */ | ||
112 | private EClass andGateEClass = null; | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | private EClass orGateEClass = null; | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | private EClass transformationDefinitionEClass = null; | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | private EClass mappingDefinitionEClass = null; | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | private EClass mappingParameterEClass = null; | ||
141 | |||
142 | /** | ||
143 | * <!-- begin-user-doc --> | ||
144 | * <!-- end-user-doc --> | ||
145 | * @generated | ||
146 | */ | ||
147 | private EClass lookupDefinitionEClass = null; | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | private EClass variableEClass = null; | ||
155 | |||
156 | /** | ||
157 | * <!-- begin-user-doc --> | ||
158 | * <!-- end-user-doc --> | ||
159 | * @generated | ||
160 | */ | ||
161 | private EClass assignmentEClass = null; | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | private EClass eventReferenceEClass = null; | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | private EClass componentInstanceEClass = null; | ||
176 | |||
177 | /** | ||
178 | * Creates an instance of the model <b>Package</b>, registered with | ||
179 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
180 | * package URI value. | ||
181 | * <p>Note: the correct way to create the package is via the static | ||
182 | * factory method {@link #init init()}, which also performs | ||
183 | * initialization of the package, or returns the registered package, | ||
184 | * if one already exists. | ||
185 | * <!-- begin-user-doc --> | ||
186 | * <!-- end-user-doc --> | ||
187 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
188 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#eNS_URI | ||
189 | * @see #init() | ||
190 | * @generated | ||
191 | */ | ||
192 | private CftLanguagePackageImpl() | ||
193 | { | ||
194 | super(eNS_URI, CftLanguageFactory.eINSTANCE); | ||
195 | } | ||
196 | |||
197 | /** | ||
198 | * <!-- begin-user-doc --> | ||
199 | * <!-- end-user-doc --> | ||
200 | * @generated | ||
201 | */ | ||
202 | private static boolean isInited = false; | ||
203 | |||
204 | /** | ||
205 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
206 | * | ||
207 | * <p>This method is used to initialize {@link CftLanguagePackage#eINSTANCE} when that field is accessed. | ||
208 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
209 | * <!-- begin-user-doc --> | ||
210 | * <!-- end-user-doc --> | ||
211 | * @see #eNS_URI | ||
212 | * @see #createPackageContents() | ||
213 | * @see #initializePackageContents() | ||
214 | * @generated | ||
215 | */ | ||
216 | public static CftLanguagePackage init() | ||
217 | { | ||
218 | if (isInited) return (CftLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(CftLanguagePackage.eNS_URI); | ||
219 | |||
220 | // Obtain or create and register package | ||
221 | Object registeredCftLanguagePackage = EPackage.Registry.INSTANCE.get(eNS_URI); | ||
222 | CftLanguagePackageImpl theCftLanguagePackage = registeredCftLanguagePackage instanceof CftLanguagePackageImpl ? (CftLanguagePackageImpl)registeredCftLanguagePackage : new CftLanguagePackageImpl(); | ||
223 | |||
224 | isInited = true; | ||
225 | |||
226 | // Initialize simple dependencies | ||
227 | EcorePackage.eINSTANCE.eClass(); | ||
228 | PatternLanguagePackage.eINSTANCE.eClass(); | ||
229 | XtypePackage.eINSTANCE.eClass(); | ||
230 | TypesPackage.eINSTANCE.eClass(); | ||
231 | XbasePackage.eINSTANCE.eClass(); | ||
232 | |||
233 | // Create package meta-data objects | ||
234 | theCftLanguagePackage.createPackageContents(); | ||
235 | |||
236 | // Initialize created meta-data | ||
237 | theCftLanguagePackage.initializePackageContents(); | ||
238 | |||
239 | // Mark meta-data to indicate it can't be changed | ||
240 | theCftLanguagePackage.freeze(); | ||
241 | |||
242 | // Update the registry and return the package | ||
243 | EPackage.Registry.INSTANCE.put(CftLanguagePackage.eNS_URI, theCftLanguagePackage); | ||
244 | return theCftLanguagePackage; | ||
245 | } | ||
246 | |||
247 | /** | ||
248 | * <!-- begin-user-doc --> | ||
249 | * <!-- end-user-doc --> | ||
250 | * @generated | ||
251 | */ | ||
252 | @Override | ||
253 | public EClass getCftModel() | ||
254 | { | ||
255 | return cftModelEClass; | ||
256 | } | ||
257 | |||
258 | /** | ||
259 | * <!-- begin-user-doc --> | ||
260 | * <!-- end-user-doc --> | ||
261 | * @generated | ||
262 | */ | ||
263 | @Override | ||
264 | public EAttribute getCftModel_PackageName() | ||
265 | { | ||
266 | return (EAttribute)cftModelEClass.getEStructuralFeatures().get(0); | ||
267 | } | ||
268 | |||
269 | /** | ||
270 | * <!-- begin-user-doc --> | ||
271 | * <!-- end-user-doc --> | ||
272 | * @generated | ||
273 | */ | ||
274 | @Override | ||
275 | public EReference getCftModel_Imports() | ||
276 | { | ||
277 | return (EReference)cftModelEClass.getEStructuralFeatures().get(1); | ||
278 | } | ||
279 | |||
280 | /** | ||
281 | * <!-- begin-user-doc --> | ||
282 | * <!-- end-user-doc --> | ||
283 | * @generated | ||
284 | */ | ||
285 | @Override | ||
286 | public EReference getCftModel_ComponentDefinitions() | ||
287 | { | ||
288 | return (EReference)cftModelEClass.getEStructuralFeatures().get(2); | ||
289 | } | ||
290 | |||
291 | /** | ||
292 | * <!-- begin-user-doc --> | ||
293 | * <!-- end-user-doc --> | ||
294 | * @generated | ||
295 | */ | ||
296 | @Override | ||
297 | public EReference getCftModel_TransformationDefinitions() | ||
298 | { | ||
299 | return (EReference)cftModelEClass.getEStructuralFeatures().get(3); | ||
300 | } | ||
301 | |||
302 | /** | ||
303 | * <!-- begin-user-doc --> | ||
304 | * <!-- end-user-doc --> | ||
305 | * @generated | ||
306 | */ | ||
307 | @Override | ||
308 | public EClass getImportDeclaration() | ||
309 | { | ||
310 | return importDeclarationEClass; | ||
311 | } | ||
312 | |||
313 | /** | ||
314 | * <!-- begin-user-doc --> | ||
315 | * <!-- end-user-doc --> | ||
316 | * @generated | ||
317 | */ | ||
318 | @Override | ||
319 | public EAttribute getImportDeclaration_ImportedNamespace() | ||
320 | { | ||
321 | return (EAttribute)importDeclarationEClass.getEStructuralFeatures().get(0); | ||
322 | } | ||
323 | |||
324 | /** | ||
325 | * <!-- begin-user-doc --> | ||
326 | * <!-- end-user-doc --> | ||
327 | * @generated | ||
328 | */ | ||
329 | @Override | ||
330 | public EClass getComponentDefinition() | ||
331 | { | ||
332 | return componentDefinitionEClass; | ||
333 | } | ||
334 | |||
335 | /** | ||
336 | * <!-- begin-user-doc --> | ||
337 | * <!-- end-user-doc --> | ||
338 | * @generated | ||
339 | */ | ||
340 | @Override | ||
341 | public EAttribute getComponentDefinition_Name() | ||
342 | { | ||
343 | return (EAttribute)componentDefinitionEClass.getEStructuralFeatures().get(0); | ||
344 | } | ||
345 | |||
346 | /** | ||
347 | * <!-- begin-user-doc --> | ||
348 | * <!-- end-user-doc --> | ||
349 | * @generated | ||
350 | */ | ||
351 | @Override | ||
352 | public EReference getComponentDefinition_InputEvents() | ||
353 | { | ||
354 | return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(1); | ||
355 | } | ||
356 | |||
357 | /** | ||
358 | * <!-- begin-user-doc --> | ||
359 | * <!-- end-user-doc --> | ||
360 | * @generated | ||
361 | */ | ||
362 | @Override | ||
363 | public EReference getComponentDefinition_OutputEvents() | ||
364 | { | ||
365 | return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(2); | ||
366 | } | ||
367 | |||
368 | /** | ||
369 | * <!-- begin-user-doc --> | ||
370 | * <!-- end-user-doc --> | ||
371 | * @generated | ||
372 | */ | ||
373 | @Override | ||
374 | public EReference getComponentDefinition_EventDefinitions() | ||
375 | { | ||
376 | return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(3); | ||
377 | } | ||
378 | |||
379 | /** | ||
380 | * <!-- begin-user-doc --> | ||
381 | * <!-- end-user-doc --> | ||
382 | * @generated | ||
383 | */ | ||
384 | @Override | ||
385 | public EClass getEventDeclaration() | ||
386 | { | ||
387 | return eventDeclarationEClass; | ||
388 | } | ||
389 | |||
390 | /** | ||
391 | * <!-- begin-user-doc --> | ||
392 | * <!-- end-user-doc --> | ||
393 | * @generated | ||
394 | */ | ||
395 | @Override | ||
396 | public EAttribute getEventDeclaration_Name() | ||
397 | { | ||
398 | return (EAttribute)eventDeclarationEClass.getEStructuralFeatures().get(0); | ||
399 | } | ||
400 | |||
401 | /** | ||
402 | * <!-- begin-user-doc --> | ||
403 | * <!-- end-user-doc --> | ||
404 | * @generated | ||
405 | */ | ||
406 | @Override | ||
407 | public EClass getInputEvent() | ||
408 | { | ||
409 | return inputEventEClass; | ||
410 | } | ||
411 | |||
412 | /** | ||
413 | * <!-- begin-user-doc --> | ||
414 | * <!-- end-user-doc --> | ||
415 | * @generated | ||
416 | */ | ||
417 | @Override | ||
418 | public EAttribute getInputEvent_Multiple() | ||
419 | { | ||
420 | return (EAttribute)inputEventEClass.getEStructuralFeatures().get(0); | ||
421 | } | ||
422 | |||
423 | /** | ||
424 | * <!-- begin-user-doc --> | ||
425 | * <!-- end-user-doc --> | ||
426 | * @generated | ||
427 | */ | ||
428 | @Override | ||
429 | public EClass getEventDefinition() | ||
430 | { | ||
431 | return eventDefinitionEClass; | ||
432 | } | ||
433 | |||
434 | /** | ||
435 | * <!-- begin-user-doc --> | ||
436 | * <!-- end-user-doc --> | ||
437 | * @generated | ||
438 | */ | ||
439 | @Override | ||
440 | public EClass getBasicEventDefinition() | ||
441 | { | ||
442 | return basicEventDefinitionEClass; | ||
443 | } | ||
444 | |||
445 | /** | ||
446 | * <!-- begin-user-doc --> | ||
447 | * <!-- end-user-doc --> | ||
448 | * @generated | ||
449 | */ | ||
450 | @Override | ||
451 | public EAttribute getBasicEventDefinition_Rate() | ||
452 | { | ||
453 | return (EAttribute)basicEventDefinitionEClass.getEStructuralFeatures().get(0); | ||
454 | } | ||
455 | |||
456 | /** | ||
457 | * <!-- begin-user-doc --> | ||
458 | * <!-- end-user-doc --> | ||
459 | * @generated | ||
460 | */ | ||
461 | @Override | ||
462 | public EClass getGateDefinition() | ||
463 | { | ||
464 | return gateDefinitionEClass; | ||
465 | } | ||
466 | |||
467 | /** | ||
468 | * <!-- begin-user-doc --> | ||
469 | * <!-- end-user-doc --> | ||
470 | * @generated | ||
471 | */ | ||
472 | @Override | ||
473 | public EReference getGateDefinition_InputEvents() | ||
474 | { | ||
475 | return (EReference)gateDefinitionEClass.getEStructuralFeatures().get(0); | ||
476 | } | ||
477 | |||
478 | /** | ||
479 | * <!-- begin-user-doc --> | ||
480 | * <!-- end-user-doc --> | ||
481 | * @generated | ||
482 | */ | ||
483 | @Override | ||
484 | public EClass getAndGate() | ||
485 | { | ||
486 | return andGateEClass; | ||
487 | } | ||
488 | |||
489 | /** | ||
490 | * <!-- begin-user-doc --> | ||
491 | * <!-- end-user-doc --> | ||
492 | * @generated | ||
493 | */ | ||
494 | @Override | ||
495 | public EClass getOrGate() | ||
496 | { | ||
497 | return orGateEClass; | ||
498 | } | ||
499 | |||
500 | /** | ||
501 | * <!-- begin-user-doc --> | ||
502 | * <!-- end-user-doc --> | ||
503 | * @generated | ||
504 | */ | ||
505 | @Override | ||
506 | public EClass getTransformationDefinition() | ||
507 | { | ||
508 | return transformationDefinitionEClass; | ||
509 | } | ||
510 | |||
511 | /** | ||
512 | * <!-- begin-user-doc --> | ||
513 | * <!-- end-user-doc --> | ||
514 | * @generated | ||
515 | */ | ||
516 | @Override | ||
517 | public EAttribute getTransformationDefinition_Name() | ||
518 | { | ||
519 | return (EAttribute)transformationDefinitionEClass.getEStructuralFeatures().get(0); | ||
520 | } | ||
521 | |||
522 | /** | ||
523 | * <!-- begin-user-doc --> | ||
524 | * <!-- end-user-doc --> | ||
525 | * @generated | ||
526 | */ | ||
527 | @Override | ||
528 | public EReference getTransformationDefinition_MappingDefinitions() | ||
529 | { | ||
530 | return (EReference)transformationDefinitionEClass.getEStructuralFeatures().get(1); | ||
531 | } | ||
532 | |||
533 | /** | ||
534 | * <!-- begin-user-doc --> | ||
535 | * <!-- end-user-doc --> | ||
536 | * @generated | ||
537 | */ | ||
538 | @Override | ||
539 | public EClass getMappingDefinition() | ||
540 | { | ||
541 | return mappingDefinitionEClass; | ||
542 | } | ||
543 | |||
544 | /** | ||
545 | * <!-- begin-user-doc --> | ||
546 | * <!-- end-user-doc --> | ||
547 | * @generated | ||
548 | */ | ||
549 | @Override | ||
550 | public EAttribute getMappingDefinition_TopLevel() | ||
551 | { | ||
552 | return (EAttribute)mappingDefinitionEClass.getEStructuralFeatures().get(0); | ||
553 | } | ||
554 | |||
555 | /** | ||
556 | * <!-- begin-user-doc --> | ||
557 | * <!-- end-user-doc --> | ||
558 | * @generated | ||
559 | */ | ||
560 | @Override | ||
561 | public EReference getMappingDefinition_Pattern() | ||
562 | { | ||
563 | return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(1); | ||
564 | } | ||
565 | |||
566 | /** | ||
567 | * <!-- begin-user-doc --> | ||
568 | * <!-- end-user-doc --> | ||
569 | * @generated | ||
570 | */ | ||
571 | @Override | ||
572 | public EReference getMappingDefinition_Parameters() | ||
573 | { | ||
574 | return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(2); | ||
575 | } | ||
576 | |||
577 | /** | ||
578 | * <!-- begin-user-doc --> | ||
579 | * <!-- end-user-doc --> | ||
580 | * @generated | ||
581 | */ | ||
582 | @Override | ||
583 | public EReference getMappingDefinition_ComponentInstance() | ||
584 | { | ||
585 | return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(3); | ||
586 | } | ||
587 | |||
588 | /** | ||
589 | * <!-- begin-user-doc --> | ||
590 | * <!-- end-user-doc --> | ||
591 | * @generated | ||
592 | */ | ||
593 | @Override | ||
594 | public EReference getMappingDefinition_LookupDefinitions() | ||
595 | { | ||
596 | return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(4); | ||
597 | } | ||
598 | |||
599 | /** | ||
600 | * <!-- begin-user-doc --> | ||
601 | * <!-- end-user-doc --> | ||
602 | * @generated | ||
603 | */ | ||
604 | @Override | ||
605 | public EReference getMappingDefinition_Assignments() | ||
606 | { | ||
607 | return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(5); | ||
608 | } | ||
609 | |||
610 | /** | ||
611 | * <!-- begin-user-doc --> | ||
612 | * <!-- end-user-doc --> | ||
613 | * @generated | ||
614 | */ | ||
615 | @Override | ||
616 | public EClass getMappingParameter() | ||
617 | { | ||
618 | return mappingParameterEClass; | ||
619 | } | ||
620 | |||
621 | /** | ||
622 | * <!-- begin-user-doc --> | ||
623 | * <!-- end-user-doc --> | ||
624 | * @generated | ||
625 | */ | ||
626 | @Override | ||
627 | public EAttribute getMappingParameter_Name() | ||
628 | { | ||
629 | return (EAttribute)mappingParameterEClass.getEStructuralFeatures().get(0); | ||
630 | } | ||
631 | |||
632 | /** | ||
633 | * <!-- begin-user-doc --> | ||
634 | * <!-- end-user-doc --> | ||
635 | * @generated | ||
636 | */ | ||
637 | @Override | ||
638 | public EClass getLookupDefinition() | ||
639 | { | ||
640 | return lookupDefinitionEClass; | ||
641 | } | ||
642 | |||
643 | /** | ||
644 | * <!-- begin-user-doc --> | ||
645 | * <!-- end-user-doc --> | ||
646 | * @generated | ||
647 | */ | ||
648 | @Override | ||
649 | public EReference getLookupDefinition_Mapping() | ||
650 | { | ||
651 | return (EReference)lookupDefinitionEClass.getEStructuralFeatures().get(0); | ||
652 | } | ||
653 | |||
654 | /** | ||
655 | * <!-- begin-user-doc --> | ||
656 | * <!-- end-user-doc --> | ||
657 | * @generated | ||
658 | */ | ||
659 | @Override | ||
660 | public EReference getLookupDefinition_Arguments() | ||
661 | { | ||
662 | return (EReference)lookupDefinitionEClass.getEStructuralFeatures().get(1); | ||
663 | } | ||
664 | |||
665 | /** | ||
666 | * <!-- begin-user-doc --> | ||
667 | * <!-- end-user-doc --> | ||
668 | * @generated | ||
669 | */ | ||
670 | @Override | ||
671 | public EClass getVariable() | ||
672 | { | ||
673 | return variableEClass; | ||
674 | } | ||
675 | |||
676 | /** | ||
677 | * <!-- begin-user-doc --> | ||
678 | * <!-- end-user-doc --> | ||
679 | * @generated | ||
680 | */ | ||
681 | @Override | ||
682 | public EAttribute getVariable_Name() | ||
683 | { | ||
684 | return (EAttribute)variableEClass.getEStructuralFeatures().get(0); | ||
685 | } | ||
686 | |||
687 | /** | ||
688 | * <!-- begin-user-doc --> | ||
689 | * <!-- end-user-doc --> | ||
690 | * @generated | ||
691 | */ | ||
692 | @Override | ||
693 | public EClass getAssignment() | ||
694 | { | ||
695 | return assignmentEClass; | ||
696 | } | ||
697 | |||
698 | /** | ||
699 | * <!-- begin-user-doc --> | ||
700 | * <!-- end-user-doc --> | ||
701 | * @generated | ||
702 | */ | ||
703 | @Override | ||
704 | public EReference getAssignment_Input() | ||
705 | { | ||
706 | return (EReference)assignmentEClass.getEStructuralFeatures().get(0); | ||
707 | } | ||
708 | |||
709 | /** | ||
710 | * <!-- begin-user-doc --> | ||
711 | * <!-- end-user-doc --> | ||
712 | * @generated | ||
713 | */ | ||
714 | @Override | ||
715 | public EAttribute getAssignment_Multiple() | ||
716 | { | ||
717 | return (EAttribute)assignmentEClass.getEStructuralFeatures().get(1); | ||
718 | } | ||
719 | |||
720 | /** | ||
721 | * <!-- begin-user-doc --> | ||
722 | * <!-- end-user-doc --> | ||
723 | * @generated | ||
724 | */ | ||
725 | @Override | ||
726 | public EReference getAssignment_Output() | ||
727 | { | ||
728 | return (EReference)assignmentEClass.getEStructuralFeatures().get(2); | ||
729 | } | ||
730 | |||
731 | /** | ||
732 | * <!-- begin-user-doc --> | ||
733 | * <!-- end-user-doc --> | ||
734 | * @generated | ||
735 | */ | ||
736 | @Override | ||
737 | public EClass getEventReference() | ||
738 | { | ||
739 | return eventReferenceEClass; | ||
740 | } | ||
741 | |||
742 | /** | ||
743 | * <!-- begin-user-doc --> | ||
744 | * <!-- end-user-doc --> | ||
745 | * @generated | ||
746 | */ | ||
747 | @Override | ||
748 | public EReference getEventReference_Component() | ||
749 | { | ||
750 | return (EReference)eventReferenceEClass.getEStructuralFeatures().get(0); | ||
751 | } | ||
752 | |||
753 | /** | ||
754 | * <!-- begin-user-doc --> | ||
755 | * <!-- end-user-doc --> | ||
756 | * @generated | ||
757 | */ | ||
758 | @Override | ||
759 | public EReference getEventReference_Event() | ||
760 | { | ||
761 | return (EReference)eventReferenceEClass.getEStructuralFeatures().get(1); | ||
762 | } | ||
763 | |||
764 | /** | ||
765 | * <!-- begin-user-doc --> | ||
766 | * <!-- end-user-doc --> | ||
767 | * @generated | ||
768 | */ | ||
769 | @Override | ||
770 | public EClass getComponentInstance() | ||
771 | { | ||
772 | return componentInstanceEClass; | ||
773 | } | ||
774 | |||
775 | /** | ||
776 | * <!-- begin-user-doc --> | ||
777 | * <!-- end-user-doc --> | ||
778 | * @generated | ||
779 | */ | ||
780 | @Override | ||
781 | public EReference getComponentInstance_ComponentType() | ||
782 | { | ||
783 | return (EReference)componentInstanceEClass.getEStructuralFeatures().get(0); | ||
784 | } | ||
785 | |||
786 | /** | ||
787 | * <!-- begin-user-doc --> | ||
788 | * <!-- end-user-doc --> | ||
789 | * @generated | ||
790 | */ | ||
791 | @Override | ||
792 | public CftLanguageFactory getCftLanguageFactory() | ||
793 | { | ||
794 | return (CftLanguageFactory)getEFactoryInstance(); | ||
795 | } | ||
796 | |||
797 | /** | ||
798 | * <!-- begin-user-doc --> | ||
799 | * <!-- end-user-doc --> | ||
800 | * @generated | ||
801 | */ | ||
802 | private boolean isCreated = false; | ||
803 | |||
804 | /** | ||
805 | * Creates the meta-model objects for the package. This method is | ||
806 | * guarded to have no affect on any invocation but its first. | ||
807 | * <!-- begin-user-doc --> | ||
808 | * <!-- end-user-doc --> | ||
809 | * @generated | ||
810 | */ | ||
811 | public void createPackageContents() | ||
812 | { | ||
813 | if (isCreated) return; | ||
814 | isCreated = true; | ||
815 | |||
816 | // Create classes and their features | ||
817 | cftModelEClass = createEClass(CFT_MODEL); | ||
818 | createEAttribute(cftModelEClass, CFT_MODEL__PACKAGE_NAME); | ||
819 | createEReference(cftModelEClass, CFT_MODEL__IMPORTS); | ||
820 | createEReference(cftModelEClass, CFT_MODEL__COMPONENT_DEFINITIONS); | ||
821 | createEReference(cftModelEClass, CFT_MODEL__TRANSFORMATION_DEFINITIONS); | ||
822 | |||
823 | importDeclarationEClass = createEClass(IMPORT_DECLARATION); | ||
824 | createEAttribute(importDeclarationEClass, IMPORT_DECLARATION__IMPORTED_NAMESPACE); | ||
825 | |||
826 | componentDefinitionEClass = createEClass(COMPONENT_DEFINITION); | ||
827 | createEAttribute(componentDefinitionEClass, COMPONENT_DEFINITION__NAME); | ||
828 | createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__INPUT_EVENTS); | ||
829 | createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__OUTPUT_EVENTS); | ||
830 | createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__EVENT_DEFINITIONS); | ||
831 | |||
832 | eventDeclarationEClass = createEClass(EVENT_DECLARATION); | ||
833 | createEAttribute(eventDeclarationEClass, EVENT_DECLARATION__NAME); | ||
834 | |||
835 | inputEventEClass = createEClass(INPUT_EVENT); | ||
836 | createEAttribute(inputEventEClass, INPUT_EVENT__MULTIPLE); | ||
837 | |||
838 | eventDefinitionEClass = createEClass(EVENT_DEFINITION); | ||
839 | |||
840 | basicEventDefinitionEClass = createEClass(BASIC_EVENT_DEFINITION); | ||
841 | createEAttribute(basicEventDefinitionEClass, BASIC_EVENT_DEFINITION__RATE); | ||
842 | |||
843 | gateDefinitionEClass = createEClass(GATE_DEFINITION); | ||
844 | createEReference(gateDefinitionEClass, GATE_DEFINITION__INPUT_EVENTS); | ||
845 | |||
846 | andGateEClass = createEClass(AND_GATE); | ||
847 | |||
848 | orGateEClass = createEClass(OR_GATE); | ||
849 | |||
850 | transformationDefinitionEClass = createEClass(TRANSFORMATION_DEFINITION); | ||
851 | createEAttribute(transformationDefinitionEClass, TRANSFORMATION_DEFINITION__NAME); | ||
852 | createEReference(transformationDefinitionEClass, TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS); | ||
853 | |||
854 | mappingDefinitionEClass = createEClass(MAPPING_DEFINITION); | ||
855 | createEAttribute(mappingDefinitionEClass, MAPPING_DEFINITION__TOP_LEVEL); | ||
856 | createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__PATTERN); | ||
857 | createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__PARAMETERS); | ||
858 | createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__COMPONENT_INSTANCE); | ||
859 | createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__LOOKUP_DEFINITIONS); | ||
860 | createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__ASSIGNMENTS); | ||
861 | |||
862 | mappingParameterEClass = createEClass(MAPPING_PARAMETER); | ||
863 | createEAttribute(mappingParameterEClass, MAPPING_PARAMETER__NAME); | ||
864 | |||
865 | lookupDefinitionEClass = createEClass(LOOKUP_DEFINITION); | ||
866 | createEReference(lookupDefinitionEClass, LOOKUP_DEFINITION__MAPPING); | ||
867 | createEReference(lookupDefinitionEClass, LOOKUP_DEFINITION__ARGUMENTS); | ||
868 | |||
869 | variableEClass = createEClass(VARIABLE); | ||
870 | createEAttribute(variableEClass, VARIABLE__NAME); | ||
871 | |||
872 | assignmentEClass = createEClass(ASSIGNMENT); | ||
873 | createEReference(assignmentEClass, ASSIGNMENT__INPUT); | ||
874 | createEAttribute(assignmentEClass, ASSIGNMENT__MULTIPLE); | ||
875 | createEReference(assignmentEClass, ASSIGNMENT__OUTPUT); | ||
876 | |||
877 | eventReferenceEClass = createEClass(EVENT_REFERENCE); | ||
878 | createEReference(eventReferenceEClass, EVENT_REFERENCE__COMPONENT); | ||
879 | createEReference(eventReferenceEClass, EVENT_REFERENCE__EVENT); | ||
880 | |||
881 | componentInstanceEClass = createEClass(COMPONENT_INSTANCE); | ||
882 | createEReference(componentInstanceEClass, COMPONENT_INSTANCE__COMPONENT_TYPE); | ||
883 | } | ||
884 | |||
885 | /** | ||
886 | * <!-- begin-user-doc --> | ||
887 | * <!-- end-user-doc --> | ||
888 | * @generated | ||
889 | */ | ||
890 | private boolean isInitialized = false; | ||
891 | |||
892 | /** | ||
893 | * Complete the initialization of the package and its meta-model. This | ||
894 | * method is guarded to have no affect on any invocation but its first. | ||
895 | * <!-- begin-user-doc --> | ||
896 | * <!-- end-user-doc --> | ||
897 | * @generated | ||
898 | */ | ||
899 | public void initializePackageContents() | ||
900 | { | ||
901 | if (isInitialized) return; | ||
902 | isInitialized = true; | ||
903 | |||
904 | // Initialize package | ||
905 | setName(eNAME); | ||
906 | setNsPrefix(eNS_PREFIX); | ||
907 | setNsURI(eNS_URI); | ||
908 | |||
909 | // Obtain other dependent packages | ||
910 | EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); | ||
911 | PatternLanguagePackage thePatternLanguagePackage = (PatternLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(PatternLanguagePackage.eNS_URI); | ||
912 | |||
913 | // Create type parameters | ||
914 | |||
915 | // Set bounds for type parameters | ||
916 | |||
917 | // Add supertypes to classes | ||
918 | inputEventEClass.getESuperTypes().add(this.getEventDeclaration()); | ||
919 | eventDefinitionEClass.getESuperTypes().add(this.getEventDeclaration()); | ||
920 | basicEventDefinitionEClass.getESuperTypes().add(this.getEventDefinition()); | ||
921 | gateDefinitionEClass.getESuperTypes().add(this.getEventDefinition()); | ||
922 | andGateEClass.getESuperTypes().add(this.getGateDefinition()); | ||
923 | orGateEClass.getESuperTypes().add(this.getGateDefinition()); | ||
924 | lookupDefinitionEClass.getESuperTypes().add(this.getVariable()); | ||
925 | componentInstanceEClass.getESuperTypes().add(this.getVariable()); | ||
926 | |||
927 | // Initialize classes and features; add operations and parameters | ||
928 | initEClass(cftModelEClass, CftModel.class, "CftModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
929 | initEAttribute(getCftModel_PackageName(), theEcorePackage.getEString(), "packageName", null, 0, 1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
930 | initEReference(getCftModel_Imports(), this.getImportDeclaration(), null, "imports", null, 0, -1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
931 | initEReference(getCftModel_ComponentDefinitions(), this.getComponentDefinition(), null, "componentDefinitions", null, 0, -1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
932 | initEReference(getCftModel_TransformationDefinitions(), this.getTransformationDefinition(), null, "transformationDefinitions", null, 0, -1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
933 | |||
934 | initEClass(importDeclarationEClass, ImportDeclaration.class, "ImportDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
935 | initEAttribute(getImportDeclaration_ImportedNamespace(), theEcorePackage.getEString(), "importedNamespace", null, 0, 1, ImportDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
936 | |||
937 | initEClass(componentDefinitionEClass, ComponentDefinition.class, "ComponentDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
938 | initEAttribute(getComponentDefinition_Name(), theEcorePackage.getEString(), "name", null, 0, 1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
939 | initEReference(getComponentDefinition_InputEvents(), this.getInputEvent(), null, "inputEvents", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
940 | initEReference(getComponentDefinition_OutputEvents(), this.getEventDeclaration(), null, "outputEvents", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
941 | initEReference(getComponentDefinition_EventDefinitions(), this.getEventDefinition(), null, "eventDefinitions", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
942 | |||
943 | initEClass(eventDeclarationEClass, EventDeclaration.class, "EventDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
944 | initEAttribute(getEventDeclaration_Name(), theEcorePackage.getEString(), "name", null, 0, 1, EventDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
945 | |||
946 | initEClass(inputEventEClass, InputEvent.class, "InputEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
947 | initEAttribute(getInputEvent_Multiple(), theEcorePackage.getEBoolean(), "multiple", null, 0, 1, InputEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
948 | |||
949 | initEClass(eventDefinitionEClass, EventDefinition.class, "EventDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
950 | |||
951 | initEClass(basicEventDefinitionEClass, BasicEventDefinition.class, "BasicEventDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
952 | initEAttribute(getBasicEventDefinition_Rate(), theEcorePackage.getEDouble(), "rate", null, 0, 1, BasicEventDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
953 | |||
954 | initEClass(gateDefinitionEClass, GateDefinition.class, "GateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
955 | initEReference(getGateDefinition_InputEvents(), this.getEventDeclaration(), null, "inputEvents", null, 0, -1, GateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
956 | |||
957 | initEClass(andGateEClass, AndGate.class, "AndGate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
958 | |||
959 | initEClass(orGateEClass, OrGate.class, "OrGate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
960 | |||
961 | initEClass(transformationDefinitionEClass, TransformationDefinition.class, "TransformationDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
962 | initEAttribute(getTransformationDefinition_Name(), theEcorePackage.getEString(), "name", null, 0, 1, TransformationDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
963 | initEReference(getTransformationDefinition_MappingDefinitions(), this.getMappingDefinition(), null, "mappingDefinitions", null, 0, -1, TransformationDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
964 | |||
965 | initEClass(mappingDefinitionEClass, MappingDefinition.class, "MappingDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
966 | initEAttribute(getMappingDefinition_TopLevel(), theEcorePackage.getEBoolean(), "topLevel", null, 0, 1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
967 | initEReference(getMappingDefinition_Pattern(), thePatternLanguagePackage.getPattern(), null, "pattern", null, 0, 1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
968 | initEReference(getMappingDefinition_Parameters(), this.getMappingParameter(), null, "parameters", null, 0, -1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
969 | initEReference(getMappingDefinition_ComponentInstance(), this.getComponentInstance(), null, "componentInstance", null, 0, 1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
970 | initEReference(getMappingDefinition_LookupDefinitions(), this.getLookupDefinition(), null, "lookupDefinitions", null, 0, -1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
971 | initEReference(getMappingDefinition_Assignments(), this.getAssignment(), null, "assignments", null, 0, -1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
972 | |||
973 | initEClass(mappingParameterEClass, MappingParameter.class, "MappingParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
974 | initEAttribute(getMappingParameter_Name(), theEcorePackage.getEString(), "name", null, 0, 1, MappingParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
975 | |||
976 | initEClass(lookupDefinitionEClass, LookupDefinition.class, "LookupDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
977 | initEReference(getLookupDefinition_Mapping(), this.getMappingDefinition(), null, "mapping", null, 0, 1, LookupDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
978 | initEReference(getLookupDefinition_Arguments(), this.getMappingParameter(), null, "arguments", null, 0, -1, LookupDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
979 | |||
980 | initEClass(variableEClass, Variable.class, "Variable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
981 | initEAttribute(getVariable_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
982 | |||
983 | initEClass(assignmentEClass, Assignment.class, "Assignment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
984 | initEReference(getAssignment_Input(), this.getEventReference(), null, "input", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
985 | initEAttribute(getAssignment_Multiple(), theEcorePackage.getEBoolean(), "multiple", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
986 | initEReference(getAssignment_Output(), this.getEventReference(), null, "output", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
987 | |||
988 | initEClass(eventReferenceEClass, EventReference.class, "EventReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
989 | initEReference(getEventReference_Component(), this.getVariable(), null, "component", null, 0, 1, EventReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
990 | initEReference(getEventReference_Event(), this.getEventDeclaration(), null, "event", null, 0, 1, EventReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
991 | |||
992 | initEClass(componentInstanceEClass, ComponentInstance.class, "ComponentInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
993 | initEReference(getComponentInstance_ComponentType(), this.getComponentDefinition(), null, "componentType", null, 0, 1, ComponentInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
994 | |||
995 | // Create resource | ||
996 | createResource(eNS_URI); | ||
997 | } | ||
998 | |||
999 | } //CftLanguagePackageImpl | ||