Reference no: EM132154659
UML diagram:
You have been contracted to develop a computer system for a university library.
The library holds many types of documents for its users which are students, faculty, and staffs of the university. Some of those documents are books, journals, and conference proceedings.
Documents such as journals are for short-term loan only (i.e 10 working days). Other documents such as books may be borrowed for up to six months for a student and a year for a faculty or a staff member.
The maximum items that a faculty or staff member can borrow are 12 while it is only 6 for students. It is essential that the system keep track of the number of copies of books when books are borrowed and returned. The system should produce a reminder when a book borrowed by a user is overdue.
A user should be able to extend the loan if the borrowed item is a book and others have not reserved it. The system should allow users to search for a document based on a particular title, by a particular author or by certain keywords. Any user can search for documents hold in the library. To be able to borrow documents from the library, the user must be registered.
Draw a class diagram representing all objects that the library system should manage based on the above description.
For each type of document that the library manages, the system must be able to record authors in the appropriate order (if there is more than one author), title of document, date of publication, and publisher. Different type of documents has different properties.
For example, a journal can contain a list of articles. Each article must record a first page and last page of the paper.
A published journal must have a volume and a number while a published book must have an ISBN number.
A conference proceeding can be considered as a type of book with additional properties like conference location and conference date. Conference proceeding consists of a list of conference papers, which are also known as articles.