Modeliranje I Dizajn Programskih Sustava: Laboration Assignment 4
Modeliranje I Dizajn Programskih Sustava: Laboration Assignment 4
Laboration assignment 4
Students:
Ivan Bernatovi
Dario Nedi
Osijek 2015.
Assignment 4.1
Start from the conceptual design from assignment 3 and update it
according to the new specification.
Assignment 4.2
Create a complete class diagram (i.e. populate the classes with attributes
and methods. For the methods you do not need to define the parameters.
For each method write a short description, include information such as
what is it for, and who calls it).
Assignment 4.3
For the use case "buy a ticket online", and according to the class diagram,
make a sequential diagram. Be aware to use the objects and methods
defined by classes from the class diagram. Give a short description for
each activity (one sentence).
Assignment 4.4
For the use case "display top 5 watched movies", and according to the
class diagram, make a sequential diagram. Be aware to use the objects
and methods defined by classes from the class diagram
Assignment 4.1
Assignment 4.2
USER class
Methods:
login() checks for user informations and enables login into system. It's called by:
actor User
CUSTOMER class
Methods:
Methods:
ADMINISTRATOR class
Methods:
Methods:
PROJECTION class
Methods:
CASHIER class
Methods:
Assignment 4.3
Methods:
web site.
reserveSeat()
projection.
payTicket() Actor Customer sends request for buying ticket.
makeTicket() System fills ticket with informations and prepares it
for printing.
printTicket() System request ticket printing from cashier.
Asignment 4.4
System
reservers
chosen
seats
for
specific