Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Based on the described Public Library System (PLS), draw a UML Diagram that represents: il the state-based model for a book object (based on the
Based on the described Public Library System (PLS), draw a UML Diagram that represents: il the state-based model for a book object (based on the lifecycle of the book in PLS). ii. the flow-based model (the algorithmic viewpoint) for the renewLoan() function. Public Library System (PLS) Public Library System (PLS) is a software system that supports the book cataloguing and borrow management for a community-based public library. Each time a new book is received, the book is registered and given a unique call number. Library users may use PLS to search for a book. If the book is available, users may get it from the shelf based on the call number. To borrow the book, users must bring the book to the counter to process the borrow record. However, if the book is currently borrowed by other library users, the system will give an option to place a booking for the book. Apart from searching and booking, PLS also allows users to renew the book using their web-based system. Users must select the book to be renewed. If the status of the book is booked', the current borrower shouldn't be allowed to renew his/her loan and he/she must return the book to the library. In addition, library users are not allowed to renew the book if the book is overdue although the book is not booked by other library users. Based on the described Public Library System (PLS), draw a UML Diagram that represents: il the state-based model for a book object (based on the lifecycle of the book in PLS). ii. the flow-based model (the algorithmic viewpoint) for the renewLoan() function. Public Library System (PLS) Public Library System (PLS) is a software system that supports the book cataloguing and borrow management for a community-based public library. Each time a new book is received, the book is registered and given a unique call number. Library users may use PLS to search for a book. If the book is available, users may get it from the shelf based on the call number. To borrow the book, users must bring the book to the counter to process the borrow record. However, if the book is currently borrowed by other library users, the system will give an option to place a booking for the book. Apart from searching and booking, PLS also allows users to renew the book using their web-based system. Users must select the book to be renewed. If the status of the book is booked', the current borrower shouldn't be allowed to renew his/her loan and he/she must return the book to the library. In addition, library users are not allowed to renew the book if the book is overdue although the book is not booked by other library users
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started