|
Harvesting Diagrams
In PLASMA, the UML diagrams for a system are created within a vector based drawing application which represents each diagram as a separate file. The function of the Diagram Converter is to harvest information from this collection of files. The Diagram Converter's working name is PLASMA*PROTON and it is written in ANSI C.
The suite of Class Diagrams, State Diagrams and single Package Diagram, are held in a defined directory structure. It is navigated by the converter when it needs to locate a diagram corresponding to an object in a previous diagram.
The Package Diagram is used to show the Platform Independent Model (PIM) and the arrangement of associated Platform Specific Models (PSM). Class Diagrams are used to show the objects in both the PIM and PSMs. An object's lifecycle is shown with a State Diagram.
The Diagram Converter works by reading the Package Diagram overview and then finding the corresponding Class and State Diagrams. As it traverses the analysis model it populates the various relational tables as described by the Analysis Formalism domain (OOA of OOA) in the Metamodel. These tables are later queried by PLASMA*PARSEC templates during code generation.
|