You are on page 1of 10

UML REPRESENTATION OF

ONLINE BOOKSHOP SYSTEM

CLASS DIAGRAM

Online Bookshop name website location deliverbooks() offerdiscounts()

Server ipaddress configuration

maintainbooksinfo() storecustomerdetails() 1 receiveappinfo() checkcreditvalidation() 1

Application detailsofcustomer applicationno typeofpayment numberofcopies bookname * getinformation()

Books name author price editionno display() read() modify()

Customer name address phoneno buybooks() readbooks() *

Bank Agent name accountno validatecreditcard() sendinfotoserver()

OBJECT DIAGRAM

Name:ABC Book stall o:onlinebookshop website:abcbooks@online. com location:Banglore

s:server

b:bankagent

Ipaddress:13.12.1.12.343 configuration:Intel b1:books

Name:Harish AcNo:30121014 201

c:customer

Name: Introduction to UML Author:Graham Gooch

a:application

Name:Satish Address:Narasaraopet PhNo:9965321457

Price:250.00 Edition NO:6

Details:Sai from NRT ApplicationNo:12445

COMPONENT DIAGRAM

deliver books to the destination

onlinebook shop.exe

books.ex e

contains the list of books that are for sale

buy books or read books

customer .exe

server.exe

contains the database of all books and transactions

bankagen t.exe

checks whether the credit card is valid or not

DEPLOYMENT DIAGRAM

<<Device>> Terminal Deliver books <<Processor>> Online Book Shop Buy books

<<Processor>> Customer <<Device>> Raid

<<Processor>> Server

<<Device>> Client Terminal Maintains list of transactions

USECASE DIAGRAM

<<include>> <<include>> login password <<include>> Customer catalog list of books id

select book <<include>>

order book

<<include>> fill application

credit card/debit card no.

Bank Agent

validate bill

pay bill

Online Bookshop

deliver books

SEQUENCE DIAGRAM

c.customer

o.onlinebooksh op

b.bankagent

s.server

b1.books

a.application form

enter website login catalog generate list of books select books order books generate application form fill details submit

get credit card no validate credit card pay bill

receive book details deliver book

COLLABORATION DIAGRAM

c.customer 14: deliver book

o.onlinebookshop

b.bankagent

8: fill details 1: enter website 5: select books 2: login 3: catalog 6: order books 9: submit 13: receive book details 4: generate list of books 7: generate application form 11: validate credit card 12: pay bill

10: get credit card no

a.application form

b1.books

s.server

ACTIVITY DIAGRAM

Browse the site

Search for Catalog

Select book

Fill Order Form

Enter Creditcard Number

Valid submit OrderForm Invalid Deliver Books

STATECHART DIAGRAM

idle

login active

search list of books

select book

order book logout fill application credit card invalid credit card/debit card no

creditcard valid submit