Class CentralManagerEY

java.lang.Object
CentralManagerEY

public class CentralManagerEY extends Object
A CentralManagerEY Object

A CentralManagerEY object contains all the master lists, and instances of all boundaries and controllers

  • Constructor Details

    • CentralManagerEY

      public CentralManagerEY()
      Method to create an object of CentralManagerEY
  • Method Details

    • setMasterBookings

      public void setMasterBookings(ArrayList<BookingEY> masterBookings)
      Method to set master array of bookings
      Parameters:
      masterBookings - New master array of all bookings
    • getMasterBookings

      public ArrayList<BookingEY> getMasterBookings()
      Method to get master array list of bookings
      Returns:
      master array list of bookings
    • setMasterCineplexes

      public void setMasterCineplexes(ArrayList<CineplexEY> masterCineplexes)
      Method to set master array of cineplexes
      Parameters:
      masterCineplexes - New master array of all cineplexes
    • getMasterCineplexes

      public ArrayList<CineplexEY> getMasterCineplexes()
      Method to get master array list of cineplexes
      Returns:
      master array list of cineplexes
    • setMasterHolidays

      public void setMasterHolidays(ArrayList<String> masterHolidays)
      Method to set master array of holidays
      Parameters:
      masterHolidays - New master array of all holidays
    • getMasterHolidays

      public ArrayList<String> getMasterHolidays()
      Method to get master array list of holidays
      Returns:
      master array list of holidays
    • setMasterMovies

      public void setMasterMovies(ArrayList<MovieEY> masterMovies)
      Method to set master array of movies
      Parameters:
      masterMovies - New master array of all movies
    • getMasterMovies

      public ArrayList<MovieEY> getMasterMovies()
      Method to get master array list of movies
      Returns:
      master array list of movies
    • setMasterRatings

      public void setMasterRatings(ArrayList<ReviewEY> masterRatings)
      Method to set master array of ratings
      Parameters:
      masterRatings - New master array of all ratings
    • getMasterRatings

      public ArrayList<ReviewEY> getMasterRatings()
      Method to get master array list of ratings
      Returns:
      master array list of ratings
    • setMasterScreens

      public void setMasterScreens(ArrayList<ScreenEY> masterScreens)
      Method to set master array of screens
      Parameters:
      masterScreens - New master array of all screens
    • getMasterScreens

      public ArrayList<ScreenEY> getMasterScreens()
      Method to get master array list of screens
      Returns:
      master array list of screens
    • setMasterShows

      public void setMasterShows(ArrayList<ShowEY> masterShows)
      Method to set master array of shows
      Parameters:
      masterShows - New master array of all shows
    • getMasterShows

      public ArrayList<ShowEY> getMasterShows()
      Method to get master array list of shows
      Returns:
      master array list of shows
    • setMasterUsers

      public void setMasterUsers(ArrayList<User> masterUsers)
      Method to set master array of users
      Parameters:
      masterUsers - New master array of all users
    • getMasterUsers

      public ArrayList<User> getMasterUsers()
      Method to get master array list of users
      Returns:
      master array list of users
    • setMasterMovieGoers

      public void setMasterMovieGoers(ArrayList<MovieGoerEY> masterMovieGoers)
      Method to set master array of movie goers
      Parameters:
      masterMovieGoers - New master array of all movie goers
    • getMasterMovieGoers

      public ArrayList<MovieGoerEY> getMasterMovieGoers()
      Method to get master array list of movie goers
      Returns:
      master array list of movie goers
    • setMasterTicketPrices

      public void setMasterTicketPrices(ArrayList<TicketPrice> masterTicketPrices)
      Method to set master array of ticket prices
      Parameters:
      masterTicketPrices - New master array of all ticket prices
    • getMasterTicketPrices

      public ArrayList<TicketPrice> getMasterTicketPrices()
      Method to get master array list of ticket prices
      Returns:
      master array list of ticket prices
    • setBookingMgr

      public void setBookingMgr(BookingManager bookingMgr)
      Set method for Booking Manager
      Parameters:
      bookingMgr - The object of BookingManager
    • getBookingMgr

      public BookingManager getBookingMgr()
      Method to get the current object of BookingManager
      Returns:
      the object of BookingManager
    • setCineplexMgr

      public void setCineplexMgr(CineplexManager cineplexMgr)
      Set method for Cineplex Manager
      Parameters:
      cineplexMgr - The object of CineplexManager
    • getCineplexMgr

      public CineplexManager getCineplexMgr()
      Method to get the current object of CineplexManager
      Returns:
      the object of CineplexManager
    • setHolidayMgr

      public void setHolidayMgr(HolidayManager holidayMgr)
      Set method for Holiday Manager
      Parameters:
      holidayMgr - The object of HolidayManager
    • getHolidayMgr

      public HolidayManager getHolidayMgr()
      Method to get the current object of HolidayManager
      Returns:
      the object of HolidayManager
    • setMovieMgr

      public void setMovieMgr(MovieManager movieMgr)
      Set method for Movie Manager
      Parameters:
      movieMgr - The object of MovieManager
    • getMovieMgr

      public MovieManager getMovieMgr()
      Method to get the current object of MovieManager
      Returns:
      the object of MovieManager
    • setReviewMgr

      public void setReviewMgr(ReviewManager reviewMgr)
      Set method for Review Manager
      Parameters:
      reviewMgr - The object of ReviewManager
    • getReviewMgr

      public ReviewManager getReviewMgr()
      Method to get the current object of ReviewManager
      Returns:
      the object of ReviewManager
    • setScreenMgr

      public void setScreenMgr(ScreenManager screenMgr)
      Set method for Screen Manager
      Parameters:
      screenMgr - The object of ScreenManager
    • getScreenMgr

      public ScreenManager getScreenMgr()
      Method to get the current object of ScreenManager
      Returns:
      the object of ScreenManager
    • setShowMgr

      public void setShowMgr(ShowManager showMgr)
      Set method for Show Manager
      Parameters:
      showMgr - The object of ShowManager
    • getShowMgr

      public ShowManager getShowMgr()
      Method to get the current object of ShowManager
      Returns:
      the object of ShowManager
    • setTicketPriceMgr

      public void setTicketPriceMgr(TicketPriceManager ticketPriceMgr)
      Set method for Ticket Manager
      Parameters:
      ticketPriceMgr - The object of TicketManager
    • getTicketPriceMgr

      public TicketPriceManager getTicketPriceMgr()
      Method to get the current object of TicketPriceManager
      Returns:
      the object of TicketPriceManager
    • setMovieGoerMgr

      public void setMovieGoerMgr(MovieGoerManager movieGoerMgr)
      Set method for Movie Goer Manager
      Parameters:
      movieGoerMgr - The object of MovieGoerManager
    • getMovieGoerMgr

      public MovieGoerManager getMovieGoerMgr()
      Method to get the current object of MovieGoerManager
      Returns:
      the object of MovieGoerManager
    • getUserMgr

      public UserManager getUserMgr()
      Method to get the current object of UserManager
      Returns:
      the object of UserManager
    • setUserMgr

      public void setUserMgr(UserManager userMgr)
      Set method for User Manager
      Parameters:
      userMgr - The object of UserManager
    • getIoManager

      public IoManager getIoManager()
      Method to get the current object of IoManager
      Returns:
      the object of IoManager
    • setIoManager

      public void setIoManager(IoManager ioManager)
      Set method for Io Manager
      Parameters:
      ioManager - The object of IoManager
    • setBookingBoundary

      public void setBookingBoundary(BookingBoundary bookingBoundary)
      Method to set new BookingBoundary object
      Parameters:
      bookingBoundary - New BookingBoundary Object
    • getBookingBoundary

      public BookingBoundary getBookingBoundary()
      Method to get the object of BookingBoundary
      Returns:
      the object of BookingBoundary
    • setCineplexBoundary

      public void setCineplexBoundary(CineplexBoundary cineplexBoundary)
      Method to set new CineplexBoundary object
      Parameters:
      cineplexBoundary - New CineplexBoundary Object
    • getCineplexBoundary

      public CineplexBoundary getCineplexBoundary()
      Method to get the object of CineplexBoundary
      Returns:
      the object of CineplexBoundary
    • setHolidayBoundary

      public void setHolidayBoundary(HolidayBoundary holidayBoundary)
      Method to set new HolidayBoundary object
      Parameters:
      holidayBoundary - New holidayBoundary Object
    • getHolidayBoundary

      public HolidayBoundary getHolidayBoundary()
      Method to get the object of HolidayBoundary
      Returns:
      the object of HolidayBoundary
    • setMovieBoundary

      public void setMovieBoundary(MovieBoundary movieBoundary)
      Method to set new MovieBoundary object
      Parameters:
      movieBoundary - New MovieBoundary Object
    • getMovieBoundary

      public MovieBoundary getMovieBoundary()
      Method to get the object of MovieBoundary
      Returns:
      the object of MovieBoundary
    • setReviewBoundary

      public void setReviewBoundary(ReviewBoundary reviewBoundary)
      Method to set new ReviewBoundary object
      Parameters:
      reviewBoundary - New ReviewBoundary Object
    • getReviewBoundary

      public ReviewBoundary getReviewBoundary()
      Method to get the object of ReviewBoundary
      Returns:
      the object of ReviewBoundary
    • setScreenBoundary

      public void setScreenBoundary(ScreenBoundary screenBoundary)
      Method to set new ScreenBoundary object
      Parameters:
      screenBoundary - New ScreenBoundary Object
    • getScreenBoundary

      public ScreenBoundary getScreenBoundary()
      Method to get the object of ScreenBoundary
      Returns:
      the object of ScreenBoundary
    • setTicketPriceBoundary

      public void setTicketPriceBoundary(TicketPriceBoundary ticketPriceBoundary)
      Method to set new TicketPriceBoundary object
      Parameters:
      ticketPriceBoundary - New TicketPriceBoundary Object
    • getTicketPriceBoundary

      public TicketPriceBoundary getTicketPriceBoundary()
      Method to get the object of TicketPriceBoundary
      Returns:
      the object of TicketPriceBoundary
    • setShowBoundary

      public void setShowBoundary(ShowBoundary showBoundary)
      Method to set new ShowBoundary object
      Parameters:
      showBoundary - New ShowBoundary Object
    • getShowBoundary

      public ShowBoundary getShowBoundary()
      Method to get the object of ShowBoundary
      Returns:
      the object of ShowBoundary
    • getStaffBoundary

      public StaffBoundary getStaffBoundary()
      Method to get the object of StaffBoundary
      Returns:
      the object of StaffBoundary
    • setStaffBoundary

      public void setStaffBoundary(StaffBoundary staffBoundary)
      Method to set new StaffBoundary object
      Parameters:
      staffBoundary - New StaffBoundary Object
    • getMovieGoerBoundary

      public MovieGoerBoundary getMovieGoerBoundary()
      Method to set get MovieGoerBoundary object
      Returns:
      The movieGoer boundary object
    • getDataFolder

      public String getDataFolder()
      Method to get new data folder
      Returns:
      the data folder
    • setDataFolder

      public void setDataFolder(String dataFolder)
      Method to set new location of data
      Parameters:
      dataFolder - New Data Folder