Architecting and designing > UML 2.0 Lite > UML models > General drawing and rules checks > UML Rules
  
UML Rules
A Rules Check is provided for all UML diagrams. It can be run by selecting Unified Rules Check from the Reports menu on any of the UML diagrams. System Architect runs a rules check and places visual indications (circles enclosing the number of the error or warning) on the diagram where UML notation and semantic rules have been violated. The visual indicators can be removed by selecting Clear Errors on the Reports menu.
The rules check can be customized by the user, by editing the UFMRULES.BAS, UFMRULE1.BAS, and UFMRULE3.BAS files (UFM for Unified Method), located in the same directory as the System Architect executable (generally Program Files\System Architect). Customization of the rules check is for advanced users only.
Errors and warnings
Rule
Error or warning
Diagram, symbol, or line checked
R1
Error: No name.
Class Object Association State Event Process Inheritance Line Final State
R6
Error: Only one connection.
Association Dependency Inheritance
R7
Error: No connections.
Association Dependency Inheritance
R9
Error: No input flow.
State Final State
R10
Error: No output flow.
State Initial State
R19
Error: No definition.
Object Class Event State
R45
Warning: Class is not related to any other class.
Class
R73
Warning: Class has no attributes.
Class
R75
Warning: Class has no operations.
Class
R81
Error: Operation is both static and virtual.
Class
R83
Error: State has multiple exit transitions with the same name.
State
R84
Error: State diagram is not child of a class symbol.
State Diagram
R86
Error: State diagram's diagram property for 'Class Name' not symbol's name.
State Diagram
R90
Connection lines should be attached to Nodes at both ends.
Connection
R113
Error: State has no action attached.
State
See also
General drawing and rules checks