Sequence Diagram Online Shopping Cancel Order

Unified Modelling Language Practicals. This Subject is called as UML in Mumbai University MCA Colleges. Below is the case study of it for the construction of different UML diagrams 

In This Section we are going to solve some questions of UML which were asked in University Exams.

UML Question in Exams:-
Q.

  • The telephone agent uses an order registry and customer catalog to obtain access to an order & a customer respectively. 
  • The order registry uses an order number as a qualifier to select particular order instance. A customer catalog uses customer name and phone number as a qualifier to select particular customer. 
  • The attributes of an order are the order numbers and time when it is placed. The order consists of many items.
  • An item has item_number, a quantity, unit price. It also has reference to catalog item which represents listing.
  • When an order is cancelled or committed, it cancels or commits each of its items first. 
  • When an order’s total price method is invoked, the order calls the total price method of each of items and returns the sum.
  • The telephone agent wants to cancel the item with item number as I101 from order having order number O123.

Show the messages in sequence diagram for cancellation of item.


Sequence diagram for cancellation of Item in Online Shopping:-

UML Sequence Diagram for Online Shopping Cancel Order



Keep on Following this Site for More Notes, Programs and notes for Students. 
Just search the site for More of Programs and Notes for MCA

No comments:

Post a Comment