Home / Model Expert Homepage / Model Expert Help / Using Reference Models / Check package against a Reference Model
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
Check package against a Reference Model
Access
EA project browser > Select package > Specialize > Model Expert > Check package
Options
Option | Description | See Also |
---|---|---|
Choose Reference Model | Select from drop-down list | |
Analyze fields and Tagged Values | Un-check this and Model Expert will not check the EA fields and tagged values used by each element under the package
Default ON |
|
Run custom scripts | Un-check this and Model Expert will not run any custom scripts. Useful if your scripts are slow.
Default ON |
Writing scripted rules |
Check all diagrams | Check this to make Model Expert check on the contents of each diagram. This will check that diagrams have all the element types required by the Reference Model, but don’t contain elements which are not in the Reference Model.
Default OFF |
|
Show results in violation list | Show a violation list which describes any violations in more detail. This can be used to help fix any issues
Default ON |
Violation list |
Show results as diagram | Shows the results in a summary meta-model diagram, colored to show where there are violations.
Default OFF. If ON, Choose package |
Checking a package
When you check a package, Model Expert will look at all the elements in the package, and in all child packages.
It will check that each element has a type & stereotype which are in the Reference Model, and optionally, whether they have the required fields and tagged values filled-in, and don’t use any fields or TVs which are not in the Reference Model.
It will check the connectors of all of the elements, but only connectors which link elements which are BOTH in the package. So, a connector to an element outside the package will not create a violation.
Results
Summary
Following the analysis, the Package Check dialogue shows:
Results | Results Summary |
---|---|
A list of each sub-package, diagram, element and connector analysed |
With an overal RAG status for the package |
Results as a Diagram
Description | See Also |
---|---|
Model Expert creates a snapshot meta-model of the package, then annotates with the errors it has found. | Summary Diagram |
Results as a Violation List
Description | See Also |
---|---|
The violation list shows a list, with more detail than the diagram, of the ways in which a checked package is incompatible with the Reference Model | Violation list |
Fixing your model
Once you have identified the issues in your model, it’s time to start Fixing a Package