Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > Creating a Java Client Application: A Tutorial

   

Adding Movies to the Application

The relationships you specified in EOModeler now come into play in your application. In EOModeler you added a to-many relationship from Studio to Movie, because a Studio can have many Movies. You can now use this relationship to display the movies for the selected studio.

In this type of configuration, called master-detail, the master table holds records for the source of the relationship, while the detail table holds records for the destination. As individual records in the master table are selected, the contents of the detail table change to show the records that correspond to the selection in the master. In the StudioManager application, Studio is the master table and Movie is the detail table.


© 1999 Apple Computer, Inc. – (Last Updated 13 Sep 99)