Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addBookingHistory(BookingHistory) - Method in class MovieGoer
-
Adds booking history of the Movie Goer
- addBookingHistory(BookingHistory, MovieGoer) - Static method in class MovieGoerManager
-
Method to add booking history to
MovieGoer
object. - addCinema(Cinema) - Method in class Cineplex
-
Method to add a cinema into the cineplex
- addMovieReview(MovieReview) - Method in class Movie
-
Adds new review to the movie
- addNewMovie() - Method in class StaffAddMovieView
-
Method to add new movies into the database Upon all successful choices of movie details, movieAdder under CinemaStaffManager is called and a new movie is added into the database
- addReviewHistory(MovieReview) - Method in class MovieGoer
-
Adds
MovieReview
to the Movie Goer's review history - addSeat(Seat) - Method in class Cinema
-
Method to add a seat into the cinema
- addSeatingPlan(ArrayList<Seat>) - Method in class MovieSchedule
-
Adds a seating plan to the schedule.
- addShowingTime(DateTime) - Method in class MovieSchedule
-
Adds a showing time into the schedule.
- addShowingVenue(String) - Method in class MovieSchedule
-
Method to add a showing venue to the schedule
- Adult - Class in src.model
-
The Class inherited from the Superclass
MovieGoer
that handles the data of Adult - Adult - Enum constant in enum class MovieGoerAge
-
Adult age group
- Adult(String, String, String, String, String, String) - Constructor for class Adult
-
Constructor for Adult class
- appContent() - Method in class CinemaView
-
Main content of the UI
- appContent() - Method in class CineplexView
-
Main content of the UI
- appContent() - Method in class DatabaseView
-
Main content of the UI
- appContent() - Method in class MainView
-
Abstract method to print the main content of the UI
- appContent() - Method in class MovieAppView
-
Method to take in choice of user and allows user to login or register Login requires user to enter username and password to be verified Register requires user to enter unique username and password Other details like age group, name, email, mobile will be used to create a new movieGoer
- appContent() - Method in class MovieBookingHistoryView
-
Method to take in choice of user and prints the particular movie ticket using MovieTicketView
- appContent() - Method in class MovieDetailsView
-
Method to print out further details of the movie: Synopsis, Past Reviews User will be able to add reviews and view the different types of the movie for booking
- appContent() - Method in class MovieListRankingView
-
Method to take in choice of user as input for printing of ranking
- appContent() - Method in class MovieListView
-
Method to take in choice of user to display corresponding details of the movie using MovieDetailsView
- appContent() - Method in class MovieMenuView
-
Method to take in the choice of the user and creates a corresponding view Available choices for MovieListView, MovieSearchView, MovieBookingHistoryView, MovieListRankingView Sets exit boolean to false if it is true
- appContent() - Method in class MovieScheduleView
-
Method to call printMenu and takes in the choice of the user to display the seatingPlanView using the showingTime chosen by the user at that cinema
- appContent() - Method in class MovieSearchView
-
Method to take in the choice of the user and calls MovieDetailsView if the movieTitle is available
- appContent() - Method in class MovieTypeView
-
Method to call printMenu and accept user choice if the movie is available Creates a CineplexView based on the movieType chosen
- appContent() - Method in class PaymentView
-
Method that takes in the choice of the payment method, and requires user to key in relevant payment details User will be prompted to re-enter information if int or String keyed in is invalid
- appContent() - Method in class SeatingPlanView
-
Method to take in the choice of the user for the booking of a new seat Creates a PaymentView from the current cinema and schedule with total price of MovieTickets Creates a MovieTicketView from the seatIDs chosen at this cinema and schedule
- appContent() - Method in class StaffAddMovieView
-
Method to call printMenu and addNewMovie
- appContent() - Method in class StaffConfigHolidayView
-
Method to call printMenu Upon successful choice, configureHoliday under CinemaStaffManager will be called and the holiday will be added/deleted and the database will be updated
- appContent() - Method in class StaffConfigPermissionsView
-
Method to call printMenu Upon successful choice, optInOut under CinemaStaffManager will be called and the movieGoer's permissions will be updated and saved into the database
- appContent() - Method in class StaffConfigPriceView
-
Method that calls printMenu and queries for the price type that is to be configured Upon successful price type selected, it calls the relevant boiler plate and queries for the specific price under the price type to be configured Upon successful choice, the chosen price in the database will be updated using configurePrice method by the CinemaStaffManager
- appContent() - Method in class StaffConfigSettingsView
-
Method to call printMenu and queries the cinema staff on which system setting is to be configured Upon successful choice, cinema staff will be redirected to either StaffConfigPriceView to configure price, StaffConfigHolidayView to configure holidays, StaffConfigPermissionsView to configure movie goer permissions
- appContent() - Method in class StaffConfigureMovieView
-
Method to call print Menu, queries cinema staff for the detail to be configured Calls updateExistingMovieDetails under CinemaStaffManager
- appContent() - Method in class StaffMovieDetailsView
-
Method to call printMenu and obtains the index of the movie Passes a movie object to the staffConfigureMovieView upon successful choice selected
- appContent() - Method in class StaffMovieListRankingView
-
Method to get cinema staff's choice and to call printTop5 method
- appContent() - Method in class StaffSystemConfigView
-
Method to call printMenu and accepts cinema staffs' input of what function is to be executed Navigates to different views based on the choice of the cinema staff upon successful choice
B
- BANK_TRANSACTION - Enum constant in enum class PaymentType
-
Bank transaction payment
- BankTransactionPayment - Class in src.model
-
The Class inherited from the Superclass
Payment
that handles the data of Bank Transaction Payment - BankTransactionPayment(String, PaymentType, String, double) - Constructor for class BankTransactionPayment
-
Constructor for BankTransactionPayment Class
- Blockbuster - Enum constant in enum class MovieType
-
Blockbuster movie
- BlockbusterMovie - Class in src.model
-
The Class inherited from the Superclass
Movie
that handles the data of Blockbuster Movie - BlockbusterMovie(String, String, MovieAgeRating, MovieShowingStatus, ArrayList<String>, String, String, double) - Constructor for class BlockbusterMovie
-
Constructor for Blockbuster movie
- BOOKING_HISTORY - Enum constant in enum class ModelType
-
BookingHistory enum and its file name
- BOOKING_HISTORY - Static variable in class Database
-
Booking History Model in database
- BookingHistory - Class in src.model
-
The Class that handles the data of Booking History
- BookingHistory(String, ArrayList<MovieTicket>, Payment) - Constructor for class BookingHistory
-
Constructor for the BookingHistory Class
- BookingHistoryManager - Class in src.controller
-
Controller for handling all logic related to
BookingHistory
- BookingHistoryManager() - Constructor for class BookingHistoryManager
-
Constructor
- bookSeat(String, MovieSchedule, ArrayList<Seat>, Cinema, boolean) - Static method in class SeatManager
-
Method to book/unbook seat
C
- calculateHolidayWeekendPrice(DateTime) - Static method in class PaymentManager
-
Method to calculate the Price Weight when the day is a special day ie.
- calculateMovieTicketPrice(MovieGoer, String, String, String, DateTime) - Static method in class PaymentManager
-
Method to calculate the price of a Movie Ticket
- calculateOverallReviewRating(Movie) - Static method in class MovieManager
-
Method to calculate the overall review rating.
- CARD_PAYMENT - Enum constant in enum class PaymentType
-
Card payment
- CardPayment - Class in src.model
-
The Class inherited from the Superclass
Payment
that handles the data of Card Payment - CardPayment(String, PaymentType, String, double) - Constructor for class CardPayment
-
Constructor for CardPayment Class
- checkUniqueUser(String) - Static method in class UserManager
-
Method to check database if the entered username is unique
- Child - Class in src.model
-
The Class inherited from the Superclass
MovieGoer
that handles the data of Child - Child - Enum constant in enum class MovieGoerAge
-
Child age group
- Child(String, String, String, String, String, String) - Constructor for class Child
-
Constructor for Child class
- Cinema - Class in src.model
-
The Class that handles the data of Cinema
- Cinema(String, ArrayList<Seat>, int, int) - Constructor for class Cinema
-
Constructor for Cinema class
- CINEMA - Enum constant in enum class ModelType
-
Cinema enum and its file name
- CINEMA - Static variable in class Database
-
Cinema Model in database
- CINEMA_STAFF - Enum constant in enum class ModelType
-
CinemaStaff enum and its file name
- CINEMA_STAFF - Static variable in class Database
-
Cinema Staff in database
- CinemaClass - Enum Class in src.model.enums
-
Enumeration class for Cinema
- CinemaManager - Class in src.controller
-
Controller class for handling all logic related to
Cinema
- CinemaManager() - Constructor for class CinemaManager
-
Constructor
- CinemaStaff - Class in src.model
-
The class that handles the data of Cinema Staff
- CinemaStaff(String, String, String, String) - Constructor for class CinemaStaff
-
Constructor for the Cinema Staff class
- CinemaStaffManager - Class in src.controller
-
Controller class for handling all logic related to
CinemaStaff
- CinemaStaffManager() - Constructor for class CinemaStaffManager
-
Constructor
- CinemaView - Class in src.view
-
View class for handling all UI related to
Cinema
- CinemaView(Cineplex, Movie, MovieGoer) - Constructor for class CinemaView
-
Constructor
- Cineplex - Class in src.model
-
The Class that handles the data of Cineplex
- Cineplex(String, String, int, ArrayList<Cinema>, String) - Constructor for class Cineplex
-
Constructor for Cineplex class
- CINEPLEX - Enum constant in enum class ModelType
-
Cineplex enum and its file name
- CINEPLEX - Static variable in class Database
-
Cineplex Model in database
- CineplexManager - Class in src.controller
-
Controller class for Cineplex which handles all logic related to
Cineplex
- CineplexManager() - Constructor for class CineplexManager
-
Constructor
- CineplexView - Class in src.view
-
View class for handling all the UI related to
Cineplex
- CineplexView(Movie, MovieGoer) - Constructor for class CineplexView
-
Constructor
- clearScreen() - Static method in class UIHandler
-
Method to clear the old content screen for better UI experiences
- COMING_SOON - Enum constant in enum class MovieShowingStatus
-
Coming soon movie status
- compareTo(Object) - Method in class Cinema
-
Method to compare between cinemas, sorted by UUID
- compareTo(Object) - Method in class Cineplex
-
Method to compare between cineplexes, sorted by UUID
- configureHoliday(int) - Static method in class CinemaStaffManager
-
Method for cinema staffs to configure the ArrayList of holidays in the database
- configurePrice(int) - Static method in class CinemaStaffManager
-
Method for cinema staffs to configure the
Prices
for various flat prices and rates and updates the database - COUPLE - Enum constant in enum class SeatType
-
Couple seat
- CoupleSeat - Class in src.model
-
The Class inherited from the Superclass
Seat
that handles the data of Couple Seat - CoupleSeat(String) - Constructor for class CoupleSeat
-
Constructor for StandardSeat class
- createBankTransactioPayment(String, double) - Static method in class PaymentManager
-
Method to create a
Payment
instance with Payment Type of Bank Transaction and save to database - createBlockbusterMovie(String, MovieAgeRating, MovieShowingStatus, ArrayList<String>, String, String, double) - Static method in class MovieManager
-
Method to create a
BlockbusterMovie
instance and save to database - createBookingHistory(ArrayList<MovieTicket>, Payment, MovieGoer) - Static method in class BookingHistoryManager
-
Method to create a
BookingHistory
instance and save to database - createCardPayment(String, double) - Static method in class PaymentManager
-
Method to create a
Payment
instance with Payment Type of Card Payment and save to database - createCinemaStaff(String, String, String) - Static method in class CinemaStaffManager
-
Method to create cinema staff instance and save it to database
- createCineplex(String, int, ArrayList<Cinema>, String) - Static method in class CineplexManager
-
Method to create a cineplex and save to database
- createCoupleSeat() - Static method in class SeatManager
-
Method to create a
CoupleSeat
and save to database - createGoerAdult(String, String, String, String, String) - Static method in class MovieGoerManager
-
Method to create a
Adult
instance and save to database - createGoerChild(String, String, String, String, String) - Static method in class MovieGoerManager
-
Method to create a
Child
instance and save to database - createGoerSeniorCitizen(String, String, String, String, String) - Static method in class MovieGoerManager
-
Method to create a
SeniorCitizen
instance and save to database - createGoerStudent(String, String, String, String, String) - Static method in class MovieGoerManager
-
Method to create a
Student
instance and save to database - createIMaxCinema(ArrayList<Seat>) - Static method in class CinemaManager
-
Method to create a
IMaxCinema
instance and save to database - createMovieReview(MovieGoer, Movie, String, double) - Method in class MovieReviewManager
- createMovieSchedule(String, ArrayList<String>, ArrayList<ArrayList<Seat>>, ArrayList<DateTime>) - Static method in class MovieScheduleManager
-
Method to create a
MovieSchedule
and save to database - createMovieTicket(String, DateTime, String, String) - Static method in class MovieTicketManager
-
Method to create a
MovieTicket
instance and save to database - createMovieTicketList(ArrayList<String>, Movie, DateTime, Cinema, ArrayList<Seat>, double) - Static method in class MovieTicketManager
-
Method to create an Array List of
MovieTicket
from the Array List of seat ID booked by the Movie Goer - createPlatinumCinema(ArrayList<Seat>) - Static method in class CinemaManager
-
Method to create a
PlatinumCinema
instance and save to database - createQRCodePayment(String, double) - Static method in class PaymentManager
-
Method to create a
Payment
instance with Payment Type of QR Code and save to database - createStandardCinema(ArrayList<Seat>) - Static method in class CinemaManager
-
Method to create a
StandardCinema
instance and save to database - createStandardMovie(String, MovieAgeRating, MovieShowingStatus, ArrayList<String>, String, String, double) - Static method in class MovieManager
-
Method to create a
StandardMovie
instance and save to database - createStandardSeat() - Static method in class SeatManager
-
Method to create a
StandardSeat
and save to database - createThreeDMovie(String, MovieAgeRating, MovieShowingStatus, ArrayList<String>, String, String, double) - Static method in class MovieManager
-
Method to create a
ThreeDMovie
instance and save to database
D
- Database - Class in src.database
-
The database of the application.
- Database() - Constructor for class Database
-
Constructor for database.
- DatabaseHandler - Class in src.handler
-
General helper functions for handling database
- DatabaseHandler() - Constructor for class DatabaseHandler
-
Constructor
- DatabaseManager - Class in src.controller
-
Controller class for handling all logics related to the
Database
- DatabaseManager() - Constructor for class DatabaseManager
-
Constructor
- DatabaseView - Class in src.view
-
View class for handling all UI related to
Database
- DatabaseView() - Constructor for class DatabaseView
-
Constructor
- DateTime - Class in src.model
-
The Class that handles the data of Date and Time
- DateTime() - Constructor for class DateTime
-
Constructor for DateTime class
- DateTime(int, int, int, int, int, int) - Constructor for class DateTime
-
Constructor for DateTime class
- doubleHandler() - Static method in class InputHandler
-
Helper function to read a double
- duplicateSeats() - Method in class Cinema
-
Method to make a copy of the seats in the cinema
E
- END_OF_SHOWING - Enum constant in enum class MovieShowingStatus
-
End of showing movie status
- ExceptionHandler - Class in src.handler
-
Collection of helper functions to deal with exceptions
- ExceptionHandler() - Constructor for class ExceptionHandler
-
Constructor
- exit - Static variable in class MovieMenuView
-
Static variable to return to MovieMenuView after successful payment
F
- filterCinemaByCineplexMovie(Cineplex, Movie) - Static method in class CinemaManager
-
Method to obtain a list of cinemas from a given cineplex, which are showing the queried movie
- filterCinemaByClass(CinemaClass, Cineplex) - Static method in class CinemaManager
-
Method to obtain a list of cinemas from a given cineplex, which belongs to the same class
- filterCineplexesByMovie(Movie) - Static method in class CineplexManager
-
Method to filter a list of cineplexes by the movie showing
- filterCineplexesByMovieSchedule(MovieSchedule) - Static method in class CineplexManager
-
Method to filter cineplexes by queried movie schedule
G
- G - Enum constant in enum class MovieAgeRating
-
General rating
- generateTransactionId(String) - Static method in class PaymentManager
-
Method to generate Transaction ID of the Payment Format of Transaction ID: XXXYYYYMMDDhhmm (XXX: Cinema Code in letters, YYYY: year, MM: month, DD: day, hh: hour, mm: minutes)
- generateUUID(HashMap<K, V>) - Static method in class DatabaseHandler
-
Generic function to generate unique UUID for different database
- getAllMovieList(Object) - Static method in class MovieManager
-
Method to get the list of all movies.
- getAssignStatus() - Method in class Seat
-
Gets the seat assignment status
- getBookingHistory() - Method in class MovieGoer
-
Gets all the
BookingHistory
made by the Movie Goer - getBookingHistoryByUUID(String) - Static method in class BookingHistoryManager
-
Method to retrieve a booking history by its UUID
- getCinemaByUUID(String) - Static method in class CinemaManager
-
Method to obtain a cinema by its UUID
- getCinemaClass() - Method in class Cinema
-
Gets the class of the cinema
- getCinemaCode(Cinema) - Static method in class CinemaManager
-
Method to extract cinema code from cinema UUID for printing in transaction ID
- getCinemaPrice() - Method in class Cinema
-
Gets the price weight of the cinema
- getCinemaPrice() - Method in class IMaxCinema
-
Gets the price weight of the cinema
- getCinemaPrice() - Method in class PlatinumCinema
-
Gets the price weight of the cinema
- getCinemaPrice() - Method in class StandardCinema
-
Gets the price weight of the cinema
- getCinemas() - Method in class Cineplex
-
Gets all the
Cinema
instances in the cineplex - getCineplexByCinema(Cinema) - Static method in class CineplexManager
-
Method to retrieve a cineplex by the query cinema
- getCineplexLocation() - Method in class Cineplex
-
Gets the location of the cineplex
- getCineplexName() - Method in class Cineplex
-
Gets the name of the cineplex
- getCurrentDate() - Static method in class DateTime
-
Gets the current date
- getCurrentDay() - Static method in class DateTime
-
Gets the current day
- getCurrentMonth() - Static method in class DateTime
-
Gets the current month
- getCurrentYear() - Static method in class DateTime
-
Gets the current year
- getDate() - Method in class DateTime
-
Gets the date of the Date
- getDay() - Method in class DateTime
-
Gets the Day of the Date
- getDefault3DMoviePrice() - Method in class Prices
-
Gets the default 3D movie price weight
- getDefaultAdultPrice() - Method in class Prices
-
Gets the default adult ticket price weight
- getDefaultBlockbusterMoviePrice() - Method in class Prices
-
Gets the default blockbuster movie price weight
- getDefaultChildPrice() - Method in class Prices
-
Gets the default child ticket price weight
- getDefaultIMaxCinemaPrice() - Method in class Prices
-
Gets the default IMAX cinema price weight
- getDefaultPlatinumCinemaPrice() - Method in class Prices
-
Gets the default platinum cinema price weight
- getDefaultSeatPrice() - Method in class Prices
-
Gets the default seat price weight
- getDefaultSeniorCitizenPrice() - Method in class Prices
-
Gets the default senior citizen ticket price weight
- getDefaultStandardCinemaPrice() - Method in class Prices
-
Gets the default standard cinema price weight
- getDefaultStandardMoviePrice() - Method in class Prices
-
Gets the default standard movie price weight
- getDefaultStudentPrice() - Method in class Prices
-
Gets the default student ticket price weight
- getDisplayName() - Method in enum class CinemaClass
-
Method to obtain the display name of a enumeration
- getDisplayName() - Method in enum class MovieAgeRating
-
Method to obtain the display name of a enumeration
- getDisplayName() - Method in enum class MovieShowingStatus
-
Method to obtain the display name of a enumeration
- getDisplayName() - Method in enum class MovieType
-
Method to obtain the display name of a enumeration
- getDisplayName() - Method in enum class SeatType
-
Method to obtain the display name of a enumeration
- getEmail() - Method in class MovieGoer
-
Gets the email address of the Movie Goer
- getFileName() - Method in enum class ModelType
-
Gets the file name of the model
- getGoerPrice() - Method in class Adult
-
Gets the price weight of the Movie Goer
- getGoerPrice() - Method in class Child
-
Gets the price weight of the Movie Goer
- getGoerPrice() - Method in class MovieGoer
-
Gets the price weight of the Movie Goer
- getGoerPrice() - Method in class SeniorCitizen
-
Gets the price weight of the Movie Goer
- getGoerPrice() - Method in class Student
-
Gets the price weight of the Movie Goer
- getGoerUUID() - Method in class MovieReview
-
Gets the unique ID of Movie Goer who sets this review
- getHolidayPrice() - Method in class Prices
-
Gets the default holiday ticket price weight
- getHolidayTimeNow() - Method in class DateTime
-
Formats a string of the holiday date time
- getHour() - Method in class DateTime
-
Gets the hour of the Time
- getKeyByValue(V, HashMap<K, V>) - Static method in class Database
-
Method to retrieve the key of a value in the HashMap database
- getKeyList(Collection) - Static method in class Database
-
Method to return an ArrayList of HashMap keys for the collection
keySet
- getMinute() - Method in class DateTime
-
Gets the minute of the Time
- getMobileNum() - Method in class MovieGoer
-
Gets the mobile number of the Movie Goer
- getMonth() - Method in class DateTime
-
Gets the Month of the Date
- getMovie() - Method in class MovieReview
-
Gets the
Movie
of the review - getMovieAgeRating() - Method in class Movie
-
Gets the age rating of the movie
- getMovieByUUID(String) - Static method in class MovieManager
-
Method to obtain a
Movie
by its UUID - getMovieCast() - Method in class Movie
-
Gets all the casts of the movie
- getMovieDirector() - Method in class Movie
-
Gets the director of the movie
- getMovieDuration() - Method in class Movie
-
Gets the duration of the movie
- getMovieGoerAge() - Method in class Adult
-
Gets the Movie Goer Age Group
- getMovieGoerAge() - Method in class Child
-
Gets the Movie Goer Age Group
- getMovieGoerAge() - Method in class MovieGoer
-
Gets the Movie Goer Age Group
- getMovieGoerAge() - Method in class SeniorCitizen
-
Gets the Movie Goer Age Group
- getMovieGoerAge() - Method in class Student
-
Gets the Movie Goer Age Group
- getMovieList(String) - Static method in class MovieManager
-
Method to get different
MovieType
of the same movie title. - getMovieOnShow() - Method in class MovieSchedule
-
Gets the UUID of the movie to be shown
- getMovieOverallReviewRating() - Method in class Movie
-
Gets the overall review rating of the movie
- getMoviePrice() - Method in class BlockbusterMovie
-
Gets the price weight of the movie type
- getMoviePrice() - Method in class Movie
-
Gets the price weight of the movie type
- getMoviePrice() - Method in class StandardMovie
-
Gets the price weight of the movie type
- getMoviePrice() - Method in class ThreeDMovie
-
Gets the price weight of the movie type
- getMovieReviewRating() - Method in class MovieReview
-
Gets the rating set by the Movie Goer for the movie
- getMovieReviews() - Method in class Movie
-
Gets all the reviews of the movie
- getMovieSalesPermission() - Method in class Permission
-
Gets the permission to view the top 5 movies by overall ratings
- getMovieScheduleByMovie(Movie) - Static method in class MovieScheduleManager
-
Method to retrieve a movie schedule by the queried movie
- getMovieShowingStatus() - Method in class Movie
-
Gets the showing status of the movie
- getMovieSynopsis() - Method in class Movie
-
Gets the synopsis of the movie
- getMovieTicket() - Method in class BookingHistory
-
Gets the ArrayList of
MovieTicket
booked by the MovieGoer - getMovieTicketPrice() - Method in class BankTransactionPayment
-
Gets the Price of the Movie Tickets
- getMovieTicketPrice() - Method in class CardPayment
-
Gets the Price of the Movie Tickets
- getMovieTicketPrice() - Method in class Payment
-
Gets the price of the Movie Ticket
- getMovieTicketPrice() - Method in class QRCodePayment
-
Gets the Price of the Movie Tickets
- getMovieTickets() - Method in class MovieTicketView
-
Gets the ArrayList of movieTickets
- getMovieTicketsSold() - Method in class Movie
-
Gets the total number of tickets sold
- getMovieTitle() - Method in class Movie
-
Gets the title of the movie
- getMovieToWatch() - Method in class MovieTicket
-
Gets the unique ID of the chosen Movie
- getMovieType() - Method in class BlockbusterMovie
-
Gets the type of the movie
- getMovieType() - Method in class Movie
-
Gets the price weight of the movie type
- getMovieType() - Method in class StandardMovie
-
Gets the type of the movie
- getMovieType() - Method in class ThreeDMovie
-
Gets the type of the movie
- getName() - Method in class CinemaStaff
-
Gets the name of the cinema staff
- getName() - Method in class MovieGoer
-
Gets the name of the Movie Goer
- getNextSeatID(String, Cinema) - Static method in class SeatManager
-
Method to get the next seat's ID for couple seat
- getNumOfCinemas() - Method in class Cineplex
-
Gets the total number of cinemas in the cineplex
- getNumOfRows() - Method in class Cinema
-
Gets the total number of rows of seats in the cinema
- getOverallRatingsPermission() - Method in class Permission
-
Gets the permission to view the top 5 movies by movie ticket sales
- getPassword() - Method in class CinemaStaff
-
Gets the password of the cinema staff account
- getPassword() - Method in class MovieGoer
-
Gets the password of the Movie Goer
- getPayment() - Method in class BookingHistory
-
get the
Payment
made by the MovieGoer for the Booking - getPayment() - Method in class PaymentView
-
Gets the payment object
- getPaymentByUUID(String) - Static method in class PaymentManager
-
Method to obtain a Payment by its UUID
- getPaymentType() - Method in class BankTransactionPayment
-
Gets the
PaymentType
of the Bank Transaction Payment - getPaymentType() - Method in class CardPayment
-
Gets the
PaymentType
of the Card Payment - getPaymentType() - Method in class Payment
-
Gets the Payment Type of the Payment
- getPaymentType() - Method in class QRCodePayment
-
Gets the
PaymentType
of the QR Code Payment - getReview() - Method in class MovieReview
-
Gets the review of the movie of the Movie Goer
- getReviewHistory() - Method in class MovieGoer
-
Gets all the
MovieReview
made by the Movie Goer - getSeatBySeatID(String, ArrayList<Seat>, Cinema) - Static method in class SeatManager
-
Method to obtain
Seat
instance by the front-end displayed seat ID - getSeatByUUID(String) - Static method in class SeatManager
-
Method to retrieve
Seat
instance by its UUID - getSeatID() - Method in class MovieTicket
-
Gets the Seat ID of chosen Seat
- getSeatingPlan() - Method in class MovieSchedule
-
Gets the seating plan of all the showing venues showing the movie
- getSeatPrice() - Method in class CoupleSeat
-
Gets the price weight of the seat
- getSeatPrice() - Method in class Seat
-
Gets the price weight of the seat
- getSeatPrice() - Method in class StandardSeat
-
Gets the price weight of the seat
- getSeats() - Method in class Cinema
-
Gets all the
Seat
instances in the cinema - getSeatType() - Method in class CoupleSeat
-
Gets the
SeatType
of the seat - getSeatType() - Method in class Seat
-
Gets the
SeatType
of the seat - getSeatType() - Method in class StandardSeat
-
Gets the
SeatType
of the seat - getShowingTime() - Method in class MovieSchedule
-
Gets all the showing time for the corresponding showing venues in the schedule
- getShowingVenue() - Method in class MovieTicket
-
Gets the unique ID of the chosen Cinema where the Moive is going to show
- getShowingVenues() - Method in class MovieSchedule
-
Gets all the showing venue UUID showing the movie
- getShowTime() - Method in class MovieTicket
-
Gets the Showing Time of the chosen Movie
- getTimeNow() - Method in class DateTime
-
Formats a string of the current time
- getTotalNumOfSeats() - Method in class Cinema
-
Gets the total number of seats in the cinema
- getTransactionID() - Method in class Payment
-
Gets the Transaction ID of the Payment
- getUsername() - Method in class CinemaStaff
-
Gets the username of the cinema staff account
- getUsername() - Method in class MovieGoer
-
Gets the username of the Movie Goer
- getUUID() - Method in class BookingHistory
-
Gets the unique ID of the Booking History
- getUUID() - Method in class Cinema
-
Gets the unique ID of the cinema
- getUUID() - Method in class CinemaStaff
-
Gets the unique ID of the cinema staff
- getUUID() - Method in class Cineplex
-
Gets the unique ID of the cineplex
- getUUID() - Method in class Movie
-
Gets the unique ID of the Movie
- getUUID() - Method in class MovieGoer
-
Gets unique ID of Movie Goer in database
- getUUID() - Method in class MovieReview
-
Gets the unique ID of the movie review
- getUUID() - Method in class MovieSchedule
-
Gets the unique ID of a
MovieSchedule
isntance - getUUID() - Method in class MovieTicket
-
Gets the unique ID of the Movie Ticket
- getUUID() - Method in class Payment
-
Gets the unique ID of the Payment
- getUUID() - Method in class Seat
-
Gets the unique ID of the seat
- getValueByKey(K, HashMap<K, V>) - Static method in class Database
-
Method to retrieve the value of a key in the HashMap database
- getValueList(Collection) - Static method in class Database
-
Method to return an ArrayList of HashMap values for the collection
valueSet
- getWeekendPrice() - Method in class Prices
-
Gets the default weekend ticket price weight
- getYear() - Method in class DateTime
-
Gets the Year of the Date
H
- HOLIDAY - Enum constant in enum class ModelType
-
Holiday enum and its file name
- holidays - Static variable in class Database
-
All the holidays
I
- IMAX - Enum constant in enum class CinemaClass
-
IMAX cinema
- IMaxCinema - Class in src.model
-
The Class inherited from the Superclass
Cinema
that handles the data of IMAX Cinema - IMaxCinema(String, ArrayList<Seat>, int, int) - Constructor for class IMaxCinema
-
Constructor for IMaxCinema class
- initalizeCinemaStaff() - Static method in class DatabaseManager
-
Method to initialize the initial cinema staff data into database
- initializeCinemaData(int) - Static method in class DatabaseManager
-
Method to load inital cinema data into database
- initializeCineplexData() - Static method in class DatabaseManager
-
Method to load initial cineplex data into database
- initializeMovie() - Static method in class DatabaseManager
-
Method to initialize the initial movie data into database
- initializeMovieScheduleData() - Static method in class DatabaseManager
-
Method to initialize the initial movie schedule data into database
- initializePrices() - Static method in class DatabaseManager
-
Method to initialize the default prices
- initializeSeatData(CinemaClass) - Static method in class DatabaseManager
-
Method to initialize the initial seat data into database
- InputHandler - Class in src.handler
-
Generic helper functions for handling inputs
- InputHandler() - Constructor for class InputHandler
-
Constructor
- intHandler() - Static method in class InputHandler
-
Helper function to read an integer
L
- login(String, String) - Static method in class UserManager
-
Method to perform simple login by verifying the user's username and password entered according to the database
M
- M18 - Enum constant in enum class MovieAgeRating
-
Mature content for 18 above
- main(String[]) - Static method in class MovieApp
-
Main driver function for the application
- MainView - Class in src.view
-
All views will inherit from this class Provides the boilerplate for the program
- MainView() - Constructor for class MainView
-
Constructor
- ModelType - Enum Class in src.database
-
Enumeration class for handling conversion from database file to HashMap
- Movie - Class in src.model
-
The Class that handles the data of Movie
- Movie(String, String, MovieAgeRating, MovieShowingStatus, ArrayList<String>, String, String, double) - Constructor for class Movie
-
Constructor for Movie class
- MOVIE - Enum constant in enum class ModelType
-
Movie enum and its file name
- MOVIE - Static variable in class Database
-
Movie Model in database
- MOVIE_GOER - Enum constant in enum class ModelType
-
MovieGoer enum and its file name
- MOVIE_GOER - Static variable in class Database
-
Movie Goer in database
- MOVIE_REVIEW - Enum constant in enum class ModelType
-
MovieReview enum and its file name
- MOVIE_REVIEW - Static variable in class Database
-
Movie Review in database
- MOVIE_SCHEDULE - Enum constant in enum class ModelType
-
MovieSchedule enum and its file name
- MOVIE_SCHEDULE - Static variable in class Database
-
Movie Schedule Model in database
- MOVIE_TICKET - Enum constant in enum class ModelType
-
MovieTicket enum and its file name
- MOVIE_TICKET - Static variable in class Database
-
Movie Ticket in database
- movieAdder(String, MovieAgeRating, MovieShowingStatus, ArrayList<String>, String, String, double, int, ArrayList<String>, ArrayList<ArrayList<Seat>>, ArrayList<DateTime>) - Static method in class CinemaStaffManager
-
Method to add a new
Movie
into the database and schedule it into the movie schedulerMovieSchedule
- MovieAgeRating - Enum Class in src.model.enums
-
Enumeration class for the Movie Age Rating
- MovieApp - Class in src
-
The start of the MOBLIMA Application
- MovieApp() - Constructor for class MovieApp
-
Default constructor
- MovieAppView - Class in src.view
-
View for the movie goer and cinema staff before register or login
- MovieAppView() - Constructor for class MovieAppView
-
Creates a new MovieAppView with an empty error message
- movieBookable(Movie) - Static method in class MovieManager
-
Method to check whether a movie is bookable.
- MovieBookingHistoryView - Class in src.view
-
View for movie goer to access their movie booking history
- MovieBookingHistoryView(MovieGoer) - Constructor for class MovieBookingHistoryView
-
Creates a new MovieBookingHistoryView with the movieGoer attributes
- MovieDetailsView - Class in src.view
-
View for movie goer to view the details of the movie
- MovieDetailsView(String, MovieGoer) - Constructor for class MovieDetailsView
-
Creates a new MovieDetailsView with the title and movieGoer
- MovieGoer - Class in src.model
-
The Class that handles the data of Movie Goer
- MovieGoer(String, String, String, String, String, String) - Constructor for class MovieGoer
-
Constructor for MovieGoer class
- MovieGoerAge - Enum Class in src.model.enums
-
Enumeration class for the Movie Goer Age
- MovieGoerManager - Class in src.controller
-
Controller class for handling all logic related to
MovieGoer
- MovieGoerManager() - Constructor for class MovieGoerManager
-
Constructor
- MovieListRankingView - Class in src.view
-
View for movie goer to choose the ranking format of top 5 movies
- MovieListRankingView() - Constructor for class MovieListRankingView
-
Creates a new MovieListRankingView with an empty errorMessage
- MovieListView - Class in src.view
-
View for movie goer to view the list of movies
- MovieListView(MovieGoer) - Constructor for class MovieListView
-
Creates a new MovieListView with the movieGoer Constructs the list of movies available
- MovieManager - Class in src.controller
-
Controller class for handling all logic related to
Movie
- MovieManager() - Constructor for class MovieManager
-
Constructor
- MovieMenuView - Class in src.view
-
View for movie goer after successful login or register
- MovieMenuView(MovieGoer) - Constructor for class MovieMenuView
-
Creates a new MovieMenuView with the movieGoer Constructs the MovieListView
- MovieReview - Class in src.model
-
The Class that handles the data of Movie Review
- MovieReview(String, String, Movie, String, double) - Constructor for class MovieReview
-
Constructor for MovieReview class
- MovieReviewManager - Class in src.controller
-
Controller class for handling all logic related to
MovieReview
- MovieReviewManager() - Constructor for class MovieReviewManager
-
Constructor
- MovieSchedule - Class in src.model
-
The Class that handles the data of Movie Schedule
- MovieSchedule(String, String, ArrayList<String>, ArrayList<ArrayList<Seat>>, ArrayList<DateTime>) - Constructor for class MovieSchedule
-
Constructor
- MovieScheduleManager - Class in src.controller
-
Controller for handling all logic related to
MovieSchedule
- MovieScheduleManager() - Constructor for class MovieScheduleManager
-
Constructor
- MovieScheduleView - Class in src.view
-
View for movie goer to view the schedules of the movie for its type
- MovieScheduleView(ArrayList<Cinema>, Movie, MovieGoer) - Constructor for class MovieScheduleView
-
Creates a new MovieScheduleView with ArrayList of cinemas, movie, moviegoer Stores the index of the showingVenues that match the list of cinemas showing the movie and its type
- MovieSearchView - Class in src.view
-
View for movie goer to search for a particular movie title
- MovieSearchView(MovieGoer) - Constructor for class MovieSearchView
-
Creates a a new MovieSearchView with movieGoer
- MovieShowingStatus - Enum Class in src.model.enums
-
Enumeration class for the Showing Status
- MovieTicket - Class in src.model
-
The Class that handles the data of Movie Ticket
- MovieTicket(String, String, DateTime, String, String) - Constructor for class MovieTicket
-
Constructor for the MovieTicket Class
- MovieTicketManager - Class in src.controller
-
Controller for handling all logic related to
MovieTicket
- MovieTicketManager() - Constructor for class MovieTicketManager
-
Constructor
- MovieTicketView - Class in src.view
-
View for movie goer to view the movie tickets after successful payment
- MovieTicketView(ArrayList<String>, Movie, DateTime, Cinema, ArrayList<Seat>, double) - Constructor for class MovieTicketView
-
Creates a new MovieTicket View and a new movieTicketList as an attribute
- MovieType - Enum Class in src.model.enums
-
Enumeration class for the Movie Type
- MovieTypeView - Class in src.view
-
View for movie goer to view the different movie types for the movie title
- MovieTypeView(String, MovieGoer) - Constructor for class MovieTypeView
-
Creates a MovieTypeView with the movieTitle and the movieGoer
N
- NC16 - Enum constant in enum class MovieAgeRating
-
No children under 16
- NOW_SHOWING - Enum constant in enum class MovieShowingStatus
-
Now Showing movie status
- numOfCoupleRows - Static variable in class Database
-
Total number of couple rows in a cinema
- numOfRows - Static variable in class Database
-
Total number of rows in a cinema
O
- optInOut(int, boolean) - Static method in class CinemaStaffManager
-
Method to opt in/out the permissions of movie goers from viewing the list of top five
- OutOfBoundHandler(int, ArrayList<E>) - Static method in class ExceptionHandler
-
Handler to handle situation when user attempts to access outside index of an array i.e., 5 selections but given int 6 by user
P
- Payment - Class in src.model
-
The Class that handles the data of Payment
- Payment(String, String) - Constructor for class Payment
-
Constructor for Payment class
- PAYMENT - Enum constant in enum class ModelType
-
Payment enum and its file name
- PAYMENT - Static variable in class Database
-
Payment Model in database
- PaymentManager - Class in src.controller
-
Controller for handling all logic related to
Payment
- PaymentManager() - Constructor for class PaymentManager
-
Constructor
- PaymentType - Enum Class in src.model.enums
-
Enumeration Class for the Payment Type
- PaymentView - Class in src.view
-
View for movie goer after selecting the seats for purchase
- PaymentView(String, double, MovieSchedule) - Constructor for class PaymentView
-
Creates a PaymentView with the cinemaCode, movieSchedule and totalMovieTicketPrice Generates a transactionID based on the cinemaCode
- Permission - Class in src.model
-
Stores and modifies all
MovieGoer
permissions - Permission() - Constructor for class Permission
-
COnstructor
- PERMISSION - Enum constant in enum class ModelType
-
Permission enum and its file name
- PERMISSION - Static variable in class Database
-
All the permissions of a movie goer
- PG - Enum constant in enum class MovieAgeRating
-
Parental guidance
- PG13 - Enum constant in enum class MovieAgeRating
-
Parental guidance under 13
- PLATINUM - Enum constant in enum class CinemaClass
-
Platinum cinema
- PlatinumCinema - Class in src.model
-
The Class inherited from the Superclass
Cinema
that handles the data of Platinum Cinema - PlatinumCinema(String, ArrayList<Seat>, int, int) - Constructor for class PlatinumCinema
-
Constructor for PlatinumCinema class
- platinumNumOfRow - Static variable in class Database
-
Pre-defined variables for the number of rows of seats in a platinum cinema
- platinumNumOfSeatsPerRow - Static variable in class Database
-
Pre-defined variables for the number of seats per row in a platinum cinema
- PREVIEW - Enum constant in enum class MovieShowingStatus
-
Preview movie status
- Prices - Class in src.model
-
Stores and modifies all the default prices of each weight in a movie ticket
- Prices() - Constructor for class Prices
-
Empty constructor
- Prices(double, double, double, double, double, double, double, double, double, double, double, double, double) - Constructor for class Prices
-
Constructor to set the prices back to default
- PRICES - Enum constant in enum class ModelType
-
Prices enum and its file name
- PRICES - Static variable in class Database
-
All the price weights of cinema class, movie goer age, seat type, movie type
- printAddReview() - Method in class MovieDetailsView
-
Method to take in the review and rating of the user for createMovieReview
- printAgeGroup() - Method in class MovieAppView
-
Method to print the boiler plate and displays the choices of the user to select their age group
- printAgeGroupPrice() - Method in class StaffConfigPriceView
-
Method to print boiler plate for age group class pricing menu
- printAgeRating() - Method in class StaffAddMovieView
-
Prints the boiler plate for query of Movie Age Rating
- printBoilerPlate(String) - Static method in class MainView
-
Used in printing the title of the view such as "Database" or "Add Movie"
- printBookingHistories() - Method in class MovieBookingHistoryView
-
Method to print the booking history of the movieGoer from an ArrayList
- printCinemaClass() - Method in class StaffAddMovieView
-
Prints the boiler plate for query of Cinema Class
- printCinemaClassPrice() - Method in class StaffConfigPriceView
-
Method to print boiler plate for cinema class pricing menu
- printCinemas() - Method in class CinemaView
-
Front-end handler to handle the printing of the different types of cinema showing the movie selected
- printCineplex() - Method in class CineplexView
-
Method to print the cineplexes which are showing the movie selected by the user
- printCineplex() - Method in class StaffAddMovieView
-
Prints the Cineplexes showing the new movie
- printHolidayList(String) - Static method in class CinemaStaffManager
-
Method to print out the holidays on the holidays ArrayList
- printMenu() - Method in class CinemaView
-
Standard function to print the menu for user to choose the next action
- printMenu() - Method in class CineplexView
-
Standard function to print the menu for user to choose the next action
- printMenu() - Method in class DatabaseView
-
Standard function to print the menu for user to choose the next action
- printMenu() - Method in class MainView
-
Abstract method to be implemented to print the menu for user to select the next action
- printMenu() - Method in class MovieAppView
-
Method to print the boiler plate and displays the choices of the user
- printMenu() - Method in class MovieBookingHistoryView
-
Method to print the boiler plate and calls printBookingHistories
- printMenu() - Method in class MovieDetailsView
-
Method to print the boiler plate, movie details and display the choices of the user
- printMenu() - Method in class MovieListRankingView
-
Prints the boiler plate and displays the choices of the user
- printMenu() - Method in class MovieListView
-
Method to print the boiler plate and calls printMovieList
- printMenu() - Method in class MovieMenuView
-
Method to print the boiler plate and displays the choices of the user
- printMenu() - Method in class MovieScheduleView
-
Method to print the boiler plate and calls printShowingTimes
- printMenu() - Method in class MovieSearchView
-
Method to print the boiler plate and menu content
- printMenu() - Method in class MovieTypeView
-
Method to print boiler plate and calls printMovieType
- printMenu() - Method in class PaymentView
-
Method that prints boiler plate and displays the choices that the user has to pay
- printMenu() - Method in class SeatingPlanView
-
Method to print the boiler plate and displays the choice that the user has Displays the cinemaID, movieTitle, showingTime, seatingPlan, seats in cart currently
- printMenu() - Method in class StaffAddMovieView
-
Prints the boiler plate
- printMenu() - Method in class StaffConfigHolidayView
-
Method to print the boiler plate
- printMenu() - Method in class StaffConfigPermissionsView
-
Method to print boiler plate
- printMenu() - Method in class StaffConfigPriceView
-
Method to print boiler plate for price configuration menu
- printMenu() - Method in class StaffConfigSettingsView
-
Method to print the boiler plate
- printMenu() - Method in class StaffConfigureMovieView
-
Method to print boiler plate
- printMenu() - Method in class StaffMovieDetailsView
-
Method to print boiler plate and calls printMovieList
- printMenu() - Method in class StaffMovieListRankingView
-
Method to print boiler plate
- printMenu() - Method in class StaffSystemConfigView
-
Method to print boiler plate for the staff system module
- printMenuContent(String) - Static method in class MainView
-
Used in printing the selection for users.
- printMovieDetails() - Method in class MovieDetailsView
-
Method to print out the basic details of the movie: Director, Cast, Movie Type Overall rating will be printed if available
- printMovieList() - Method in class MovieListView
-
Method to print out the title of the list of available movies
- printMovieList() - Method in class StaffMovieDetailsView
-
Method to print all the movies available
- printMovieTickets() - Method in class MovieTicketView
-
Method that prints out the movie tickets purchased with information such as: movieName, movieType, cineplex, cinemaClass, cinemaID, showingTime, price of a movieTicket
- printMovieType() - Method in class MovieDetailsView
-
Method to print out the different movie types available for the movie
- printMovieType() - Method in class MovieTypeView
-
Method to print the movie type matching the movieTitle and calls printMenuContent
- printMovieType() - Method in class StaffAddMovieView
-
Prints the boiler plate for query of Movie Type
- printMovieTypePrice() - Method in class StaffConfigPriceView
-
Method to print boiler plate for movie type pricing menu
- printPastReviews() - Method in class MovieDetailsView
-
Method that will print each of the reviews and ratings Reviews will not be displayed if number of reviews is less than 2
- printPaymentSuccessful() - Method in class PaymentView
-
Method that prints out details of a successful payment
- printPlatinumCinemaFloorMap(ArrayList<Seat>) - Static method in class SeatManager
-
Method to print the floor map of a platinum cinema
- printReceipt(String) - Method in class PaymentView
-
Method that prints out receipt containing paymentID, transactionID, paymentMethod, MovieTicketPrice
- printSeatInCart() - Method in class SeatingPlanView
-
Method to print the seatID and price of the seats chosen by the movieGoer
- printSeatingPlan() - Method in class SeatingPlanView
-
Method to print out the floor map of the cinema choice to display the seats
- printShowingStatus() - Method in class StaffAddMovieView
-
Prints the boiler plate for query of Movie Showing Status
- printShowingTime(Cinema) - Method in class StaffAddMovieView
-
Prints the showing time for the new movie
- printShowingTimes() - Method in class MovieScheduleView
-
Method to print out the showingTimes of the movie if it is bookable
- printSpecialDatePrice() - Method in class StaffConfigPriceView
-
Method to print boiler plate for special dates pricing menu
- printStandardCinemaFloorMap(ArrayList<Seat>) - Static method in class SeatManager
-
Method to print the floor map of a standard cinema (non-platinum)
- printSynopsis() - Method in class MovieDetailsView
-
Method to print the synopsis of the movie
- printTime() - Method in class DateTime
-
Method to print out the date and the time
- printTop5(int) - Method in class MovieListRankingView
-
Method to call rankTop5 based on choice and prints ranking Showing movies will be displayed with higher priority over End of show movies
- printTop5(int) - Method in class StaffMovieListRankingView
-
Method to print top five movies for cinema staff based on either ticket sales or overall review ratings
Q
- QRCODE - Enum constant in enum class PaymentType
-
QR payment
- QRCodePayment - Class in src.model
-
The Class inherited from the Superclass
Payment
that handles the data of QR Code Payment - QRCodePayment(String, PaymentType, String, double) - Constructor for class QRCodePayment
-
Constructor for QRCodePayment Class
- queryDate() - Static method in class CinemaStaffManager
-
Method to query and create a new date
- queryHoliday() - Static method in class CinemaStaffManager
-
Method to query and create a new holiday
R
- R21 - Enum constant in enum class MovieAgeRating
-
Restricted for 21 and above
- rankTop5(String, ArrayList<Movie>, boolean) - Static method in class MovieGoerManager
-
Method to sort all movies according to overall rating or tickets sales.
- readData(ModelType) - Static method in class Database
-
Method to read serialized data from database file
- register(MovieGoerAge, String, String, String, String, String) - Static method in class UserManager
-
Method to register for a new movie goer account by creating a
MovieGoer
object - reloadDatabase() - Static method in class DatabaseManager
-
Helper function to reload the database.
- remountDatabase() - Static method in class Database
-
Method to reload the database.
- removeSeatingPlan(int) - Method in class MovieSchedule
-
Removes a seating plan from the schedule.
- removeShowingTime(int) - Method in class MovieSchedule
-
Removes a showing venue from the schedule.
- removeShowingVenue(int) - Method in class MovieSchedule
-
Removes a showing time from the schedule.
- resetDatabase() - Static method in class DatabaseManager
-
Helper function to reset the database
- resetDatabase() - Static method in class Database
-
Method to reset the database
- resetMovieSchedule(MovieSchedule) - Static method in class MovieScheduleManager
-
Refactored method to reset a movie schedule.
S
- saveUpdateToBuffer(K, V, HashMap<K, V>) - Static method in class DatabaseManager
-
Similar to saveUpdateToDatabase, except save to buffer instead.
- saveUpdateToDatabase(K, V, HashMap<K, V>) - Static method in class DatabaseManager
-
Generic helper function to save written changes into the database
- Seat - Class in src.model
-
The Class that handles the data of Seat
- Seat(String) - Constructor for class Seat
-
Constructor for Seat class
- SEAT - Enum constant in enum class ModelType
-
Seat enum and its file name
- SEAT - Static variable in class Database
-
Seat Model in database
- seatIDConverter(String, Cinema) - Static method in class SeatManager
-
Method to convert the front-end displayed seat ID (i.e.
- SeatingPlanView - Class in src.view
-
View for movie goer of the seating plan of the movie at that cinema
- SeatingPlanView(MovieSchedule, DateTime, Cinema, ArrayList<Seat>, MovieGoer) - Constructor for class SeatingPlanView
-
Creates a new SeatingPlanView with chosen movieSchedule, cinema, showingPlan and the movieGoer
- SeatManager - Class in src.controller
-
Controller class for handling all logic related to
Seat
- SeatManager() - Constructor for class SeatManager
-
Constructor
- SeatType - Enum Class in src.model.enums
-
Enumeration class for the class Seat
- SeniorCitizen - Class in src.model
-
The Class inherited from the Superclass
MovieGoer
that handles the data of Senior Citizen - SeniorCitizen - Enum constant in enum class MovieGoerAge
-
Senior citizen age group
- SeniorCitizen(String, String, String, String, String, String) - Constructor for class SeniorCitizen
-
Constructor for Senior Citizen class
- setAssignStatus(boolean) - Method in class Seat
-
Sets the seat assignment status
- setBookingHistory(ArrayList<BookingHistory>) - Method in class MovieGoer
-
Sets all the
BookingHistory
made by the Movie Goer - setCinemaClass(CinemaClass) - Method in class Cinema
-
Sets the class of the cinema
- setCinemaPrice(double) - Method in class Cinema
-
Sets the price weight of the cinema
- setCinemaPrice(double) - Method in class IMaxCinema
-
Sets the price weight of the cinema
- setCinemaPrice(double) - Method in class PlatinumCinema
-
Sets the price weight of the cinema
- setCinemaPrice(double) - Method in class StandardCinema
-
Sets the price weight of the cinema
- setCinemas(ArrayList<Cinema>) - Method in class Cineplex
-
Sets all the
Cinema
instances in the cineplex - setCineplexLocation(String) - Method in class Cineplex
-
Sets the location of the cineplex
- setCineplexName(String) - Method in class Cineplex
-
Sets the name of the cineplex
- setDefault3DMoviePrice(double) - Method in class Prices
-
Sets the default 3D movie price weight
- setDefaultAdultPrice(double) - Method in class Prices
-
Sets the default adult ticket price weight
- setDefaultBlockbusterMoviePrice(double) - Method in class Prices
-
Sets the default blockbuster movie price weight
- setDefaultChildPrice(double) - Method in class Prices
-
Sets the default child ticket price weight
- setDefaultIMaxCinemaPrice(double) - Method in class Prices
-
Sets the default IMAX cinema price weight
- setDefaultPlatinumCinemaPrice(double) - Method in class Prices
-
Sets the default platinum cinema price weight
- setDefaultSeatPrice(double) - Method in class Prices
-
Sets the default seat price weight
- setDefaultSeniorCitizenPrice(double) - Method in class Prices
-
Sets the default senior citizen ticket price weight
- setDefaultStandardCinemaPrice(double) - Method in class Prices
-
Sets the default standard cinema price weight
- setDefaultStandardMoviePrice(double) - Method in class Prices
-
Sets the default standard movie price weight
- setDefaultStudentPrice(double) - Method in class Prices
-
Sets the default student ticket price weight
- setEmail(String) - Method in class MovieGoer
-
Sets the email address of the Movie Goer
- setGoerPrice(double) - Method in class Adult
-
Sets the price weight of the Movie Goer
- setGoerPrice(double) - Method in class Child
-
Sets the price weight of the Movie Goer
- setGoerPrice(double) - Method in class MovieGoer
-
Sets the price weight of the Movie Goer
- setGoerPrice(double) - Method in class SeniorCitizen
-
Sets the price weight of the Movie Goer
- setGoerPrice(double) - Method in class Student
-
Sets the price weight of the Movie Goer
- setGoerUUID(String) - Method in class MovieReview
-
Sets the unique ID of Movie Goer who gives this review
- setHolidayPrice(double) - Method in class Prices
-
Sets the default holiday ticket price weight
- setMobileNum(String) - Method in class MovieGoer
-
Sets the mobile number of the Movie Goer
- setMovie(Movie) - Method in class MovieReview
-
Sets the
Movie
of the review - setMovieAgeRating(MovieAgeRating) - Method in class Movie
-
Set the age rating of the movie
- setMovieCast(ArrayList<String>) - Method in class Movie
-
Sets all the casts of the movie
- setMovieDirector(String) - Method in class Movie
-
Sets the director of the movie
- setMovieDuration(double) - Method in class Movie
-
Sets the duration of the movie
- setMovieOnShow(String) - Method in class MovieSchedule
-
Sets the UUID of the movie to be shown
- setMovieOverallReviewRating(double) - Method in class Movie
-
Sets the overall review rating of the movie
- setMoviePrice(double) - Method in class BlockbusterMovie
-
Sets the price weight of the movie type
- setMoviePrice(double) - Method in class Movie
-
Sets the price weight of the movie type
- setMoviePrice(double) - Method in class StandardMovie
-
Sets the price weight of the movie type
- setMoviePrice(double) - Method in class ThreeDMovie
-
Sets the price weight of the movie type
- setMovieReviewRating(double) - Method in class MovieReview
-
Sets the rating of the movie by Movie Goer
- setMovieReviews(ArrayList<MovieReview>) - Method in class Movie
-
Sets all the reviews of the movie
- setMovieSalesPermission(boolean) - Method in class Permission
-
Sets the permission to view the top 5 movies by movie ratings
- setMovieShowingStatus(MovieShowingStatus) - Method in class Movie
-
Sets the showing status of the movie
- setMovieSynopsis(String) - Method in class Movie
-
Sets the synopsis of the movie
- setMovieTicket(ArrayList<MovieTicket>) - Method in class BookingHistory
-
Sets the ArrayList of
MovieTicket
to be booked by the MovieGoer - setMovieTicketPrice(double) - Method in class BankTransactionPayment
-
Sets the price of the Movie Tickets
- setMovieTicketPrice(double) - Method in class CardPayment
-
Sets the price of the Movie Tickets
- setMovieTicketPrice(double) - Method in class Payment
-
Sets the price of the Movie Ticket
- setMovieTicketPrice(double) - Method in class QRCodePayment
-
Sets the price of the Movie Tickets
- setMovieTicketsSold(int) - Method in class Movie
-
Sets the total number of tickets sold
- setMovieTitle(String) - Method in class Movie
-
Sets the title of the movie
- setMovieToWatch(String) - Method in class MovieTicket
-
Sets the unique ID of the chosen Movie
- setMovieType(MovieType) - Method in class BlockbusterMovie
-
Sets the movie type of the movie
- setMovieType(MovieType) - Method in class Movie
-
Sets the movie type of the movie
- setMovieType(MovieType) - Method in class StandardMovie
-
Sets the movie type of the movie
- setMovieType(MovieType) - Method in class ThreeDMovie
-
Sets the movie type of the movie
- setName(String) - Method in class CinemaStaff
-
Sets the name of the cinema staff
- setName(String) - Method in class MovieGoer
-
Sets the name of the Movie Goer
- setNumOfCinemas(int) - Method in class Cineplex
-
Sets the total number of cinemas in the cineplex
- setNumOfRows(int) - Method in class Cinema
-
Sets the total number of rows of seats in the cinema
- setOverallRatingsPermission(boolean) - Method in class Permission
-
Sets the permission to view the top 5 movies by movie ticket sales
- setPassword(String) - Method in class CinemaStaff
-
Sets the password of the cinema staff account
- setPassword(String) - Method in class MovieGoer
-
Sets password of Movie Goer's account
- setPayment(Payment) - Method in class BookingHistory
-
set the
Payment
to be made by the MovieGoer for the Booking - setPaymentType(PaymentType) - Method in class BankTransactionPayment
-
Sets the
PaymentType
of the Bank Transaction Payment - setPaymentType(PaymentType) - Method in class CardPayment
-
Sets the
PaymentType
of the Card Payment - setPaymentType(PaymentType) - Method in class Payment
-
Sets the Payment Type of the Payment
- setPaymentType(PaymentType) - Method in class QRCodePayment
-
Sets the
PaymentType
of the QR Code Payment - setReview(String) - Method in class MovieReview
-
Sets the review of the Movie Goer
- setReviewHistory(ArrayList<MovieReview>) - Method in class MovieGoer
-
Sets all the
MovieReview
made by the Movie Goer - setSeatID(String) - Method in class MovieTicket
-
Sets the Seat ID of the chosen Seat
- setSeatingPlan(ArrayList<ArrayList<Seat>>) - Method in class MovieSchedule
-
Sets the seating plan of all the showing venues showing the movie
- setSeatPrice(double) - Method in class CoupleSeat
-
Sets the price weight of the seat
- setSeatPrice(double) - Method in class Seat
-
Sets the price weight of the seat
- setSeatPrice(double) - Method in class StandardSeat
-
Sets the price weight of the seat
- setSeats(ArrayList<Seat>) - Method in class Cinema
-
Sets all the
Seat
instances in the cinema - setSeatStatus(int, Seat, boolean) - Method in class MovieSchedule
-
Method to set a seat to be occupied/unoccupied in the seating plan
- setSeatType(SeatType) - Method in class CoupleSeat
-
Sets the
SeatType
of the seat - setSeatType(SeatType) - Method in class Seat
-
Sets the
SeatType
of the seat - setSeatType(SeatType) - Method in class StandardSeat
-
Sets the
SeatType
of the seat - setShowingTime(ArrayList<DateTime>) - Method in class MovieSchedule
-
Sets all the showing time for the corresponding showing venues in the schedule
- setShowingVenue(String) - Method in class MovieTicket
-
Sets the unique ID of the chosen Cinema where the Moive is going to show
- setShowingVenues(ArrayList<String>) - Method in class MovieSchedule
-
Sets all the showing venue UUID showing the movie
- setShowTime(DateTime) - Method in class MovieTicket
-
Sets the Showing Time of the chosen Movie
- setTotalNumOfSeats(int) - Method in class Cinema
-
Sets the total number of seats in the cinema
- setTransactionID(String) - Method in class Payment
-
Sets the TransactionID of the Payment
- setUsername(String) - Method in class CinemaStaff
-
sets the username of the cinema staff account
- setUsername(String) - Method in class MovieGoer
-
Sets the username of the Movie Goer
- setUUID(String) - Method in class BookingHistory
-
Set the unique ID of the Booking History
- setUUID(String) - Method in class Cinema
-
Sets the unique ID of the cinema
- setUUID(String) - Method in class CinemaStaff
-
Sets the unique UUID of the cinema staff
- setUUID(String) - Method in class Cineplex
-
Sets the unique ID of the cineplex
- setUUID(String) - Method in class Movie
-
Sets the unique ID of the Movie
- setUUID(String) - Method in class MovieGoer
-
Sets the unique ID of the Movie Goer
- setUUID(String) - Method in class MovieReview
-
Sets the unique ID of the movie review
- setUUID(String) - Method in class MovieSchedule
-
Sets the unique ID of a
MovieSchedule
isntance - setUUID(String) - Method in class MovieTicket
-
Set the unique ID of the Movie Ticket
- setUUID(String) - Method in class Payment
-
Set the unique ID of the Payment
- setUUID(String) - Method in class Seat
-
Sets the unique ID of the seat
- setWeekendPrice(double) - Method in class Prices
-
Sets the default weekend ticket price weight
- sortMovie(ArrayList<Movie>, String) - Static method in class MovieManager
-
Method to sort movie list by either ticket sales or overall review rating.
- src - package src
- src.controller - package src.controller
- src.database - package src.database
- src.handler - package src.handler
- src.model - package src.model
- src.model.enums - package src.model.enums
- src.view - package src.view
- StaffAddMovieView - Class in src.view
-
View for cinema staff to add a new movie into the database
- StaffAddMovieView() - Constructor for class StaffAddMovieView
-
Constructor
- StaffConfigHolidayView - Class in src.view
-
View for cinema staff to add or delete the holiday from the holidays ArrayList in the database
- StaffConfigHolidayView() - Constructor for class StaffConfigHolidayView
-
Constructor
- StaffConfigPermissionsView - Class in src.view
-
View for cinema staffs to configure movie goer's permissions to view top 5 movies
- StaffConfigPermissionsView() - Constructor for class StaffConfigPermissionsView
-
Constructor
- StaffConfigPriceView - Class in src.view
-
View for cinema staffs to configure prices
- StaffConfigPriceView() - Constructor for class StaffConfigPriceView
-
Constructor
- StaffConfigSettingsView - Class in src.view
-
View for staffs to select which system setting is to be configured System settings include movie ticket pricings, holidays and movie goer permissions
- StaffConfigSettingsView() - Constructor for class StaffConfigSettingsView
-
Constructor
- StaffConfigureMovieView - Class in src.view
-
View for the cinema staff to configure specific detail of the movie selected from StaffMovieDetailsView
- StaffConfigureMovieView(Movie) - Constructor for class StaffConfigureMovieView
-
Constructor for StaffConfigureMovieView
- StaffMovieDetailsView - Class in src.view
-
View for staff to view the list of movies
- StaffMovieDetailsView(CinemaStaff) - Constructor for class StaffMovieDetailsView
-
Constructor for StaffMovieDetailsView
- StaffMovieListRankingView - Class in src.view
-
View for cinema staffs to view the top five ranked movies based on ticket sales or overall review ratings
- StaffMovieListRankingView() - Constructor for class StaffMovieListRankingView
-
Constructor for StaffMovieListRankingView
- StaffSystemConfigView - Class in src.view
-
View for the initial cinema staff module upon successful login
- StaffSystemConfigView(CinemaStaff) - Constructor for class StaffSystemConfigView
-
Constructor for the StaffSystemConfig module
- Standard - Enum constant in enum class MovieType
-
Standard movie
- STANDARD - Enum constant in enum class CinemaClass
-
Standard cinema
- STANDARD - Enum constant in enum class SeatType
-
Standard seat
- StandardCinema - Class in src.model
-
The Class inherited from the Superclass
Cinema
that handles the data of Standard Cinema - StandardCinema(String, ArrayList<Seat>, int, int) - Constructor for class StandardCinema
-
Constructor for StandardCinema class
- StandardMovie - Class in src.model
-
The Class inherited from the Superclass
Movie
that handles the data of Standard Movie - StandardMovie(String, String, MovieAgeRating, MovieShowingStatus, ArrayList<String>, String, String, double) - Constructor for class StandardMovie
-
Constructor for Standard movie
- StandardSeat - Class in src.model
-
The Class inherited from the Superclass
Seat
that handles the data of Standard Seat - StandardSeat(String) - Constructor for class StandardSeat
-
Constructor for StandardSeat class
- stringHandler() - Static method in class InputHandler
-
Helper function to read a string
- Student - Class in src.model
-
The Class inherited from the Superclass
MovieGoer
that handles the data of Student - Student - Enum constant in enum class MovieGoerAge
-
Student age group
- Student(String, String, String, String, String, String) - Constructor for class Student
-
Constructor for Student class
T
- ThreeD - Enum constant in enum class MovieType
-
3D movie
- ThreeDMovie - Class in src.model
-
The Class inherited from the Superclass
Movie
that handles the data of Three D Movie - ThreeDMovie(String, String, MovieAgeRating, MovieShowingStatus, ArrayList<String>, String, String, double) - Constructor for class ThreeDMovie
-
Constructor for ThreeD movie
- totalNumOfSeats - Static variable in class Database
-
Total number of seats for every cinema
- TypeMismatchHandler(Object, Object) - Static method in class ExceptionHandler
-
Handler to handle potential situation of type mismatch.
U
- UIHandler - Class in src.handler
-
Generic helper functions for handling UI experience
- UIHandler() - Constructor for class UIHandler
-
Constructor
- updateExistingMovieDetails(Movie, int) - Static method in class CinemaStaffManager
-
Method to update the details for existing movies in the database
- updateMovieSchedule(String, ArrayList<String>, ArrayList<DateTime>) - Static method in class MovieScheduleManager
-
Method to update a
MovieSchedule
- updateMovieTicketSold(Movie, int) - Static method in class MovieManager
-
Method to update tickets sold of a movie.
- UserManager - Class in src.controller
-
Controller class for handling all the logic related to all users
- UserManager() - Constructor for class UserManager
-
Constructor
V
- validateBooking(Seat, boolean) - Static method in class SeatManager
-
Helper function to verify that the act of booking/unbooking is legitimate
- valueOf(String) - Static method in enum class ModelType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class CinemaClass
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class MovieAgeRating
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class MovieGoerAge
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class MovieShowingStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class MovieType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class PaymentType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class SeatType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class ModelType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class CinemaClass
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class MovieAgeRating
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class MovieGoerAge
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class MovieShowingStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class MovieType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class PaymentType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class SeatType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- writeData(ModelType) - Static method in class Database
-
Method to write serialized data into database file
- writeToDatabase() - Static method in class Database
-
Method to save all changes to database.
All Classes and Interfaces|All Packages|Serialized Form