The Atom Template
Atom Templates are ABSE's metamodels: The models for all the Atom Instances you use to build your ABSE trees.
Atom Templates act as fragmented repositories of your own knowledge. They capture your know-how into small units that you can later reuse and combine. The result is systematization and automation of yourself and/or your team, when it comes to software development.
Atom Templates always reside on a special ABSE tree: The Atom Library. You can further organize your Atom Templates using Atom Organizers.
Atom Template Sections
The Atom Template's transformation code is what is actually executed when you execute your ABSE tree. There are seven distinct sections in an Atom Template. Each of these sections have a well-defined purpose:
| Admin |
Defines atom constraints, parameters, and attributes |
| Form |
Defines a form that can be used to interactively create and edit an Atom Instance |
| Create |
Actions to perform when the Atom Instance is created |
| Pre |
Actions to perform when executing the first phase of ABSE model execution |
| Exec |
Actions to perform when executing the second phase of ABSE model execution |
| Post |
Actions to perform when executing the third phase of ABSE model execution |
| Functions |
Atom behaviours and other additional functions that can be directly called by this and other atoms |
Composition
A child branch of Atom Instances can be added to an Atom Template. This branch is automatically replicated on an ABSE model when the Atom Template is instantiated. Template inheritance is also taken into account, so Atom Instances are recursively replicated.
|