Ooad Ass2
Ooad Ass2
Each order has current order status. Both order and shopping
cart have line items linked to a specific product. Each line item is
related to exactly one product. A product could be associated to many
line items or no item at all.
Conclusion: -
I conclude that the class diagram is a very useful for
understanding the relationship between the classes and an easy way to
find mistakes.
We model the objects that make up the system to display the
relationship between the objects, and to describe what those objects do
and the services that they provide.