Package src.model
Class Adult
- All Implemented Interfaces:
Serializable
The Class inherited from the Superclass
MovieGoer
that handles the
data of Adult- Version:
- 1.0
- Author:
- Jerick, Yeek Sheng
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Gets the price weight of the Movie GoerGets the Movie Goer Age Groupvoid
setGoerPrice
(double price) Sets the price weight of the Movie GoerMethods inherited from class MovieGoer
addBookingHistory, addReviewHistory, getBookingHistory, getEmail, getMobileNum, getName, getPassword, getReviewHistory, getUsername, getUUID, setBookingHistory, setEmail, setMobileNum, setName, setPassword, setReviewHistory, setUsername, setUUID
-
Constructor Details
-
Adult
public Adult(String UUID, String name, String email, String mobileNum, String username, String password) Constructor for Adult class- Parameters:
UUID
- is the unique ID in the databasename
- is the name of Movie Goeremail
- is the email of Movie GoermobileNum
- is the mobile number of Movie Goerusername
- is the unique username for user to login MOBLIMApassword
- is the password for user to login MOBLIMA
-
-
Method Details
-
getMovieGoerAge
Gets the Movie Goer Age Group- Specified by:
getMovieGoerAge
in classMovieGoer
- Returns:
MovieGoerAge
of the MovieGoer
-
setGoerPrice
public void setGoerPrice(double price) Sets the price weight of the Movie Goer- Specified by:
setGoerPrice
in classMovieGoer
- Parameters:
price
- is the price weight of the Movie Goer
-
getGoerPrice
public double getGoerPrice()Gets the price weight of the Movie Goer- Specified by:
getGoerPrice
in classMovieGoer
- Returns:
- The price weight of the Movie Goer
-