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
ConstructorDescriptionMovieReview
(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 theMovie
of the reviewdouble
Gets 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 reviewvoid
setGoerUUID
(String goerUUID) Sets the unique ID of Movie Goer who gives this reviewvoid
Sets theMovie
of the reviewvoid
setMovieReviewRating
(double movieReviewRating) Sets the rating of the movie by Movie Goervoid
Sets the review of the Movie Goervoid
Sets 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 theMovie
of 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 theMovie
of the review- Returns:
Movie
of the review
-
setMovie
Sets theMovie
of the review- Parameters:
movie
- is theMovie
to be set
-