Class ReviewE
java.lang.Object
ReviewE
AReviewE object
A ReviewE object contains all the parameters necessary
to store reviews and ratings of a movie
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet method for the Movie IDdoubleGet method for the Rating givenGet method for the review givenGet method for the User IDGet method for the viewerRating ID
-
Field Details
-
reviewID
String reviewIDHolds the ID of the review object
-
-
Constructor Details
-
ReviewE
Constructor for ReviewE object (require 4 parameter)- Parameters:
userID- The User ID of the reviewermovieID- The Movie ID of the movie being reviewedscale- The rating being given to the moviereview- The review being given to the movie
-
ReviewE
Constructor for reviewE object(require 5 parameter)- Parameters:
viewerRatingID- The ID of the ratinguserID- The User ID of the reviewermovieID- The Movie ID of the movie being reviewedDscale- The rating being given to the moviereview- The review being given to the movie
-
-
Method Details
-
getUserId
Get method for the User ID- Returns:
- The User ID
-
getMovieId
Get method for the Movie ID- Returns:
- The Movie ID
-
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
Get method for the viewerRating ID- Returns:
- The ID of the rating given
-