Table of Contents
All projects include the following tasks:
Make an association-free design model derived from the given design model. Hint: replace associations with corresponding reference properties.
If you have any questions about how to carry out the following projects, you can ask them on our discussion forum.
If you would like to work on these practice projects with the guidance of a coach, then you should enrol in the advanced online course (book parts 4-5) offered by our partner developer-competence.com.
This project is based on the information design model shown below. The app from the previous
assignments is to be extended by adding the possibility to manage data about the actors and the
director of a movie. This is achieved by adding a model class
Person and two
unidirectional associations between
a many-to-one association assigning exactly one person as the director of a movie, and
a many-to-many association assigning zero or more persons as the actors of a movie.
You can use the following sample data for testing your app:
Table 14.1. Movies
|Movie ID||Title||Release date||Director||Actors|
|1||Pulp Fiction||1994-05-12||3||5, 6|
|2||Star Wars||1977-05-25||2||7, 8|
|3||Dangerous Liaisons||1988-12-16||1||9, 5|
Table 14.2. People
More movie data can be found on the IMDb website.