1. Consider the following set of requirements and draw a Class Diagram for the following scenario that relates to a library. Make sure to show attributes, multiplicities and aggregations/compositions, where appropriate. A library lends different types of resources such as books, videos, and DVDs to its members. All library resources are identified by an id and a title. In addition, books have one or more authors, videos have one producer and one or more actors, while DVDs have one or more entertainers. The library maintains one or more copies of each library item that can be issued to users. Reference material is loaned for 2hrs and can’t be loaned for home. Other resources can be loaned for maximum 3 weeks. While lending these resources, the staff records the member details (name, address, email and phone number), the issue date and time, and the due date and time.
1. Consider the following set of requirements and draw a Class Diagram for the following scenario that relates to a library. Make sure to show attributes, multiplicities and aggregations/compositions, where appropriate.
A library lends different types of resources such as books, videos, and DVDs to its members. All library resources are identified by an id and a title. In addition, books have one or more authors, videos have one producer and one or more actors, while DVDs have one or more entertainers. The library maintains one or more copies of each library item that can be issued to users. Reference material is loaned for 2hrs and can’t be loaned for home. Other resources can be loaned for maximum 3 weeks. While lending these resources, the staff records the member details (name, address, email and phone number), the issue date and time, and the due date and time.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images