- 1 KDM.Source extension : a metamodel for weaving Code models and KDM Inventory models
- 2 How to create a composition metamodel between Code models and KDM Inventory model
- 3 How to develop a discoverer for the composition metamodel
KDM.Source extension : a metamodel for weaving Code models and KDM Inventory models
The component proposes a small framework for building weaving information between code models (Java, C++, ...) and physical resources (disk files and directories).
This framework reuses the KDM "Source" subpackage, which proposes a model for physical resources, known as "Inventory Model", which is shown below.
KDM inventory model also proposes SourceRegion/SourceRef concepts for weaving other kdm models (kdm code models, ...) with physical representation. Some references exist from other KDM subpackages to the SourceRef concept.
MoDisco proposes to compose KDM inventory models with non-KDM models. A subpart of KDM Source model is extended for linking the SourceRegion concept with non-KDM elements.