Question: Several classes shown in Figure 2 have attributes that are really references to other classes and could be replaced with associations. A person may have

Several classes shown in Figure 2 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 Ids 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. 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. Several classes shown in Figure 2 have attributes that are really references

Person Car CarLoan Company Bank name birthdate employer ID employer2ID employer3ID personID address ownerID vehicleID ownerype model year vehicleID name name customerID accountNumber bankID interestRate CurrentBalance customerType | companyID | bankID Figure E3.12 Classes with some attributes that are references

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!