MDA Distilled: Principles of Model-Driven Architecture
by Stephen J. Mellor, Kendall Scott, Axel Uhl, Dirk Weise
Other Marks
The marks that we've described so far have applied to the elements of a model constructed by the developer, but other kinds of marks exist as well.
For example, we could define a mark “_C” that we postfix to all class names to make it easier to distinguish them from other kinds of elements in the eventual code. This postfix would apply to all classes, not just certain selected classes. As these marks apply to all classes that the mapping function transforms, this mark is not linked to any model elements; rather, it is a global configuration mark.
Marks may also apply to instances of classes of the developer models. For example, a telephone system will have some set of classes related to the phones we each use. The instances of those ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access