Class diagram for the domain model

Since the domain model is the most important component of an application, in this section we will design it first. The following is the simple class diagram for this web service:

There are five main domain models, as shown in the preceding diagram. These are as follows:

  • Movie: This is the main domain model, which will store the actual movie title, year, genre, ratings, and cast
  • MovieGenre: This is the domain model that will store the name and description of the movie genre
  • MovieRating: This is the domain model that will store the comments, rating, and date of the movie rating
  • Actor: This is the domain model that will store the name, character name, and number of awards for each actor in the cast
  • User: This is the domain model that will store the username, password, role, and description for each user in the system
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.217.198