Rule Builder > Business Object Models > Working With the BOM Property Sheet > Setting the supertypes Property |
Setting the supertypes Property |
PREVIOUS NEXT |
Using the supertypes
property you can create parents for classes present in the BOM. The supertypes
property allows you to specify the generalizations between BOM classes and also provides you with the ability to see quickly and easily how the BOM classes are interrelated.
There are two ways that you can set the supertypes
property; using the Class Diagram or the Property Sheet. Note that you can have multiple inheritance between classes.
If you create a generalization in the Class Diagram, the Property Sheet is automatically updated. Similarly, if you create a generalization in the Property Sheet, the Class Diagram is automatically updated.
The example give here is based on the CreditAnalysis
repository that can be found in the BRE Server Tutorial in the directory <InstallDir\tutorials\bres\task1\data
To set the supertypes
property:
CreditAnalysis
repository and the BOM Explorer.
credit
package in the BOM Explorer and then click Add Class on the shortcut menu.
supertypes
property to open a small window as an extension of the Property Sheet, see Figure 8.21.
Bankruptcy
and Borrower
defined, see Figure 8.23.
supertype
and click the supertype
in the list.Note |
Inheritance of a BOM class from the java.lang.Object is implicit; however, this is not shown by the supertypes property of the class. |
Creating a Class Diagram | Creating Links | BOM Class Properties
Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |