Class Cinema

java.lang.Object
moblima.entities.Cinema

public class Cinema extends Object
The type Cinema.
  • Constructor Details

    • Cinema

      public Cinema(int id, Cinema.ClassType classType, List<Showtime> showtimes, String cineplexCode)
      Instantiates a new Cinema.
      Parameters:
      id - the id
      classType - the class type
      showtimes - the showtimes
      cineplexCode - the cineplex code
    • Cinema

      public Cinema(Cinema cloneCinema)
      Instantiates a new Cinema.
      Parameters:
      cloneCinema - the clone cinema
  • Method Details

    • getId

      public int getId()
      Gets id.
      Returns:
      the id
    • setId

      public void setId(int id)
      Sets id.
      Parameters:
      id - the id
    • getClassType

      public Cinema.ClassType getClassType()
      Gets class type.
      Returns:
      the class type
    • setClassType

      public void setClassType(Cinema.ClassType classType)
      Sets class type.
      Parameters:
      classType - the class type
    • getShowtimes

      public List<Showtime> getShowtimes()
      Gets showtimes.
      Returns:
      the showtimes
    • setShowtimes

      public void setShowtimes(List<Showtime> showtimes)
      Sets showtimes.
      Parameters:
      showtimes - the showtimes
    • getCineplexCode

      public String getCineplexCode()
      Gets cineplex code.
      Returns:
      the cineplex code
    • setCineplexCode

      public void setCineplexCode(String cineplexCode)
      Sets cineplex code.
      Parameters:
      cineplexCode - the cineplex code
    • toString

      public String toString()
      Overrides:
      toString in class Object