Package moblima.entities
Class Cinema
java.lang.Object
moblima.entities.Cinema
The type Cinema.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets cineplex code.Gets class type.intgetId()Gets id.Gets showtimes.voidsetCineplexCode(String cineplexCode) Sets cineplex code.voidsetClassType(Cinema.ClassType classType) Sets class type.voidsetId(int id) Sets id.voidsetShowtimes(List<Showtime> showtimes) Sets showtimes.toString()
-
Constructor Details
-
Cinema
Instantiates a new Cinema.- Parameters:
id- the idclassType- the class typeshowtimes- the showtimescineplexCode- the cineplex code
-
Cinema
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
Gets class type.- Returns:
- the class type
-
setClassType
Sets class type.- Parameters:
classType- the class type
-
getShowtimes
Gets showtimes.- Returns:
- the showtimes
-
setShowtimes
Sets showtimes.- Parameters:
showtimes- the showtimes
-
getCineplexCode
Gets cineplex code.- Returns:
- the cineplex code
-
setCineplexCode
Sets cineplex code.- Parameters:
cineplexCode- the cineplex code
-
toString
-