Package src.model

Class Adult

All Implemented Interfaces:
Serializable

public class Adult extends MovieGoer
The Class inherited from the Superclass MovieGoer that handles the data of Adult
Version:
1.0
Author:
Jerick, Yeek Sheng
See Also:
  • 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 database
      name - is the name of Movie Goer
      email - is the email of Movie Goer
      mobileNum - is the mobile number of Movie Goer
      username - is the unique username for user to login MOBLIMA
      password - is the password for user to login MOBLIMA
  • Method Details

    • getMovieGoerAge

      public MovieGoerAge getMovieGoerAge()
      Gets the Movie Goer Age Group
      Specified by:
      getMovieGoerAge in class MovieGoer
      Returns:
      MovieGoerAge of the MovieGoer
    • setGoerPrice

      public void setGoerPrice(double price)
      Sets the price weight of the Movie Goer
      Specified by:
      setGoerPrice in class MovieGoer
      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 class MovieGoer
      Returns:
      The price weight of the Movie Goer