Home / Model Expert Homepage / Model Expert Help / Validation rules / Validation Scripting Examples
Creating Reference Models
(13)
Import an MDG to create a Reference Model
Importing and exporting Reference Models
Editing RM Connector type properties
Stereotypes inheriting from other Element Types
Customizing Reference Model Properties
Customizing Reference Model Element Properties
Using Reference Models
(12)
Validation Scripting Examples
Example Scripts
Note: all scripts are examples only, and are supplied on an âas-isâ basis. You must check that they meet your requirements, and are functioning correctly.
- Validating a single element type. This example does some simple checks on a UseCase element, but ones which can’t be done using a Reference Model
- Implementing a naming convention. This is a frequent requirement when you need tight control of the names of elements. In this example, the script checks the first party of the name of an Activity against a list of allowed verbs.
- Validate a diagram. Example of how you can script the checking of a diagram to conform to your local standards.