Class MovieReviewManager

Object
MovieReviewManager

public class MovieReviewManager extends Object
Controller class for handling all logic related to MovieReview
Version:
1.0
Author:
Jerick, Yeek Sheng
  • Constructor Details

    • MovieReviewManager

      public MovieReviewManager()
      Constructor
  • Method Details

    • createMovieReview

      public MovieReview createMovieReview(MovieGoer movieGoer, Movie movie, String review, double movieReviewRating)
      Method to create a MovieReview instance and save to MovieGoer, Movie, and MovieReview database.
      Parameters:
      movieGoer - is the MovieGoer who sets the review
      movie - is the movie that the review given to
      review - is the review of the movie
      movieReviewRating - is the rating of the movie
      Returns:
      The created MovieReview object