Hello,
In what extends does the specification language for defining archetypes and the language for defining templates differ ?
Both take existing data models (RM types and archetypes) and constrain them as needed.
It is often said, that archetypes are used to recombine RM types and templates are used to recombine archetypes. But the slot mechanism within the archetype definition does as well allow archetypes recombination within archetypes. And the constraining that is done within templates could as well be done using the constraining mechanisms of archetype design.
Why are two specification languages needed ? And if one has elements that the other is missing, why can't those elements simply be included in the other, to reduce the amount of specification languages ?
Greetings
Georg
Originally they were thought as two different artifacts to live in different parts of the system. But as you point this is not the case. That’s why in ADL2 both archetypes and templates are describe by the sane artifacts
In case of ADL1.4, templates que usually describe in OPT, which has different expressability
so, ADL2 is used to define both archetypes as well as templates ?
In ADL2 yes
You can see an example of an ADL2 template here.
The ADL Workbench and I think Archie as well (and maybe even Better /Marand ADL-designer?) will read and write these templates.
- thomas