• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Activity
 

Activity

on

  • 968 views

Object-oriented analysis and design(OOAD) UML Slides. for more slides refer www.scmGalaxy.com.

Object-oriented analysis and design(OOAD) UML Slides. for more slides refer www.scmGalaxy.com.

Statistics

Views

Total Views
968
Views on SlideShare
968
Embed Views
0

Actions

Likes
0
Downloads
16
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Activity Activity Presentation Transcript

    • Activity Diagram ATOI Software System Bangalore [email_address]
    • Activity Diagram
      • Activity diagrams provide a way to model the workflow of a business process or a way to model a class operation. Workflow
      • A workflow is a well-defined sequence of activities that produces an observable value or objective to an individual or entity when performed.
      • These diagrams are very similar to a flowchart because you can model a workflow from activity to activity or from activity to state.
    • Deficiency of UseCase Diagram
      • Use Case diagram presents a static view of system functionality but it contains no information about the dynamics of these functions.
        • When one usecase uses several others. We can not see in what order those other usecase are used.
        • When one usecase extends another. You do not see under what conditions or at what point the extension occurs.
        • Use cases temporal order and required sequencing among them is not seen.
    • Activity diagram provide one solution to all deficiencies
      • Use case can be refined into an activity diagram that “flowcharts” the steps in the usecase,
      • usecase uses several other usecase ,activity diagram can depict the order of use,
      • and when use case is extended by another usecase, the diagram shows when and why the extension occur.
    • Practical Example of Using Activity Diagram:
      • A company could use activity diagrams to model the flow for an approval of orders or model the paper trail of invoices or process of approving a documents.
      • An accounting firm could use activity diagrams to model any number of financial transactions.
      • A software company could use activity diagrams to model part of a software development process.
    • Activity
      • An activity represents the performance of “task” or “duty” in a workflow. It may also represent the execution of a statement in a procedure. An activity is similar to a state, but expresses the intent that there is no significant waiting (for events) in an activity.
      Graphical Depiction Compartment for actions
      • Action: (atomic) An action is best described as a “task” that takes place while inside a state or activity
      • There are four possible actions within a state or activity:
      • On Entry
      • On Exit
      • Do
      • On Event
    • Actions of activity explained On event>> On exit send target
    • Activity can be employed in depicting:
      • When modeling business process, it can correspond to a human task, such as approving a document etc.
      • When flowcharting a UseCase, it can correspond to one step in that use case.
      • When specifying temporal order among use case, it can correspond to a system function
    • Activity diagram notations Activity B follows activity A Activity 2 conditionally follows activity 1
    • Activity diagram notations
    • Activity Diagram v/s State Diagram
      • The activity diagrams are mostly activity centric and they are typically used for modeling the sequence of activities in a process
      • transitions are implicitly triggered by completion of the actions in the source activities
      • Statecharts are state centric & statechart is better suited to model the discrete stages of an object’s lifetime
      • Transformation of state to state is dependent / or caused by a event, ie it is event dependent.
      An activity diagram is considered a special case of a state machine in which most of the states are activities and most of the transitions are implicitly triggered by completion of the actions in the source activities