Class CentralManagerEY
java.lang.Object
CentralManagerEY
A CentralManagerEY Object
A CentralManagerEY object contains all the master lists, and instances of all boundaries and controllers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod to get the object of BookingBoundaryMethod to get the current object of BookingManagerMethod to get the object of CineplexBoundaryMethod to get the current object of CineplexManagerMethod to get new data folderMethod to get the object of HolidayBoundaryMethod to get the current object of HolidayManagerMethod to get the current object of IoManagerMethod to get master array list of bookingsMethod to get master array list of cineplexesMethod to get master array list of holidaysMethod to get master array list of movie goersMethod to get master array list of moviesMethod to get master array list of ratingsMethod to get master array list of screensMethod to get master array list of showsMethod to get master array list of ticket pricesMethod to get master array list of usersMethod to get the object of MovieBoundaryMethod to set get MovieGoerBoundary objectMethod to get the current object of MovieGoerManagerMethod to get the current object of MovieManagerMethod to get the object of ReviewBoundaryMethod to get the current object of ReviewManagerMethod to get the object of ScreenBoundaryMethod to get the current object of ScreenManagerMethod to get the object of ShowBoundaryMethod to get the current object of ShowManagerMethod to get the object of StaffBoundaryMethod to get the object of TicketPriceBoundaryMethod to get the current object of TicketPriceManagerMethod to get the current object of UserManagervoidsetBookingBoundary(BookingBoundary bookingBoundary) Method to set new BookingBoundary objectvoidsetBookingMgr(BookingManager bookingMgr) Set method for Booking ManagervoidsetCineplexBoundary(CineplexBoundary cineplexBoundary) Method to set new CineplexBoundary objectvoidsetCineplexMgr(CineplexManager cineplexMgr) Set method for Cineplex ManagervoidsetDataFolder(String dataFolder) Method to set new location of datavoidsetHolidayBoundary(HolidayBoundary holidayBoundary) Method to set new HolidayBoundary objectvoidsetHolidayMgr(HolidayManager holidayMgr) Set method for Holiday ManagervoidsetIoManager(IoManager ioManager) Set method for Io ManagervoidsetMasterBookings(ArrayList<BookingEY> masterBookings) Method to set master array of bookingsvoidsetMasterCineplexes(ArrayList<CineplexEY> masterCineplexes) Method to set master array of cineplexesvoidsetMasterHolidays(ArrayList<String> masterHolidays) Method to set master array of holidaysvoidsetMasterMovieGoers(ArrayList<MovieGoerEY> masterMovieGoers) Method to set master array of movie goersvoidsetMasterMovies(ArrayList<MovieEY> masterMovies) Method to set master array of moviesvoidsetMasterRatings(ArrayList<ReviewEY> masterRatings) Method to set master array of ratingsvoidsetMasterScreens(ArrayList<ScreenEY> masterScreens) Method to set master array of screensvoidsetMasterShows(ArrayList<ShowEY> masterShows) Method to set master array of showsvoidsetMasterTicketPrices(ArrayList<TicketPrice> masterTicketPrices) Method to set master array of ticket pricesvoidsetMasterUsers(ArrayList<User> masterUsers) Method to set master array of usersvoidsetMovieBoundary(MovieBoundary movieBoundary) Method to set new MovieBoundary objectvoidsetMovieGoerMgr(MovieGoerManager movieGoerMgr) Set method for Movie Goer ManagervoidsetMovieMgr(MovieManager movieMgr) Set method for Movie ManagervoidsetReviewBoundary(ReviewBoundary reviewBoundary) Method to set new ReviewBoundary objectvoidsetReviewMgr(ReviewManager reviewMgr) Set method for Review ManagervoidsetScreenBoundary(ScreenBoundary screenBoundary) Method to set new ScreenBoundary objectvoidsetScreenMgr(ScreenManager screenMgr) Set method for Screen ManagervoidsetShowBoundary(ShowBoundary showBoundary) Method to set new ShowBoundary objectvoidsetShowMgr(ShowManager showMgr) Set method for Show ManagervoidsetStaffBoundary(StaffBoundary staffBoundary) Method to set new StaffBoundary objectvoidsetTicketPriceBoundary(TicketPriceBoundary ticketPriceBoundary) Method to set new TicketPriceBoundary objectvoidsetTicketPriceMgr(TicketPriceManager ticketPriceMgr) Set method for Ticket ManagervoidsetUserMgr(UserManager userMgr) Set method for User Manager
-
Constructor Details
-
CentralManagerEY
public CentralManagerEY()Method to create an object of CentralManagerEY
-
-
Method Details
-
setMasterBookings
Method to set master array of bookings- Parameters:
masterBookings- New master array of all bookings
-
getMasterBookings
Method to get master array list of bookings- Returns:
- master array list of bookings
-
setMasterCineplexes
Method to set master array of cineplexes- Parameters:
masterCineplexes- New master array of all cineplexes
-
getMasterCineplexes
Method to get master array list of cineplexes- Returns:
- master array list of cineplexes
-
setMasterHolidays
Method to set master array of holidays- Parameters:
masterHolidays- New master array of all holidays
-
getMasterHolidays
Method to get master array list of holidays- Returns:
- master array list of holidays
-
setMasterMovies
Method to set master array of movies- Parameters:
masterMovies- New master array of all movies
-
getMasterMovies
Method to get master array list of movies- Returns:
- master array list of movies
-
setMasterRatings
Method to set master array of ratings- Parameters:
masterRatings- New master array of all ratings
-
getMasterRatings
Method to get master array list of ratings- Returns:
- master array list of ratings
-
setMasterScreens
Method to set master array of screens- Parameters:
masterScreens- New master array of all screens
-
getMasterScreens
Method to get master array list of screens- Returns:
- master array list of screens
-
setMasterShows
Method to set master array of shows- Parameters:
masterShows- New master array of all shows
-
getMasterShows
Method to get master array list of shows- Returns:
- master array list of shows
-
setMasterUsers
Method to set master array of users- Parameters:
masterUsers- New master array of all users
-
getMasterUsers
Method to get master array list of users- Returns:
- master array list of users
-
setMasterMovieGoers
Method to set master array of movie goers- Parameters:
masterMovieGoers- New master array of all movie goers
-
getMasterMovieGoers
Method to get master array list of movie goers- Returns:
- master array list of movie goers
-
setMasterTicketPrices
Method to set master array of ticket prices- Parameters:
masterTicketPrices- New master array of all ticket prices
-
getMasterTicketPrices
Method to get master array list of ticket prices- Returns:
- master array list of ticket prices
-
setBookingMgr
Set method for Booking Manager- Parameters:
bookingMgr- The object of BookingManager
-
getBookingMgr
Method to get the current object of BookingManager- Returns:
- the object of BookingManager
-
setCineplexMgr
Set method for Cineplex Manager- Parameters:
cineplexMgr- The object of CineplexManager
-
getCineplexMgr
Method to get the current object of CineplexManager- Returns:
- the object of CineplexManager
-
setHolidayMgr
Set method for Holiday Manager- Parameters:
holidayMgr- The object of HolidayManager
-
getHolidayMgr
Method to get the current object of HolidayManager- Returns:
- the object of HolidayManager
-
setMovieMgr
Set method for Movie Manager- Parameters:
movieMgr- The object of MovieManager
-
getMovieMgr
Method to get the current object of MovieManager- Returns:
- the object of MovieManager
-
setReviewMgr
Set method for Review Manager- Parameters:
reviewMgr- The object of ReviewManager
-
getReviewMgr
Method to get the current object of ReviewManager- Returns:
- the object of ReviewManager
-
setScreenMgr
Set method for Screen Manager- Parameters:
screenMgr- The object of ScreenManager
-
getScreenMgr
Method to get the current object of ScreenManager- Returns:
- the object of ScreenManager
-
setShowMgr
Set method for Show Manager- Parameters:
showMgr- The object of ShowManager
-
getShowMgr
Method to get the current object of ShowManager- Returns:
- the object of ShowManager
-
setTicketPriceMgr
Set method for Ticket Manager- Parameters:
ticketPriceMgr- The object of TicketManager
-
getTicketPriceMgr
Method to get the current object of TicketPriceManager- Returns:
- the object of TicketPriceManager
-
setMovieGoerMgr
Set method for Movie Goer Manager- Parameters:
movieGoerMgr- The object of MovieGoerManager
-
getMovieGoerMgr
Method to get the current object of MovieGoerManager- Returns:
- the object of MovieGoerManager
-
getUserMgr
Method to get the current object of UserManager- Returns:
- the object of UserManager
-
setUserMgr
Set method for User Manager- Parameters:
userMgr- The object of UserManager
-
getIoManager
Method to get the current object of IoManager- Returns:
- the object of IoManager
-
setIoManager
Set method for Io Manager- Parameters:
ioManager- The object of IoManager
-
setBookingBoundary
Method to set new BookingBoundary object- Parameters:
bookingBoundary- New BookingBoundary Object
-
getBookingBoundary
Method to get the object of BookingBoundary- Returns:
- the object of BookingBoundary
-
setCineplexBoundary
Method to set new CineplexBoundary object- Parameters:
cineplexBoundary- New CineplexBoundary Object
-
getCineplexBoundary
Method to get the object of CineplexBoundary- Returns:
- the object of CineplexBoundary
-
setHolidayBoundary
Method to set new HolidayBoundary object- Parameters:
holidayBoundary- New holidayBoundary Object
-
getHolidayBoundary
Method to get the object of HolidayBoundary- Returns:
- the object of HolidayBoundary
-
setMovieBoundary
Method to set new MovieBoundary object- Parameters:
movieBoundary- New MovieBoundary Object
-
getMovieBoundary
Method to get the object of MovieBoundary- Returns:
- the object of MovieBoundary
-
setReviewBoundary
Method to set new ReviewBoundary object- Parameters:
reviewBoundary- New ReviewBoundary Object
-
getReviewBoundary
Method to get the object of ReviewBoundary- Returns:
- the object of ReviewBoundary
-
setScreenBoundary
Method to set new ScreenBoundary object- Parameters:
screenBoundary- New ScreenBoundary Object
-
getScreenBoundary
Method to get the object of ScreenBoundary- Returns:
- the object of ScreenBoundary
-
setTicketPriceBoundary
Method to set new TicketPriceBoundary object- Parameters:
ticketPriceBoundary- New TicketPriceBoundary Object
-
getTicketPriceBoundary
Method to get the object of TicketPriceBoundary- Returns:
- the object of TicketPriceBoundary
-
setShowBoundary
Method to set new ShowBoundary object- Parameters:
showBoundary- New ShowBoundary Object
-
getShowBoundary
Method to get the object of ShowBoundary- Returns:
- the object of ShowBoundary
-
getStaffBoundary
Method to get the object of StaffBoundary- Returns:
- the object of StaffBoundary
-
setStaffBoundary
Method to set new StaffBoundary object- Parameters:
staffBoundary- New StaffBoundary Object
-
getMovieGoerBoundary
Method to set get MovieGoerBoundary object- Returns:
- The movieGoer boundary object
-
getDataFolder
Method to get new data folder- Returns:
- the data folder
-
setDataFolder
Method to set new location of data- Parameters:
dataFolder- New Data Folder
-