Difference between revisions of "Modeler:12/GlrOptions"

From CaseTalk Wiki
Jump to: navigation, search
m
m
 
Line 14: Line 14:


== Well-formedness ==
== Well-formedness ==
* Allow validation warnings
* Show only errors and warnings


== Project Files ==
== Project Files ==
* Overwrite known IGG Files
* Warn before saving IG file
* Copy Active Diagrams


= Transformations =
= Transformations =
* '''Group'''. Grouping roles together. Selecting proposal merely checks the options and performs no real grouping. Performing a step-by-step enables you to manually go through the grouping process. '''Derived subtypes''' enables grouping for subtypes which are marked as "derivable".
* '''Lexicalize'''. This step of lexicalizing makes sure every role is played by a label type. This is a requirement for database script generation.
* '''Reduce'''. If the population is already present under different fact types, we may reduce the fact types which contain duplicate or obsolete storage for them.


== Namings ==
== Namings ==
* [[Modeler:12/NamingConventions| Naming Conventions]]
* '''Column Names'''. Database column names can be chosen by different naming algorithms. They vary from the full conceptual path down to numbered label types. Depending on your preferences you may choose any of them. They all create unique names, see also: [[Column Names]].
* Column Fix Type Names


== Options ==
== Options ==
* Automatic primary key
* Assume wide UC
* Assume wide TC


= After =
= After =
* DBMS types


== Diagrams ==
== Diagrams ==


 
* Show subsets
 
* Hide labeltypes
 
* Show primary UC
 
 
== Transformation Profile ==
 
GLR transforms the conceptual model. It is done in a seperate file. The conceptual model will not be touched. You'll notice a new file being created during transformation with the file extention IGG. The transformation settings apply to model changed which are written into this new file.
 
 
* '''Allow validation warnings'''. Before transformation the model is checked for well formedness. This may result in warnings and possibly errors. Warnings may be allowed, errors never. Enabling this option will continue transformation although warnings exist.
* '''Show only errors and warnings'''. This option will hide all well formedness rules which are not resulting in an error or warning.
* '''Overwrite known IGG files'''. Known files are files which are displayed as part of the project. By enabling this option, any generated IGG will overwrite the already known IGG in this project.
* '''Warn before saving IG file'''. You may have unsaved edits in your conceptual model. By performing a transformation, CaseTalk will first save these edits before transforming it into an IGG file. Enabling this option will display a prompt to ask your permission to save the current unsaved edits.
 
=== After GLR ===
Below the options panel, you may choose which implementation script you wish to generate after performing a transformation with:
* '''After GLR automatically generate'''
 
[[File:GlrOptions.png]]
 
=== Steps ===
 
* '''Group'''. Grouping roles together. Selecting proposal merely checks the options and performs no real grouping. Performing a step-by-step enables you to manually go through the grouping process. '''Derived subtypes''' enables grouping for subtypes which are marked as "derivable".
* '''Lexicalize'''. This step of lexicalizing makes sure every role is played by a label type. This is a requirement for database script generation.
* '''Reduce'''. If the population is already present under different fact types, we may reduce the fact types which contain duplicate or obsolete storage for them.
 
=== Naming ===
Starting at version 10.2.4 the [[Modeler:10/NamingConventions| Naming Conventions]] option is added to be executed automatically after GLR. This allows entities to be noted in a specific convention.
 
 
[[File:GlrNamingConventions.png]]
 
Database column names can be chosen by different naming algorithms. They vary from the full conceptual path down to numbered label types. Depending on your preference you may choose any of them. They all create unique names, see also: [[Column Names]].
 
=== Adjust Diagrams ===
It may be convenient to automatically show the subset constraints in the diagram after GLR. Also hiding the Labels after performing lexicalization may paint a clearer picture in the diagram. They both are visual adjustments to any opened diagram.

Latest revision as of 16:21, 28 March 2022

Model transformations may be required for certain artifact generations. The dialog to set how to transform the model is displayed here.

GlrOptions12.png

Before

  • Derive data types. Once enabled the label datatypes are derived from the population, if not yet set.
  • Clear population. Erases all example population.
  • Clear entity schema. Erase schema names from otft's before transformation starts. If name clashes occur, the schema is prefixed to the name.
  • Transitional
  • Temporal
  • Art. Key
  • Localize

Well-formedness

  • Allow validation warnings
  • Show only errors and warnings

Project Files

  • Overwrite known IGG Files
  • Warn before saving IG file
  • Copy Active Diagrams

Transformations

  • Group. Grouping roles together. Selecting proposal merely checks the options and performs no real grouping. Performing a step-by-step enables you to manually go through the grouping process. Derived subtypes enables grouping for subtypes which are marked as "derivable".
  • Lexicalize. This step of lexicalizing makes sure every role is played by a label type. This is a requirement for database script generation.
  • Reduce. If the population is already present under different fact types, we may reduce the fact types which contain duplicate or obsolete storage for them.

Namings

  • Naming Conventions
  • Column Names. Database column names can be chosen by different naming algorithms. They vary from the full conceptual path down to numbered label types. Depending on your preferences you may choose any of them. They all create unique names, see also: Column Names.
  • Column Fix Type Names

Options

  • Automatic primary key
  • Assume wide UC
  • Assume wide TC

After

  • DBMS types

Diagrams

  • Show subsets
  • Hide labeltypes
  • Show primary UC