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 below. The app from the previous
assignment is to be extended by adding derived
inverse reference properties for implementing the bidirectional
associations. This is achieved by adding the multi-valued reference properties
playedMovies to the model class
Person, both with range
You can use the following sample data for testing your app:
Table 17.1. Movies
|Movie ID||Title||Release date||Director||Actors|
|1||Pulp Fiction||1994-05-12||1||5, 6|
|2||Dangerous Liaisons||1988-12-16||2||7, 5|
|3||Inglourious Basterds||2009-05-20||1||9, 1|
Table 17.2. People
|Person ID||Name||Directed movies||Played movies|
|1||Quentin Tarantino||1, 3||3|
|5||Uma Thurman||1, 2|
More movie data can be found at the IMDb website.