Class CineplexBoundary

java.lang.Object
Boundary
CineplexBoundary
All Implemented Interfaces:
Base, BaseBoundary

public class CineplexBoundary extends Boundary implements BaseBoundary
A CineplexBoundary Object

A CineplexBoundary object contains all the methods and attributes required for interfacing of cinplexes

  • Field Details

  • Constructor Details

    • CineplexBoundary

      public CineplexBoundary()
      Default Constructor
  • Method Details

    • setManagers

      public void setManagers()
      Method to set cineplexMgr Method to set the Managers
      Specified by:
      setManagers in interface Base
    • setBoundaries

      public void setBoundaries()
      Method to set boundaries Method to set boundaries
      Specified by:
      setBoundaries in interface BaseBoundary
    • viewDetails

      public void viewDetails(String cineplexID)
      Method for printing the details of a particular cineplex
      Parameters:
      cineplexID - The ID of the cineplex to print
    • getName

      public String getName()
      Method to ask for name of the cineplex
      Returns:
      Print message asking for input from user
    • getLocation

      public String getLocation(String cineplexName)
      Method to ask for location of a particular cineplex from the user
      Parameters:
      cineplexName - Name of the cineplex
      Returns:
      Print message asking for input from user
    • searchCineplex

      public void searchCineplex()
      Method to search for a particular cineplex
    • printAllCineplexes

      public void printAllCineplexes()
      Method to print all cineplexes
    • getCineplexMenuChoice

      public int getCineplexMenuChoice()
      Method to ask for user input for accessing menu of cineplexes
      Returns:
      choice
    • cineplexOperations

      public void cineplexOperations()
      Method to display cineplex menu and ask for user input