Chapter 9 Working with Object-Oriented Models


Object checks

The following OOM model checks are made on objects:

Check Description and Correction
Object name and code uniqueness Object names and codes must be unique in the namespace (model or package) if they belong to the same class, or if they do not belong to any class.

Manual correction: Modify the duplicate name/code

Automatic correction: Appends a number to the duplicate name/code
Isolated object An object should not be isolated in the model.

Manual correction: Create a relationship to or from the object. The relationship can be a message, an instance link, or a dependency
or

Link the object to an object state in the activity diagram

Automatic correction: None

Note: the Check Model feature takes the object into account and not the symbol of the object to perform this check; if the object is already associated with an instance link or an object state in your model, the Check Model feature will not return an error message.

 


Copyright (C) 2007. Sybase Inc. All rights reserved.