0% found this document useful (0 votes)
56 views9 pages

Modeliranje I Dizajn Programskih Sustava: Laboration Assignment 4

This document contains assignments for a programming systems modeling and design course. It provides an updated specification for improving an online movie ticket selling system to include a returning customer program. It outlines 4 assignments - to update the conceptual design, create a class diagram, and make sequence diagrams for the use cases of buying a ticket online and displaying the top 5 anticipated movies. The document also includes class descriptions for the class diagram.

Uploaded by

Dario Nedić
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views9 pages

Modeliranje I Dizajn Programskih Sustava: Laboration Assignment 4

This document contains assignments for a programming systems modeling and design course. It provides an updated specification for improving an online movie ticket selling system to include a returning customer program. It outlines 4 assignments - to update the conceptual design, create a class diagram, and make sequence diagrams for the use cases of buying a ticket online and displaying the top 5 anticipated movies. The document also includes class descriptions for the class diagram.

Uploaded by

Dario Nedić
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

MODELIRANJE I DIZAJN PROGRAMSKIH SUSTAVA

Laboration assignment 4

Students:
Ivan Bernatovi
Dario Nedi

Osijek 2015.

Old text from the Assignment 3:


The Movie Theatre has decided to improve the online ticket selling system
by introducing the Returning Customer Program. The returning customers
should have the same possibilities as the ordinary customers, for example
searching for the movie to watch, choosing the date, time and the type of
the projection, making seat reservations, and creating the wish list for the
upcoming movie titles. In addition the shop has decided to record
information of the registered users: which seats they chose, projection
details (movie title, date, time and type) and which movies they put on
the wish list, also, they are given points for each ticket they purchased. In
order to join the Returning Customer Program, a customer must register,
and he/she can see for which movies he/she bought the tickets before,
and how many points they received and the movies on his/her wish list.
The Movie Theatre has also introduced new features, they show top 5
anticipated (most votes in the wish lists) movie titles for the upcoming
month.
The Movie Theatre consists of the web-based ticket sales system and a
cashier system, which receives ticket reservations from the software
system and then provides them to the customers upon their arrival after a
positive identification (via their ID/Movie card). Whatever assumptions
and decisions you have made in Assignment 2 are also valid now.
Additional text:
The employed people can login as administrators and can update the
databases with the new movies, remove movies from the program or
update/add the projection information (date, time and type).

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:

registerForReturningCustomer() enables Customer to register for


special Returning Customer program. Its called by: actor Customer
buyticket() Initiates use case Buy ticket. Enables customer to pick time and
date, reserve seats via web system. It's called by: actor Customer
searchMovies() enables customer to search for movies. It's called by: actor
Customer
showWishlist() shows customer's wishlist with movies. It's called by: actor
Customer
addToWishlist() enables customer to add movies to his wishlist. Its
called by:actor Customer

showTop5Movies() initiates the use case Display top 5 movies.


Shows the top 5 movies as compared to users wishlists. Its called
by: actor Customer

RETURNING CUSTOMER class

Methods:

checkMovieHistory() enables user to see his all previous watched


movies.Its called by: actor Returning Customer
addToMovieHistory() enables update of returning customers
watchlist. Its called by: class object MT Web site
showBonusPoints() - shows bonus points for returning customer. Its
called by: actor Returning Customer

ADMINISTRATOR class

Methods:

addProjection() enables administrator to add new projections to MT


web site. Its called by: actor Administrator
removeProjection() - enables administrator to remove projections
from MT web site. Its called by: actor Administrator
updateProjection() - enables administrator to update projections
from MT web site. Its called by: actor Administrator

addMovieToDatabase() - enables administrator to add new movies to


MT web site. Its called by: actor Administrator

MOVIE THEATER WEB SITE class

Methods:

makeTicket() creates ticket for projections and fills it with


informations. Its called by: class object MT web site
createProjection() enables administrator to add new projections.
Its called by: actor Administrator,class object MT web site
removeProjection() - enables administrator to remove projections.
Its called by: actor Administrator,class object MT web site
getAndSortTop5Movies() system gets wishlists from all users,sorts
them and shows them. Its called by: class object MT web site

PROJECTION class

Methods:

reserveSeat() enables system to reserve seats chosen by


customer. Its called by: class object MT web site

CASHIER class

Methods:

printTicket() enables system to print ticket for specific


projection. Its called by: object class MT web site

Assignment 4.3

Methods:

login () Actor Customer requests login into system.


searchMovies() Actor customer searchs for movies on web site.
pickProjection() Actor customer requests specific projection from

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

You might also like