Develop a Domain Class Model with proper annotation on paper. Music An album has a name and a...

90.2K

Verified Solution

Question

Programming

Develop a Domain Class Model with proper annotation onpaper.

Music

An album has a name and a release date. An album has acollection of 1 or more songs. And a song may be on one album, butdoes not have to be (that is a song can exist whether it is on analbum or not). A song has a title and a length in seconds. A songis created by one artist. All artists have a name. There aredifferent kinds of artists. An artist can be an individual person.That is a person is an artist. A group is also an artist. A personhas a birth date and a favorite color. And a group has a date thatit was established. An artist can perform one or more songs.

Examples:

Lizzo is a person who is an artist. Lizzo was born on April 27,1988 and her favorite color is orange. Lizzo sings songs like Goodas Hell (2 min 38 seconds) and Truth Hurts (2 min 53seconds). Truth Hurts is on the album Cuz I Love You (2019).Good as Hell is on Coconut Oil (2016).

The Revivalists are a group that is an artist and wasestablished in 2007. The Revivalists have four studio albums: VitalSigns (2010), City of Sound (2014), Men Amongst Mountains (2015)and Take Good Care (2018). The song Wish I knew You is onthe album Men Amongst Mountains, and is 4 min 34 seconds.

Answer & Explanation Solved by verified expert
4.2 Ratings (780 Votes)
Domain Class Diagramfor the given requirement isNo of Classes 1 Album Class2 Song Class3 Artist    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students