Class ShowBoundary
java.lang.Object
Boundary
ShowBoundary
- All Implemented Interfaces:
Base,BaseBoundary
A Show boundary object
A ShowBoundary object used to process all
Show input and output
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) ShowManagerto contain show manager object to process all show related objects -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddShow()Method to add a show for userintMethod to display menu and get user choicevoidprintShowDates(String cineplexID, String movieID) Method to print show datesvoidprintShowTimes(String cineplexID, String movieID, String showDate) Method to print show timesvoidMethod to set boundariesvoidMethod to set the ManagersMethod to set new movie from userMethod to set new show time from uservoidMethod to perform operations based on user menu choicevoidShowSeatLayout(String showID) Method to show seat layoutMethods inherited from class Boundary
getCentralManager, getInputDouble, getInputInt, getInputLine, getMasterList, getScanner, print, println, setCentralManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Base
getCentralManager, setCentralManager
-
Field Details
-
showManager
ShowManager showManagerto contain show manager object to process all show related objects
-
-
Constructor Details
-
ShowBoundary
public ShowBoundary()
-
-
Method Details
-
setManagers
public void setManagers()Method to set the Managers- Specified by:
setManagersin interfaceBase
-
setBoundaries
public void setBoundaries()Method to set boundaries- Specified by:
setBoundariesin interfaceBaseBoundary
-
addShow
public void addShow()Method to add a show for user -
setNewMovieName
Method to set new movie from user- Returns:
- The movie name
-
setNewShowTime
Method to set new show time from user- Returns:
- The show time
-
showOperations
public void showOperations()Method to perform operations based on user menu choice -
getShowMenuChoice
public int getShowMenuChoice()Method to display menu and get user choice- Returns:
- The user choice
-
printShowDates
Method to print show dates- Parameters:
cineplexID- The cineplexIDmovieID- The movieID
-
printShowTimes
Method to print show times- Parameters:
cineplexID- The cineplexIDmovieID- The movieIDshowDate- The show date
-
ShowSeatLayout
Method to show seat layout- Parameters:
showID- The showID
-