First page Back Continue Last page Graphics

Creating the Base Entity Object in an Inheritance Hierarchy


Notes:

Creating the Base Entity Object in an Inheritance Hierarchy

To create the base EO, use the Create Entity Object wizard as follows:

1. Provide a name, package, and schema object on which to base the EO.

2. Remove attributes that are not relevant to the base EO.

Select the attribute to use as the discriminator and select the Discriminator check box. Set the Value as appropriate for the base entity.

4. If there are methods that should apply to the base class, generate a Java class and add the methods in the code editor. These methods are inherited by all subtypes. (This example does not use any methods, so the Java class is not generated.)