Package src.model

Class MovieReview

Object
MovieReview
All Implemented Interfaces:
Serializable

public class MovieReview extends Object implements Serializable
The Class that handles the data of Movie Review
Version:
1.0
Author:
Jerick, Yeek Sheng
See Also:
  • Constructor Details

    • MovieReview

      public MovieReview(String UUID, String goerUUID, Movie movie, String review, double movieReviewRating)
      Constructor for MovieReview class
      Parameters:
      UUID - is the unique ID in the database
      goerUUID - is the unique ID of Movie Goer who sets this review
      movie - is the Movie of the review
      review - is the review of the movie
      movieReviewRating - is the rating of the movie by Movie Goer
  • Method Details

    • getUUID

      public String getUUID()
      Gets the unique ID of the movie review
      Returns:
      unique ID of the movie review
    • setUUID

      public void setUUID(String UUID)
      Sets the unique ID of the movie review
      Parameters:
      UUID - is the unique ID of the movie review to be set
    • getReview

      public String getReview()
      Gets the review of the movie of the Movie Goer
      Returns:
      review of the movie by the Movie Goer
    • setReview

      public void setReview(String review)
      Sets the review of the Movie Goer
      Parameters:
      review - is the review of the Movie Goer to be set
    • getMovieReviewRating

      public double getMovieReviewRating()
      Gets the rating set by the Movie Goer for the movie
      Returns:
      Rating of the movie set by the Movie Goer
    • setMovieReviewRating

      public void setMovieReviewRating(double movieReviewRating)
      Sets the rating of the movie by Movie Goer
      Parameters:
      movieReviewRating - is the rating of movie to be set by Movie Goer
    • getGoerUUID

      public String getGoerUUID()
      Gets the unique ID of Movie Goer who sets this review
      Returns:
      the unique ID of the Movie Goer who sets the review
    • setGoerUUID

      public void setGoerUUID(String goerUUID)
      Sets the unique ID of Movie Goer who gives this review
      Parameters:
      goerUUID - is the unique ID of Movie Goer to be set
    • getMovie

      public Movie getMovie()
      Gets the Movie of the review
      Returns:
      Movie of the review
    • setMovie

      public void setMovie(Movie movie)
      Sets the Movie of the review
      Parameters:
      movie - is the Movie to be set