Map Tool application


Map Tool  (MapTool) application is used to extend UML class model with information about mapping between database and class structures. It also is used to generate source files.
The unit of work withing MapTool is project file, wich contains the next information
To map class you have to assign table (view) to the class and for each class attribute assign correspondent column from that view (use drag-and-drop). After work is done don't forget to save your mapping. Finally you can generate source file for your class or whole package.

Object-to-Database mapping

There are different ways to represent class structure in UML. Also there are many object mapping approaches. MapTools uses the next assumtions about class model and mapping methods
  1. Classes are mapped to the tables or views.
  2. Attributes of simple types (integer, string, float, boolean, etc.) are represented as class attributes in the class mode
  3. Attributes of object types (pointer to object, object) are represented as association between classes.
  4. Attribute of collection types (list of objects) are represented  as associations between classes.
  5. Attribute of enumeration type are represented as association between classes.
  6. Attribute of set type (arrays of simple types) are represented as association between classes