Modeler: Tutorial/Using the plugin modules

From CaseTalk Wiki
Jump to: navigation, search

In this lesson you will learn how to use the Plug-In Modules. Plug-In Modules are separately available extensions to the casetool.

Using the SQLite plugin

Casetalk comes with lots of plugins to export you model to various artifacts, such as database compliant code.

1. Select 'Settings from the Run menu. A list of different database types is shown which can be called automatically after a model transformation. Or you may select one while an IGG is active using the plugin button at the project manager:

Plugins.png

2. Check SQLite in the list and click OK

3. Select Transform from the Run menu. A serie of SQL-scripts is created in the Project Manager and also the SQL Information Grammar:

SQLiteFiles.png

4. Double click on the lesson_glr.sdb. A new tab appears with the database information and tables.

5. Click on the Apprenticeship table. The table data is shown on the right. Clicking on the arrow next to the Apprenticeship table shows the primary key (apprenticeship_code) from that table:

Dbstruct.png

6. Click on Expression_Apprenticeship. The expressions concerning the Apprenticeship are shown on the right. Of course, the created SQLite files can be found in the project folder.

Note that this means that not only a database is created, but all communication is still available as well.


Back: Deriving a Database Schema

Next: Subtype and Generalisation