Design of Shopping Mall Management System
Course Project Report: CS686 – Object Oriented Systems
Under Guidance of
Prof. R. K. Joshi.
In this project, we will be designing a simple shopping mall using object oriented technology. The mall will provide a soothing shopping experience for customers, while at the same time allowing us to explore design patterns and other features object oriented technology.
The system will allow more than one shop owner to set up different shops, to sell various products under one roof i.e. mall. The concept, at its very basic, provides for an environment that allows the following: • Shop Owner:
Any person wishing to setup shop in the mall can send a proposal to the mall owner. o
The mall owner approves the proposal and confirms the deal.
Shop owners can then setup and maintain their own shop(s) in the Mall. • Customers
Customers when enter the mall have to authenticate themselves on a central server. o
After authentication, the customer is allocated a shopping cart and can enter a particular shop of his/her choice for shopping.
After entering a shop, customer can brows through the products available in the shop, can select some of them and put into the shopping cart.
Customer can anytime change the items in the cart either by adding new items or by removing gexsting items. Customer proceeds towards the payment counter. Finalize product list of items he finally wish to buy and make the final payment.
He/She then leaves the shop and can either enter another shop or leave the mall. • The prototype presented allows customers to purchase products from all the shops in the Mall.
We organize our report in the following order.
• Use Case diagram for capturing all the possible scenarios. o Mall Owner
o Shop Owner
• State Machines for different Objects
o Shopping Proposal
o Shop Setup/Contents
o Shopping Cart
• Object Identification
• Class Diagram showing relationships between different classes. • CRC for all classes.
• Sequence Diagram capturing different scenarios.
o Customer entering the mall and entering a selected shop.
o Customer buying a product at a shop.
o ShopOwner proposing for the putting a shop in the mall.
o Guestbook States.
• Various design patterns incorporated in the design.
Use Case Diagrams:
Following are the use case diagram required for the project: Mall Admin:
Adhering to the requirements, followings are the state machines for this project.
Here's a brief description of the objects we identified with respect to our project. Mall
Mall will provide a single roof for various shops. The mall performs the creation of a set of different shops, such as a book store, a shoe store, etc. The mall greets an arriving customer, performs authentication for him/her and allocates him/her the shopping cart. Mall presents the customer with a list of different stores availble and allows the customer to shop at any of stores in the mall.
Some of the things a customer can do at the mall are:
Get a list of available stores
Get a shopping cart
Enter a store /shop
name - the name of the mall
shops - a collection of stores of different types
customers - the customers currently in the mall
owner – the owner of the mall.
guestbook – a collection of comments by different customers Possible Methods:
void enter(Customer c) - customer c enters the mall
void exit(Customer c) - customer c exits the mall
ShoppingCart getShoppingCart - returns an empty...
Please join StudyMode to read the full document