Hello Everyone!
Here is an example of an Sequence Diagram for Library Management System.
Problem Statement -
Following scenarios are identified -
1) Librarian issues a book to a member. (Whenever a member asks for a book the librarian checks the availability of the book. If the book is available then the rack number of that book will be returned to the librarian. Librarian then checks the validity of member by verifying library card. If member is valid and the number of books issued to him is less then maximum allowed book is issued to him and transaction is created. Librarian then updates the number of books issued to that member and status of book.)
2) Member returns the book. (Whenever member wants to return the book, librarian first checks the validity of member. If member is valid then due date of book is obtained from transaction details. Based upon this information fine is calculated, bill will be created and informed to the member. On receiving fine from member, librarian updates the number of books issued to member and status of book.)
Sequence Diagram for scenario 1 -
Sequence Diagram for scenario 2 -
Check out other UML (Unified Modeling Language) Diagrams -
Comments
Post a Comment