Question: Implementing a UML class diagram for a semi-complex system to be later implemented in Java: Every library has users and books, and an address. There

Implementing a UML class diagram for a semi-complex system to be later implemented in Java:

Every library has users and books, and an address. There are three types of people, those who are users of a library, those who author books which are kept by libraries, and those who dont like books and dont go to library. Books can be textbooks or fiction. Every book has a title, and is authored. Some books may have been authored by more than one person. Every person lives at some address. Users and authors must use the right transportation to get to the library. So they need a procedure that uses the library address, and says Walk (if their distance to the library is less than 1 mile), it says Drive (if distance is between 1 and 100 miles), or it says Fly (if distance is more than 100 miles). Since non-users dont like books and dont go to a library, they dont need that. For every text book there is a list of university names where it gets taught. Although all books should get somehow advertised, but the advertising for textbooks is different from the way it is done for fictions. Advertising procedure for textbooks uses the university names and sends email to every university name to announce availability of the book title and its author. The advertising for fictions uses an allocated amount of money and sends add-buying requests buy ads from Amazon and Google with the title and author name of the new book, and the desired ad amount (fund).

Please implement a UML class diagram for the following problem domain and include the class relationships such as inheritance, appropriately identify abstract methods and classes, and distinguish them.

--Getter and setter methods are not required if you do not want to overcrowd the diagrams.

-You can assume there is a function available that can calculate and return the distance between two addresses or between a GPS location and an address.

- Indicate abstract methods, classes by writing the word abstract before them.

this is what i have as an example for library: (let me know if there is more I can show, i'm just a little lost as to how they all piece together)

Library

-memberList:ArrayList

-bookList: ArrayList

-address: String

//Getters and setters

+library()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!