Overview of predefined meta-model examples¶
Codeable Models contains a number of example models and meta-models. In this chapter you find a brief overview
of the metamodels. All those meta-models can be found in the metamodels
directory.
Activity Metamodel¶
File Name: metamodels/activity_metamodel.py
This is a simple activity metamodel. As it is used for explaining basic meta-modelling, it is described in A first meta-model.
It provide a couple of standard node types in activity del as sub-classes of activity_node
as well as an edge_relation
to define a graph of such nodes.
Component Metamodel¶
File Name: metamodels/component.py
This is a simple component metamodel. As it is used for explaining meta-modelling with stereotypes, it is described in A meta-model with stereotypes.
It provides a component
meta-class with a generic component_type
stereotype for extensions
with component types, as well as a connectors_relation
meta-class association with a generic connector_type
stereotype for extensions with connector types.
Microservice Components Metamodel¶
File Name: metamodels/microservice_components_metamodel.py
This is an extension of the component metamodel in Component Metamodel.
It provides many component_type
and connector_type
subclasses for modelling various concepts
found in microservices and other service-based systems.
Domain Metamodel¶
File Name: metamodels/domain_metamodel.py
This is a simple domain class meta-model that del domain classes and groups of those (generic groups, and-combined and or-combined groups).
Guidance Metamodel¶
File Name: metamodels/guidance_metamodel.py
This is a meta-model for modelling architectural guidance del, aka reusable architectural decision del.
Technology Metamodel¶
File Name: metamodels/technology_metamodel.py
This is a simple meta-model for modelling technologies used in a system as stereotype extensions of a meta-class
technology
. A few sample stereotypes are provided, too.