1 / 8

Introduction to UML

Introduction to UML. Part 2 Behavioral Modeling. Sequence (event) diagram. Describes object interaction Typically captures behavior of a single use case Notation: message return . Sequence (event) diagram. object. message. lifeline. State diagram.

ona
Download Presentation

Introduction to UML

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to UML Part 2 Behavioral Modeling

  2. Sequence (event) diagram • Describes object interaction • Typically captures behavior of a single use case • Notation: • message • return

  3. Sequence (event) diagram object message lifeline

  4. State diagram • Describes all possible states of an object and activities associated with the state • How the state changes as a result of events that reach the object • States include start and end • States can be packaged into superstate

  5. State diagram Superstate Start state state activity transition

  6. Activity Diagram • Useful for describing behaviors with a lot of parallel processes • Parts: • start/end state • activities • synchronization bars • guards

  7. Activity Diagram guard Descision activity Synchronization bar activity

  8. Ideas to Take Away • UML is effective for modeling large, complex software systems • It is simple to learn for most developers, but provides advanced features for expert analysts, designers and architects • It can specify systems in an implementation-independent manner • 10-20% of the constructs are used 80-90% of the time • Structural modeling specifies a skeleton that can be refined and extended with additional structure and behavior • Use case modeling specifies the functional requirements of system in an object-oriented manner • Behavioral modeling captures interactions between objects, state transitions within objects, depicts flow of control.

More Related