-
Book Overview & Buying
-
Table Of Contents
Oracle ADF 11gR2 Development Beginner's Guide
By :
In our previous exercise, we
did not select the options to generate the Java API in Create Component Wizard. The following steps will show how to generate a Java API for the EmpEO.xml file:
Select the EmpEO.xml file from the Model project in the Projects pane.
Click on the Java tab and then click on the pencil icon. This will open the option to select the Java class files:

Check the Generate Entity Object Class EmpEOImpl checkbox. This will create the EmpEOImpl class that will extend the EntityImpl class.
Select the Accessors option to generate the attribute's getter and setter methods; Create Method will generate the create() method; Data Manipulation Methods will create the lock() and doDML() methods and Remove Method will create the remove() method.
Checking the Generate Entity Collection Class EmpEOCollImpl checkbox will create the EmpEOCollImpl class that will cache the queried entity row. This class will extend the EntityCache class to...
Change the font size
Change margin width
Change background colour