Chapter 6. Unidirectional Associations Practice Projects

Table of Contents
1. Assign a director and actors to a movie
2. Assign cities and a capital to a country, and members to an organization

All projects include the following tasks:

  1. Make an OO class model derived from the given design model. Hint: replace associations with corresponding reference properties.

  2. Make a JavaScript class model or a Java Entity class model derived from the OO class model. Hint: add check and setter methods.

  3. Code your JS class model or Java Entity class model, following the provided guidelines.

Make sure that your pages comply with the XML syntax of HTML5, and that your JavaScript code complies with our Coding Guidelines and is checked with (JSHint).