MDA Distilled: Principles of Model-Driven Architecture
by Stephen J. Mellor, Kendall Scott, Axel Uhl, Dirk Weise
Using Metamodels
We build (or use preexisting) metamodels to declare the elements of a modeling language so we can build mappings between them. (There are other uses, such as building a language, which we take up in Chapter 7.)
A metamodel is merely a model whose instances are types in another model. This allows us to capture the other model and manipulate it. A well-known metamodel is the specification for UML, which captures the classes in a developer's model. Moreover, metamodels may themselves be captured in metametamodels, the OMG standard form for which is the MOF. The MOF provides the means by which you will be able to tailor your metamodels and relate them to a standard MDA infrastructure. The existence of standards for representing models, ...
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