Plot a UML diagram for the following application. A chain of community libraries run book loan services. A book can be borrowed from a library of the chain and returned to another library. A book has an ISBN number, a title, some authors, and a year of publication. Books have a loan period limit which is determined by how frequent the books have been borrowed. Books may have multiple copies and each copy has an item number. When all copies are loaned out, a customer must wait for a copy to be returned. A special type of books belonging to the category of Adult Books cannot be loaned to child customers. The customers of the libraries have an id, a name, a telephone, an email, an address, and some credit points. A customer gets a credit of 10 points when he/she joins the libraries. If a book is returned late, one point is deducted from the credit of the customer for every 10 days of lateness. When the credit of a customer becomes 0, he/she will
not be able to borrow any book until a new year comes. At the beginning of a new year, a customer gets 2 points added to his/her credit if the total number of credit points does not exceed 10. When a book is borrowed by a customer, the date and the library of the loan, the date and the library of the return, and the deducted credits are recorded.
Get Answers For Free
Most questions answered within 1 hours.