The object-oriented model is a very flexible tool, which allows you quickly to develop your model without constraints. You can check the validity of your OOM at any time.
A valid OOM conforms to the following kinds of rules:
Each object name in a OOM must be unique
Each class in a OOM must have at least one attribute and operation
Each start or end must be linked to an object of the diagram
We recommend that you check your object-oriented model before generating code or another model from it . If the check encounters errors, generation will be stopped. The Check model option is enabled by default in the Generation dialog box.
You can check your model in any of the following ways:
The Check Model Parameters dialog opens, allowing you to specify the kinds of checks to perform, and the objects to apply them to. The following sections document the OOM -specific checks available by default. For information about checks made on generic objects available in all model types and for detailed information about using the Check Model Parameters dialog, see Core Features Guide > The PowerDesigner Interface > Objects > Checking Models.