Activity Diagram.

Slides:



Advertisements
Similar presentations
Object-Oriented Analysis and Design: Activity Diagrams
Advertisements

© 2005 by Prentice Hall Appendix 3 Object-Oriented Analysis and Design Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
Activity Diagrams in UML. Definition Activity diagrams represent the dynamics of the system. They are flow charts that are used to show the workflow of.
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 1 Appendix 3 Object-Oriented Analysis and Design.
1 Introduction to modeling Process modelling. 2 Where are we? #TitleDate 1Introduction ORM modeling Relational modeling
Information System Design IT60105
7M701 1 Activity Diagram. 7M701 2 Example 7M701 3 Activity Diagram: what is it? Describes activities and flows of data or decisions between activities.
UML Activity Diagrams In UML an activity diagram is used to display the sequence of actions They show the workflow from start to finish Detail the many.
SE 555 Software Requirements & Specification 1 Activity Diagrams.
Ch5: Software Specification. 1 Dynamic modeling using UML  Static models:  Dynamic models:
L06-2-S1 Activity Diagrams 2003 SJSU -- CmpE Software Engineering II Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
7M822 UML Activity Diagrams 6 October 2008.
1 © Wolfgang Pelz UML2 UML Part 3. 2 © Wolfgang Pelz UML2 Chapter Ten State Machine Diagrams.
03/12/2001 © Bennett, McRobb and Farmer Activity Diagrams Based on Chapter 5 of Bennett, McRobb and Farmer: Object Oriented Systems Analysis and.
Activity Diagrams. What is Activity Diagrams?  Activity diagrams are a technique to describe procedural logic, business process, and work flow.  An.
1999 – 2006 M.E. Fayad SJSU -- CmpE Software Engineering Management Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
Requirements Analysis Activity Diagrams b511.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis.
Analysis into Design. Specifying Business Rules Identifying necessary constraints in an organisation’s operations Can apply to structured or semi-structured.
Activity Diagrams Derived from several techniques: Event diagrams of Jim Odell SDL state modeling techniques Workflow modeling Petri nets Especially useful.
Modern Systems Analysis and Design Fifth Edition Jeffrey A
COMP1007 Intro to Requirements Analysis © Copyright De Montfort University 2002 All Rights Reserved COMP1007 Introduction to Requirements Analysis Lecture.
SE-565 Software System Requirements More UML Diagrams.
Karolina Muszyńska Based on: S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”
Software Engineering EKT 420. What is Activity Diagram Activity diagrams are graphical representations of workflows of stepwise activities and actions.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 8: Modelling Interactions and Behaviour.
CS 325: Software Engineering March 3, 2015 Activity Modeling for Transformational Systems Trtansformational Systems UML Activity Diagrams.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 21. Review ANALYSIS PHASE (OBJECT ORIENTED DESIGN) Functional Modeling – Use case Diagram Description.
Activity/Workflow Diagrams Chapter 7 Appendix B. © 2011 Pearson Education, Inc. Publishing as Prentice Hall Process Modeling: Activity/Workflow Diagrams.
Interaction Models (2): Sequence Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh 1.
February 20, 2012  Present Fayad KSU – SWE Process and Modeling Software Process and Modeling Dr. M.E. Fayad, Professor Software Engineering Department,
Activity diagrams. Introduction ● Activity diagrams are a behavioural model that represent the dynamics of the system. ● An activity diagram is essentially.
Information System Design IT60105
UNIFIED MODELING LANGUAGE(UML) BY Touseef Tahir Lecturer CS COMSATS Institute of Information Technology, Lahore.
Unified Modeling Language User Guide Section 4 - Basic Behavioral Modeling Chapter 19 – Activity Diagrams.
Chapter 11 Activity Diagrams. 2 “Activity diagrams are a technique to describe procedural logic, business processes, and work flows” - M. Fowler An activity.
CS212: Object Oriented Analysis and Design Lecture 34: UML Activity and Collaboration diagram.
UML: The Unified Modeling Language Excertos do livro: The Unified Modelling Language User Guide by Grady Booch, James Rumbaugh and Ivar Jacobson.
A Student Guide to Object-Oriented Development
UML Activity Diagrams.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Procedural Activity Patrick Bailey Keith Vander Linden Calvin College.
 Activity diagram is basically a flow chart to represent the flow from one activity to another activity.
