Question: CS 328 Object Oriented Design in UML homework Assignment #1 Due on 02/14 1. Question 3.25 in textbook page 57. Several classes shown in Figure
CS 328 Object Oriented Design in UML homework Assignment #1 Due on 02/14 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 D of the person, company, or bank who owns the car A car loan may be involved in the purchase of a car Company Bank name companylD bankiD vehiclelD birthdate employer1IDownerType vehiclelD bankID interestRate personiD 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
