The generator then needs to run the
checking as a separate process or, more likely to check the input internally without
providing trace links back to models.
Whenever possible, it is better to support integration at modeling time??”it enables
integration before the generation. The second approach is to de?¬?ne concepts enabling
model integration. Stahl and Vo??
lter (2006) suggest the use of a few concepts that are
common between two or more languages. These are called gateway elements in the
metamodel. These few special modeling concepts are then used to link separate
languages (and models) together during generation.
In reality, the domain concepts are integrated and related, whereas the integration
concepts are just additional reference elements that need to be handled separately.
Therefore, it is usually much better to de?¬?ne that languages share and refer to the same
modeling concepts. This means integration based on the metamodel. You may share
the same modeling concepts completely or just parts of them, like some of their
properties. You may also integrate languages based on model decomposition, have
another language for specifying details of one particular model element, or de?¬?ne
other mappings between modeling concepts. While this is more dif?¬?cult for the
language developer, it makes the life of modelers much easier, and generator
developers can better rely on the input for generators being correct: it is checked in the
models.
Pages:
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462