Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Question 3.25 in textbook page 57. Several classes shown in Figure E3.12 have attributes that are really references to other classes and could be

image text in transcribed
1. Question 3.25 in textbook page 57. Several classes shown in Figure E3.12 have attributes that are really references to other classes and could be replaced with associations. A person may have up to three companies as employers. Each person has an ID. A car is assigned an ID. Cars may be owned by persons, companies, or banks. Owner ID refers to the ID of the person, company, or bank who owns the car. A car loan may be involved in the purchase of a car. Person Car CarLoan Company Bank ownerid birthdate vehicleID customerType companyID bankID employer1ID ownerType customerid employer21D model account Number employer3ID year bankID personlD interestRate currentBalance name vehicleID name name address Figure E3.12 Classes with some attributes that are references Burying object references as references is the incorrect way to construct a model. Prepare a class diagram without IDs and using association and generalization. Try to assign multiplicities. You may need to add one or more classes of your own. Note: 1. Must use correct UML notation. 2. Must typed in word file

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions