Generating Custom Enterprise Object Classes
You can easily create a custom class to hold your business logic: EOModeler provides a command to generate enterprise object classes.
- In EOModeler, select the Talent entity.
- Choose Property Generate Java Files.
- Ensure that the Movies project directory is selected.
- Click Save.
- Click Yes.
- Follow the same procedure for MovieRole.
A Choose Class Name panel opens. If you opened the model file from Project Builder, the Choose Class Name panel displays the project as the destination directory and Talent.java as the default file name.
A panel opens, asking if you want to insert the file in your project.
EOModeler creates the source file Talent.java and adds it to your project.
Table of Contents Next Section