Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > Getting Started With WebObjects


   

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.

  1. In EOModeler, select the Talent entity.

  2. Choose Property   Generate Java Files.

    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 filename.

  3. Ensure that the Movies project directory is selected.

  4. Click Save.

    A panel opens, asking if you want to insert the file in your project.

  5. Click Yes.

    EOModeler creates the source file Talent.java and adds it to your project.

  6. Follow the same procedure for MovieRole.


© 1999 Apple Computer, Inc. – (Last Updated 24 Aug 99)