Skip to content

Added procedures for integrating classes, attributes and files into the currently loaded library

Patrik Burzynski requested to merge extend_library2 into master

Procedures have been added to integrate a library description into the currently loaded library. This currently covers:

  • Classes: normal, relation classes, record classes, Attribute Profile Classes
  • Attributes
  • Database files.

What is still missing:

  • Updating library attributes.
  • Some functions / procedures to make processing / updating library attributes or existing AttrRep attributes easier.

Also some minor changes to the "get current library/class/... description" procedures, like renaming them and parameters or adding additional information that has previously been missing (to and from classes of relation classes).

The code has been tested by exporting the Bee-Up library (using MMATRT_GET_CURRENT_LIBRARY_DESCRIPTION), performing some minor "fixes" to it (removing database specific IDs, fixing one attribute type that got hacked into the Bee-Up library) and then integrating it again into the OMiLAB Starting Library. The "Modi" attribute for dynamic and static library has been manually copied with some minor adaptations (as icon files are missing in the DB). No errors have been encountered during execution and it was possible to create a model (BPMN) after the integration and reloading the Modelling Toolkit, so I consider the test a success. For posterity here are the files with the adapted "Modi" values:
bee-up-modi-bplib.txt
bee-up-modi-welib.txt

Edited by Patrik Burzynski

Merge request reports

Loading