Class ReviewEY


public class ReviewEY extends Object
A ReviewEY object

A ReviewEY object contains all the parameters necessary to store reviews and ratings of a movie

  • Field Details

    • reviewID

      String reviewID
      Holds the ID of the review object
  • Constructor Details

    • ReviewEY

      public ReviewEY(String userID, String movieID, double scale, String review)
      Constructor for ReviewEy object(require 4 parameter)
      Parameters:
      userID - The User ID of the reviewer
      movieID - The Movie ID of the movie being reviewed
      scale - The rating being given to the movie
      review - The review being given to the movie
    • ReviewEY

      public ReviewEY(String viewerRatingID, String userID, String movieID, double scale, String review)
      Constructor for ReviewEY object (require 5 parameter)
      Parameters:
      viewerRatingID - The ID of the rating
      userID - The User ID of the reviewer
      movieID - The Movie ID of the movie being reviewedD
      scale - The rating being given to the movie
      review - The review being given to the movie
  • Method Details

    • getUserId

      public String getUserId()
      Get method for the User ID
      Returns:
      The User ID
    • getMovieId

      public String getMovieId()
      Get method for the Movie ID
      Returns:
      The Movie ID
    • getReview

      public String getReview()
      Get method for the review given
      Returns:
      The Review given
    • getRating

      public double getRating()
      Get method for the Rating given
      Returns:
      The Rating given
    • getViewerRatingId

      public String getViewerRatingId()
      Get method for the viewerRating ID
      Returns:
      The ID of the rating given