Activity Diagram 1 Introduction Functional View l l

  • Slides: 21
Download presentation
Activity Diagram 1

Activity Diagram 1

Introduction ¡ Functional View l l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei Use

Introduction ¡ Functional View l l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei Use Case Diagram Activity Diagram آﺰﻣﺎﻳﺸگﺎﻩ ﺳﻴﺴﺘﻢ ﻫﺎﻱ ﻫﻤﺸﻤﻨﺪ 2

Activity Diagram ¡ Describe behavior for l l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac.

Activity Diagram ¡ Describe behavior for l l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei Use Case(s) Class Package The implementation of an operation

Activity Diagram Modeling the flow of control from activity to activity ¡ Modeling workflow

Activity Diagram Modeling the flow of control from activity to activity ¡ Modeling workflow or business processes and internal operation ¡ Special case of a state chart diagram in which states are activities (“functions”) ¡ ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei

Activity Diagram Like a flow chart ¡ Define activities of system in graphical view(use

Activity Diagram Like a flow chart ¡ Define activities of system in graphical view(use case in text) ¡ Simple ¡ ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei

Activity Diagram ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei

Activity Diagram ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei

Notation ¡ Action state: represent the non-interruptible actions of objects ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit.

Notation ¡ Action state: represent the non-interruptible actions of objects ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei

Notation ¡ sub activity state: l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei invokes

Notation ¡ sub activity state: l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei invokes an activity graph , to represent nested diagrams

Notation ¡ Arrows/Action Flow: relationships among action states. ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac.

Notation ¡ Arrows/Action Flow: relationships among action states. ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei

Notation ¡ Object Flow: refers to the creation and modification of objects by activities

Notation ¡ Object Flow: refers to the creation and modification of objects by activities l l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei from an action to an object: the action creates or influences the object from an object to an action: the action state uses the object

Notation ¡ Initial State l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei represents the

Notation ¡ Initial State l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei represents the initial action state.

Notation ¡ Final State l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei represents the

Notation ¡ Final State l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei represents the final action state.

Notation ¡ Branching l l l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei represents

Notation ¡ Branching l l l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei represents a decision with alternate paths. The outgoing should be labeled with a guard expression can also label one of the paths "else. "

Notation ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei

Notation ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei

Notation ¡ Branch/Decision: can be used to merge decision branches back together (merge) ﺍﻓﺸﻴﻦ

Notation ¡ Branch/Decision: can be used to merge decision branches back together (merge) ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei

Notation ¡ Splitting & Joining l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei illustrate

Notation ¡ Splitting & Joining l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei illustrate parallel transitions

Notation ¡ Swimlanes l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei To group related

Notation ¡ Swimlanes l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei To group related activities into one column

Example ¡ Process Order l l l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei

Example ¡ Process Order l l l ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei order is accepted payment is accepted order is shipped

Example ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei

Example ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei

Example ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei

Example ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei

Example ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei

Example ﺍﻓﺸﻴﻦ ﻻﻣﻌﻲ http: //ceit. aut. ac. ir/~lamei