This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Service Job (when a car is serviced). Add relevant attributes to the new class objects and establish relationships among the class objects. Make assumptions where necessary. Answers will vary. One solution is shown below.-Lastname : String-Firstname : String-Telephone : String Employee-Certification : String-HrlyWage : Decimal Mechanic-BaseSalary : Decimal-CommisionRate : Double Salesperson is a is a-Make : String-Model : String-Engine : String-Price : Decimal Car 1 0..* sells-FirstPurchDate : Date Customer-Lastname : String-Firstname : String-Telephone : String Prospective Customer-SaleDate-SalePrice Car Sale-ServiceDate-WorkDescription Service Job 0..1 1 sold as is a 0..1 0..* purchases 1 0..* performed on 1..* 0..* works on...
View Full Document
- Spring '12