Modelio consistency management services

Consistency checks

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).

3

An error message in the “Audit” view

Consistency management

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”.

4

Modelio consistency management permanently guarantees that your models are kept consistent

Keys:

  1. In the “Model” view, select the “Soup” class (which is also present in the open class diagram).

  2. 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”).

  3. 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.

5

The list of possible typing elements for the attribute

Keys:

  1. In the “Model” view, select the attribute you want to add a type to.

  2. 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 6cursor to choose an element from the browser.

Note: The list of possible typing elements contains predefined primitive classes (integer, string, ).

modeler_fig_63.png (26.6 KB) admin admin, 05 September 2012 11:09

yes.png (618 Bytes) admin admin, 05 September 2012 11:09

modifelements_008.png (38.2 KB) admin admin, 05 September 2012 11:09

modifelements_007.png (147 KB) admin admin, 05 September 2012 11:09