Package src.model
Class MovieReview
Object
MovieReview
- All Implemented Interfaces:
Serializable
The Class that handles the data of Movie Review
- Version:
- 1.0
- Author:
- Jerick, Yeek Sheng
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMovieReview(String UUID, String goerUUID, Movie movie, String review, double movieReviewRating) Constructor for MovieReview class -
Method Summary
Modifier and TypeMethodDescriptionGets the unique ID of Movie Goer who sets this reviewgetMovie()Gets theMovieof the reviewdoubleGets the rating set by the Movie Goer for the movieGets the review of the movie of the Movie GoergetUUID()Gets the unique ID of the movie reviewvoidsetGoerUUID(String goerUUID) Sets the unique ID of Movie Goer who gives this reviewvoidSets theMovieof the reviewvoidsetMovieReviewRating(double movieReviewRating) Sets the rating of the movie by Movie GoervoidSets the review of the Movie GoervoidSets the unique ID of the movie review
-
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 databasegoerUUID- is the unique ID of Movie Goer who sets this reviewmovie- is theMovieof the reviewreview- is the review of the moviemovieReviewRating- is the rating of the movie by Movie Goer
-
-
Method Details
-
getUUID
Gets the unique ID of the movie review- Returns:
- unique ID of the movie review
-
setUUID
Sets the unique ID of the movie review- Parameters:
UUID- is the unique ID of the movie review to be set
-
getReview
Gets the review of the movie of the Movie Goer- Returns:
- review of the movie by the Movie Goer
-
setReview
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
Gets the unique ID of Movie Goer who sets this review- Returns:
- the unique ID of the Movie Goer who sets the review
-
setGoerUUID
Sets the unique ID of Movie Goer who gives this review- Parameters:
goerUUID- is the unique ID of Movie Goer to be set
-
getMovie
Gets theMovieof the review- Returns:
Movieof the review
-
setMovie
Sets theMovieof the review- Parameters:
movie- is theMovieto be set
-