Draw a class diagram to represent the following information. The diagram must use visibility symbols for both states and methods and use multiplicity. A library wishes to update its computer system...


Need Urgent


Draw a class diagram to represent the following information. The diagram must use visibility<br>symbols for both states and methods and use multiplicity.<br>A library wishes to update its computer system and needs to store the following details:<br>• Borrower: idNo, name, address, date of birth, status (adult or child), no of books allowed, no of<br>books borrowed.<br>• Librarian: idNo, name, address, date of birth, job title, salary, email address.<br>• Book: bookNo, title, main author, category, total number of copies in the library.<br>• Loan: date borrowed, date due, date returned, fine.<br>An adult borrower can borrow up to 8 books at one time, whilst a child can borow up to 5 books.<br>The no of books allowed attribute records this amount, whilst no of books borrowed records how<br>many books they have currently taken out. A borrower cannot borrow any more books when they<br>reach their limit. A fee is charged if they return the book later than the date due. The system needs<br>to be able to register new borrowers and to add new books to the catalogue.<br>по<br>

Extracted text: Draw a class diagram to represent the following information. The diagram must use visibility symbols for both states and methods and use multiplicity. A library wishes to update its computer system and needs to store the following details: • Borrower: idNo, name, address, date of birth, status (adult or child), no of books allowed, no of books borrowed. • Librarian: idNo, name, address, date of birth, job title, salary, email address. • Book: bookNo, title, main author, category, total number of copies in the library. • Loan: date borrowed, date due, date returned, fine. An adult borrower can borrow up to 8 books at one time, whilst a child can borow up to 5 books. The no of books allowed attribute records this amount, whilst no of books borrowed records how many books they have currently taken out. A borrower cannot borrow any more books when they reach their limit. A fee is charged if they return the book later than the date due. The system needs to be able to register new borrowers and to add new books to the catalogue. по

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here