Managing Persistence for Generalizations

You can control the generation of classes connected by a generalization link into CDM entities or PDM tables using the Generate table and Migrate columns options in the Persistent groupbox on the Detail tab.

In the following example, Customer is set to Generate table and inherits, via a generalization link, from Person, which is set to Migrate columns:



Customer inherits the attributes of the parent class in the generated PDM:



Derived classes are created to improve the readability of a model but add no semantic information and are not generated in a PDM, their attributes being migrated to the parent. In the following example, Women and Person are both set to Migrate columns, while Employee is set to Generate table:



In the generated PDM, Employee inherits from both its parent class and the derived class:



For more information, see Class Properties and Generalizations (OOM).