Вы находитесь на странице: 1из 7

Use-Case diagram (Library)

Login

Issue Book <<include>> Bar code reader Return B ook Check Availability

<<extend>> Manage Books <<Uses>> <<Uses>> Calculate Fine

Add new book Librarian

Delet e Discarded book

Generate Report

Query book

Student

Maintain Login Administrator UG PG

Class diagram (Library)

Book_details Book_id Book_name Book_author Book_publisher Copies_in_library Copies_available Add_book() Update_book() Delete_book()

Login_details ID Password Role Add() Update() Delete()

Issued_book_details Date_of_issue Expected_date_of_return Return_date * Issue() Return() 1

Student_details Student_id Student_rollno Student_name Student_course No_of_books_issued Add_student() Update_student() Delete_student()

Sequence Diagram (Book_Issue)

User Interface : student Enter details

Issue_book

Search book

Chec k Availability

Book_details

Pass Param eters Call Search proc ess S earch in datatabase Return value Book found Call Check Availability process Check in database

Return value Make entry in database Return a value Book Issued

Collaboration diagram (Book Issue)

2 : P a s s P a ra m e te r s 1 : E n te r d e t a ilsU s e r In t e rfa c e 1 3 : B o o k Is s u e d Is s u e _ b o ok

3 : C a ll S e a rc h p ro c e s s S e a rc h book

6 : B o o k fo u n d

: s tud ent 1 1 : M a k e e n t ry in d a t a b a s e 5 : R e t u rn va lu e 7 : C a ll C h e c k A va ila b ility p ro c e1s2s: R e tu r n a va lu e 4 : S e a rc h in d a t a t a b a s e 1 0 : R e tu rn va lu e

8 : C h e c k in d a t a b a s e Check A va ila b ilit y 9: B ook _de t a i ls

Activity diagram ( ATM )

# Decision-box used for branching & merging Horizontal Synchronization used for forking & joining (concurrent process)

State-Chart Diagram (ATM)

Deployment Diagram (ATM)

Component diagrams

Вам также может понравиться