Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Draw a class diagram for an order processing system. An order consists of a number of order items. Each order item has the attributes of

Draw a class diagram for an order processing system. An order consists of a number of order items.
Each order item has the attributes of product id, quantity, unit price and subtotal for the order. An
order will be shipped to the customers address. Each customer address is composed of three lines
of string. The order may be paid by a cheque or a credit card. A cheque is identified by its cheque
number. A credit card payment can only be processed if we know the card type (Visa, MasterCard,
etc.), card number, card holders name, card identification number and expiry date. The class
diagram should show appropriate data attributes including but not limited to the ones mentioned in
the question. You are not required to specify the data types for the attributes. You dont need to
show the operations of the classes in the diagram. The diagram should contain an inheritance
relationship and a whole-part relationship. Also specify appropriate multiplicities on the
associations.

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

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

More Books

Students also viewed these Databases questions