Interaction Models (2): Activity Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh.
Activity Diagrams. Notation Activity1()cActivity2() 1. Activities 2. Transition.
Activity Diagram.
UML Chapter 17.
Analysis Classes Unit 5.
Activity Diagrams.
Information Delivery Manuals: Process Mapping
State Chart Diagrams.
Activity Diagram.
Activity and State Transition Diagram
Activity Diagram.
Visit for more Learning Resources
Class Diagrams.
Activity Diagrams Activity diagrams describe the workflow behavior of a system.  The diagrams describe the state of activities by showing the sequence.
Activity Diagrams.
Business System Development
UML Activity Diagrams.
Software Engineering Chapter 5 (Part 3) System Modeling Dr.Doaa Sami.
1.الدوال Function 2.الاجراءاتSub Procedure 3.وحده نمطيه Add Module
Process Modeling: Activity/Swimlane Diagrams
Software System Engineering
أ.إسراء الطريقي , 306 عال , المحاضره الثالثه
Activity Diagrams.
BPMN - Business Process Modeling Notations
Activity diagram It supports visual representation of sequences of actions that target a certain result. May be built for one or many use cases or for.
Appendix 3 Object-Oriented Analysis and Design
Object-Oriented Analysis & Design
Interaction Models (2): Activity Diagrams
Presentation transcript:

Activity Diagram

Activity Diagrams: Activity Diagrams are a type of flowchart used to describe a business process or workflow of a system; that is, they show the flow of control from activity to activity in the system, what activities can be done in parallel, and any alternate paths through the flow. تصف مخطط عمل النظام (business process) و ما هي العمليات التي من الممكن انجازها في نفس الوقت و التفرعات المختلفة لاي قرار They support parallel tasks, which a pure flowchart can’t handle. تدعم التوازي في التنفيذ و هذا لا يتم في ال flowchart العادي

[All Professor Assigned] Initial Node Select Course to Teach Assign Professor to Course Activity Activity Edge (control flow) [All Professor Assigned] [No] Decision Node [Yes] Course Catalogue Fork Node Parallel Actions (or Activities) Place Catalogue In Box Store Mail Catalogue to Students Join Node Open Registration final node

Activity Diagram (Cont…): An activity diagram shows actions and the flow of control and data between them. يعرض النشاطات المختلفة للنظام و تبادل الادوار في ما بينها Action : is a task or procedure that cannot be broken into parts. هو مهمة او عملية لا يمكن تقسيمها الى اجزاء اصغر منها 4

Activity Diagrams Use to model The dynamic aspects of a system (e.g. flow between use cases). The sequential (and possibly concurrent) steps in a computational process. The flow of control of an operation. Comments Focuses on activities driven by internal processing rather than external events. Supports traditional flow chart and data flow approaches. Focuses on how operations will eventually be implemented, not on when operations execute (comparison with statechart).

Notation Of Activity Diagrams Action Node: Rectangle with rounded corners and a meaningful name. مستطيل دائري الاطراف له اسم يعبر عن الوظيفه Action Edge (Control Flow): Open arrow. هوسهم يشير للمهمة التالية التنفيذ Select Course to Teach Select Course to Teach Assign Professor to Course 6

Notation Of Activity Diagrams (Cont.) Initial Node: بداية التنفيذ Black circle. Decision Node or Merge Node: تحديد القرار في النظام و تمثل ايضا دمج اكثر من جزء Diamond. Final Node: نهاية التنفيذ Black circle in white circle. [Yes] [No] 7

