Modelio consistency management services¶
The Modelio audit service carries out more than 280 consistency checks on a model in real time. These checks guarantee that the models you build in Modelio all reach the same high standards of quality.
If any problems are encountered, a message appears in the “Audit” view.
Example of a case scenario forbidden by consistency checks¶
The screenshot below presents an example of an operation forbidden by Modelio (two elements with identical names).
An error message in the “Audit” view¶
All the model elements appearing in all the Modelio windows are kept permanently consistent. For example, the name of an operation can appear in a state diagram, a sequence diagram and the “Model” view. No matter how many times it appears or how many times it may be modified, it is always consistent.
Example of consistency management¶
The screenshot below presents a class diagram created on a package. This package contains the “Soup” class, whose name we are going to change to “OrangeJuice”.
Modelio consistency management permanently guarantees that your models are kept consistent¶
In the “Model” view, select the “Soup” class (which is also present in the open class diagram).
In the “Element” view, with the UML group active, click in the “Name” field to activate it, and enter a new name (here, “Orange juice”).
Notice how the element’s name is immediately updated both in the “Model” view and in the class diagram.
Assisted entry fields¶
Modelio provides the assisted entry mechanism that lists all the elements that can be selected during a given modeling operation. This mechanism carries out more than 280 consistency checks in real time on models, guaranteeing the high quality of your models.
The assisted entry mechanism lets you avoid the following problems:
- having to enter the same name several times
- having to manually update identical names during modifications
- inadvertently entering inconsistent names
Example of an assisted entry field¶
Let’s imagine that you have just created two non-primitive classes named “C1” and “C2” inside a package, as well as an attribute on the “C1” class, and that you now want to define the element that will type the attribute.
The list of possible typing elements for the attribute¶
In the “Model” view, select the attribute you want to add a type to.
In the “Element” view, with the UML group active, click in the “Type” field to activate it, and then either hit Enter to display the full list to choose from, or use the cursor to choose an element from the browser.
The list of possible typing elements contains predefined primitive classes (integer, string, ).