• 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 borrow 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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Need Urgent

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.
по
Transcribed Image 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. по
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Threats
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education