Branching Decision Node or Merge Node also Called Branching. تسمى ايضا بالتفرع A branch specifies alternate paths taken based on some Boolean expression. التفرع يحدد المسارات او خيارات التنفيذ التي يمكن اتباعها بناءً على ناتج عملية محددة A branch may have one incoming transition and two or more outgoing ones. قد تحتوي هذا الشكل علي اكثر من مدخل (سهم او اكتر) و واحد او اكثر من مخرج

Forking And Joining Use a synchronization bar to specify the forking and joining of parallel flows of control. هي عبارة عن سهم متزامن يوضح التفرع او التجمع لاكثر من عملية تم تنفيذها علي التوازي A synchronization bar is rendered as a thick horizontal or vertical line. يتم تمثيل هذا السهم كخط افقي او رأسي سميك A fork may have one incoming transitions and two or more outgoing transitions but A join may have two or more incoming transitions and one outgoing transition. عملية ال fork لها مدخل واحد و اكثر من مخرج على عكس ال join لها اكثر من مدخل و مخرج واحد فقط

Actions carried out in parallel. Fork Node /Join Node: thick bar. Actions carried out in parallel. Course Catalogue Mail Catalogue to Students Place Catalogue In Box Store 10

[All Professor Assigned] Initial Node Select Course to Teach Assign Professor to Course Activity Activity Edge (control flow) [All Professor Assigned] [No] Decision Node [Yes] Course Catalogue Fork Node Parallel Actions (or Activities) Place Catalogue In Box Store Mail Catalogue to Students Join Node Open Registration final node

Notation Of Activity Diagrams (Cont.) Activity Partitions (Swimlanes): تقسيم المهام (Swimlanes) هو عبارة عن خط رأسي يتم تسمية الجزء المحدد باسم الشخص او القسم او المنظمة المسؤولة عن اداء المهام التابعه لهذا الجزء vertical columns. labelled with the person, organisation, department or system responsible for the activities in that column. To partition the activity states on an activity diagram into groups: الهدف منها هو تقسيم المهام لمجموعات: كل مجموعة توضح مسؤولية جهة محددة عن هذه المهمة و كل مجموعة تدعي swimlanes each group representing the business organization responsible for those activities. each group is called a swimlane. 12

Activity Partitions (Swimlanes) Each swimlane has a name unique within its diagram. كل مجموعة لها اسم يميزها عن البقية على الرسم Each swimlane may represent some real-world entity. كل مجموعة قد تصف او تعرض جزء من نظام او شخص علي الواقع مسؤول من المهمة المحددة Each swimlane may be implemented by one or more classes. Every activity belongs to exactly one swimlane, but transitions may cross lanes. كل activity تنتمي لمجموعة واحدة فقط والاسهم يمكن ان تمر بين اكثر من مجموعة واحدة لاداء المهمة

Activity Diagram With Activity Partitions (Swimlanes) guest reception accounts request room And Date check Agenda advise not Available [No] [Yes] calculate price check Client Credit advise client Credit no good [No] Reservation Pay [Yes]

Lab Work The course administrator is responsible for managing course information in the Courseware Management System. As part of managing the course information, the course administrator carries out the following activities: مدير النظام مسؤول من ادارة معلومات المواد علي النظام و كجزء من هذه المهمة عليه اداء الاتي :-

Activities Check if course exists. يتأكدهل المادة المطلوبه موجودة ام لا If course is new, proceed to the "Create Course" step. اذا كانت المادة المدخلة جديدة يقوم بالانتقال لخطوطة اضافة مادة جديدة "Create Course" If course exists, check what operation is desired—whether to modify the course or remove the course. اما اذا كانت المادة موجودة ينظر ما هي العملية المطلوبه عليها هل هي تعديل على يبيانات المادة او حذفها If the modify course operation is selected by the course administrator, the "Modify Course" activity is performed. اذا كانت العملية هي تعديل علي بيانات المادة فيتم تنفيذ هذه المهمة If the remove course operation is selected by the course administrator, the "Remove Course" activity is performed. و اذا كانت العملية حذف المادة فيتم ازالتها من قاعدة البيانات