Library Case Study
Library Case Study
Avaya has Training dept. which controls library. Any employee who is on permanent role
can issue books. One employee can issue at most two books. There are different other
reading material available in library like magazines, research papers etc.
Following is a process to issue a book:
Every book has a barcode sticker pasted on it. Every employee has I-card on which also
barcode sticker is pasted.
Employee has to select a book and has to approach librarian. Librarian scans the barcode
of the book with barcode scanner. Then employee has to scan barcode on I-card with
barcode scanner. Librarian has to ensure book details, employee details and finalize the
issue transaction of the book. Librarian tells return date to an employee.
Following is the process to return the book.
Employee has to carry the book to the librarian and librarian has to initiate the return
transaction. Employee has to scan barcode sticker of I-card and book with barcode
scanner. System calculates fine by using fine calculation rules. Librarian asks for fine
amount to employee if any. Employees pay the fine. Librarian finalizes the return
transaction.
Note that, in above system, if barcode scanner does not work, librarian should be able to
enter data using keyboard. There should be provision of providing rules of fine
calculation.
Even if employee doesnt have barcode sticker on I-card, librarian should be able to input
employee id manually.
-
Practice all your learned artifacts on above case study (Use Case Diagra, Use
Case, SSD, Domain Model, Operation Contracts)