Package src.model

Class BlockbusterMovie

Object
Movie
BlockbusterMovie
All Implemented Interfaces:
Serializable

public class BlockbusterMovie extends Movie
The Class inherited from the Superclass Movie that handles the data of Blockbuster Movie
Version:
1.0
Author:
Jerick, Yeek Sheng
See Also:
  • Constructor Details

    • BlockbusterMovie

      public BlockbusterMovie(String UUID, String movieTitle, MovieAgeRating movieAgeRating, MovieShowingStatus showingStatus, ArrayList<String> movieCast, String movieDirector, String movieSynopsis, double movieDuration)
      Constructor for Blockbuster movie
      Parameters:
      UUID - is the unique ID in the database
      movieTitle - is the movie title
      movieAgeRating - is the age rating for the movie
      showingStatus - is the showing status of the movie
      movieCast - is all the casts of the movie
      movieDirector - is the director of the movie
      movieSynopsis - is the synopsis of the movie
      movieDuration - is the duration of the movie
  • Method Details

    • getMovieType

      public MovieType getMovieType()
      Gets the type of the movie
      Specified by:
      getMovieType in class Movie
      Returns:
      MovieType
    • getMoviePrice

      public double getMoviePrice()
      Gets the price weight of the movie type
      Specified by:
      getMoviePrice in class Movie
      Returns:
      The price weight of the movie type
    • setMoviePrice

      public void setMoviePrice(double price)
      Sets the price weight of the movie type
      Specified by:
      setMoviePrice in class Movie
      Parameters:
      price - is the price weight of the movie type
    • setMovieType

      public void setMovieType(MovieType type)
      Sets the movie type of the movie
      Specified by:
      setMovieType in class Movie
      Parameters:
      type - is the MovieType to be set