12.07.2015 Views

DEV475 Mastering Object-Oriented Analysis and Design with UML ...

DEV475 Mastering Object-Oriented Analysis and Design with UML ...

DEV475 Mastering Object-Oriented Analysis and Design with UML ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>DEV475</strong> <strong>Mastering</strong> <strong>Object</strong>-<strong>Oriented</strong> <strong>Analysis</strong> <strong>and</strong> <strong>Design</strong> <strong>with</strong> <strong>UML</strong>Example: Activity DiagramExample: Activity DiagramConcurrentThreadsGuardConditionCheckScheduleSelect Course[ add course ]Decision[ delete course ]CheckPre-requisites[ checks completed ] [ checks failed ]Delete CourseActivityStateSynchronizationBar (Fork)SynchronizationBar (Join)Assign toCourseResolveConflictsTransitionUpdateSchedule<strong>Mastering</strong> <strong>Object</strong> <strong>Oriented</strong> <strong>Analysis</strong> <strong>and</strong> <strong>Design</strong> <strong>with</strong> <strong>UML</strong>Copyright © 2003 Rational Software, all rights reserved 18An activity diagram may include the following elements:• Activity states represent the performance of an activity or step <strong>with</strong>in theworkflow.• Transitions show what activity state follows after another.• Decisions evaluate conditions defined by guard conditions. These guardconditions determine which of the alternative transitions will be made <strong>and</strong>, thus,which activities are performed. You may also use the decision icon to showwhere the threads merge again. Decisions <strong>and</strong> guard conditions allow you toshow alternative threads in the workflow of a use case.• Synchronization bars show parallel sub-flows. They allow you to showconcurrent threads in the workflow of a use case.3 - 18

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!