uml diagram case study · 2019-02-14 · use case diagram •following is a sample use case diagram...
TRANSCRIPT
![Page 1: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/1.jpg)
UML diagramcase study
Wijak Srisujjalertwaja
204362 Object-oriented Analysis and Design
https://www.tutorialspoint.com/uml
![Page 2: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/2.jpg)
Outline
• UML diagramsBusiness process model
• Use case diagram
• Interaction diagram
• Sequence diagram
• Collaboration diagram
• Activity diagram
![Page 3: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/3.jpg)
UML diagrams• A quick look at the 2 main types of UML diagrams
https://www.business2community.com/tech-gadgets/uml-tutorial-how-to-model-any-process-or-structure-in-your-business-02134704
![Page 4: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/4.jpg)
Business process model and notation (BPMN)• Activities are elements used to symbolize
work which is performed within a business process.
• Activities can be simple single tasks – or they may be compound tasks – so called sub-processes.
http://mapit.biz/business-process-modeling-factsheet/
![Page 5: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/5.jpg)
Business process model and notation (BPMN)
https://docplayer.net/12252977-Bpmn-vs-uml-activity-diagram-for-business-process-modeling.html
![Page 6: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/6.jpg)
BPMN & UML activity diagram
https://creately.com/blog/diagrams/business-process-modeling-techniques/
![Page 7: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/7.jpg)
https://www.researchgate.net/publication/225686020_Consistency_Between_e3-value_Models_and_Activity_Diagrams_in_a_Multi-perspective_Development_Method/figures?lo=1&utm_source=google&utm_medium=organic
BPMN & UML activity diagram
![Page 8: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/8.jpg)
Use case diagram
• the purposes of use case diagrams can be said to be as follows −
• Used to gather the requirements of a system.
• Used to get an outside view of a system.
• Identify the external and internal factors influencing the system.
• Show the interaction among the requirements are actors.
![Page 9: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/9.jpg)
Use case diagram
• we should have the following items identified.
• Functionalities to be represented as use case
• Actors
• Relationships among the use cases and actors.
![Page 10: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/10.jpg)
Use case diagram
• Following is a sample use case diagram representing the order management system.
• Hence, if we look into the diagram then we will find three use cases (Order, SpecialOrder, and NormalOrder) and one actor which is the customer.
![Page 11: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/11.jpg)
![Page 12: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/12.jpg)
Interaction diagram
• This interactive behaviour is represented in UML by two diagrams known as
• Sequence diagram
• Collaboration diagram
• The basic purpose of both the diagrams are similar.
• Sequence diagram emphasizes on time sequence of messages and
• collaboration diagram emphasizes on the structural organization of the objects that send and receive messages.
![Page 13: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/13.jpg)
Interaction diagram
• The purpose of interaction diagram is −
• To capture the dynamic behaviour of a system.
• To describe the message flow in the system.
• To describe the structural organization of the objects.
• To describe the interaction among objects.
![Page 14: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/14.jpg)
Interaction diagram
• Following things are to be identified clearly before drawing the interaction diagram
• Objects taking part in the interaction.
• Message flows among the objects.
• The sequence in which the messages are flowing.
• Object organization.
![Page 15: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/15.jpg)
Sequence diagram
• The sequence diagram has four objects (Customer, Order, SpecialOrder and NormalOrder).
• The following diagram shows the message sequence for SpecialOrder object and the same can be used in case of NormalOrder object.
• It is important to understand the time sequence of message flows.
• The message flow is nothing but a method call of an object.
![Page 16: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/16.jpg)
Sequence diagram
![Page 17: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/17.jpg)
Collaboration diagram
• It shows the object organization as seen in the following diagram.
• In the collaboration diagram, the method call sequence is indicated by some numbering technique.
![Page 18: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/18.jpg)
Collaboration diagram
![Page 19: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/19.jpg)
Activity diagram
• The purpose of an activity diagram can be described as −
• Draw the activity flow of a system.
• Describe the sequence from one activity to another.
• Describe the parallel, branched and concurrent flow of the system.
• Before drawing an activity diagram, we should identify the following elements −
• Activities
• Association
• Conditions
• Constraints
![Page 20: UML diagram case study · 2019-02-14 · Use case diagram •Following is a sample use case diagram representing the order management system. •Hence, if we look into the diagram](https://reader030.vdocuments.us/reader030/viewer/2022033123/5e7892c44d54554be5142fa3/html5/thumbnails/20.jpg)
Activity diagram
• Following diagram is drawn with the four main activities −
• Send order by the customer
• Receipt of the order
• Confirm the order
• Dispatch the order