Reference no: EM134026569
Problem
Consider the following mini case and use-case diagram
Cougars Travel Vehicle (CTV) sells new recreational vehicles and travel trailers. When new vehicles arrive at CTV, a new vehicle record is created. Included in the new vehicle record are a vehicle serial number, name, model, year, manufacturer, and base cost.
When a customer arrives at CTV, he or she works with a salesperson to negotiate a vehicle purchase. When a purchase has been agreed upon, a sales invoice is completed by the salesperson. The invoice summarizes the purchase, including full customer information, information on the trade-in vehicle (if any), the trade-in allowance, and information on the purchased vehicle. The invoice also summarizes the final negotiated price, plus any applicable taxes and license fees.
If the customer requests dealer-installed options (simply options), they are listed on the invoice as well. A customer may decide to have no options added to the vehicle or may choose to add many options. Dealer-installed options are described by an option code, description, and price. Each invoice lists just one customer. An option may be listed on no invoices, or it may be listed on many invoices.
The trade-in vehicle is described by a serial number, make, model, and year. A customer may trade in no more than three vehicle on a purchase of a new vehicle. The trade-in vehicle may be sold to another customer who later trades it in on another CTV.
The transaction concludes with a customer signature on the sales invoice. Customers are assigned a customer ID when they make their first purchase from CTV. Name, address, date of birth, age, and phone number are recorded from the customer. A person does not become a customer until he or she purchases a vehicle.
Over time, a customer may purchase at most five vehicles from CTV. Every invoice must be filled out by one salesperson. A new salesperson might not have sold any vehicle, but experienced salespeople have probably sold many vehicles. Each invoice only lists one new vehicle. If a new vehicle in inventory has not been sold, there will be no invoice for it. Once the vehicle sells, there will be just one invoice for it.
I. Draw a class diagram for the case. Get the instant assignment help.
II. In the use-case diagram above, we may find a use case Create New Vehicle Record. Draw a sequence diagram for the use case.
III. In the use-case diagram above, we may find a use case Create Sales Transaction Record. Draw a sequence diagram for the use case.