Home /
Expert Answers /
Computer Science /
based-on-a-python-class-diagram-create-a-uml-diagram-from-the-following-info-case-study-a-local-t-pa238
(Solved): based on a python class diagram, create a UML diagram from the following info: Case Study A local t ...
based on a python class diagram, create a UML diagram from the following info:
Case Study A local theatre requires an online booking system. Prior to development, a UML class diagram is necessary to correctly implement a system. Requirements - A theatre has a name, location and contact phone number. - A theatre allows booking tickets through a method called 'bookTickets()'. - A theatre allows acquiring tickets through a method called 'getTickets()'. - A theatre shows zero to many performance sessions (performance should not be shown). - A session has a name, date, and time. - A session allows showing actors appearing in the session through the method 'viewActors()'. - A session shows the name of the director through the method 'viewDirector()'. - A session shows the composer through the method 'viewComposer()'. - A theatre holds bookings. - Each booking has an ID, customer name, customer address and customer phone number. - Each booking contains at least one or multiple tickets. - Each ticket has a seat. - The booking is affiliated with a session. Hints - Identify all classes are including their attributes and methods. - Specify all data types. - Associations must have a reading direction, multiplicities (cardinalities) and a label. - Attributes do not need their visibility indicated. (+ Public, - Private, \# Protected) - Method parameters or return data types not required.