SlideServe
Menu
Préférences
© SlideServe · v2026

Behavioral Modeling

mele avatar
20 diapositives · 1.8K Views · Aug 07, 2014

Behavioral Modeling. Chapter 8. Key Ideas. Behavioral models describe the internal dynamic aspects of an information system that supports business processes in an organization Key UML behavioral models are: sequence diagrams, collaboration diagrams, and statechart diagrams.

Behavioral Modeling - slide 1
01 / 20Behavioral Modeling
1 / 17

Télécharger la présentation

Behavioral Modeling
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Behavioral Modeling Chapter 8

  2. Key Ideas • Behavioral models describe the internal dynamic aspects of an information system that supports business processes in an organization • Key UML behavioral models are: sequence diagrams, collaboration diagrams, and statechart diagrams

  3. Purpose of Behavioral Models • To depict the internal view of business processes • To show the effects of varied processes on the system

  4. Interaction Diagram Components • Objects • Operations • Messages

  5. Sequence Diagrams • Illustrate the objects that participate in a use-case • Show the messages that pass between objects for a particular use-case

  6. Example Sequence Diagram

  7. Sequence Diagram Syntax AN ACTOR AN OBJECT A LIFELINE A FOCUS OF CONTROL A MESSAGE OBJECT DESTRUCTION anObject:aClass aMessage() x

  8. Determine the context of the sequence diagram Identify the participating objects Set the lifeline for each object Add messages Place the focus of control on each object’s lifeline Validate the sequence diagram Building a Sequence Diagram

  9. Essentially an object diagram that shows message passing relationships instead of aggregation or generalization associations. Emphasize the flow of messages among objects, rather than timing and ordering of messages Collaboration Diagrams

  10. Example Collaboration Diagram

  11. aMessage() Collaboration Diagram Syntax AN ACTOR AN OBJECT AN ASSOCIATION A MESSAGE anObject:aClass

  12. “CRUD” Analysis Example

  13. Determine the context of the collaboration diagram Identify the participating objects and their associations Layout objects and associations Add messages Validate the sequence diagram Building a Collaboration Diagram

  14. The statechart diagram shows the different states of the object and what events cause the object to change from one state to another. Statechart Diagrams

  15. States Events Transitions Actions Activities Components of Statechart Diagrams

  16. Example Statechart Diagram

  17. Statechart Diagram Syntax A STATE AN INITIAL STATE A FINAL STATE AN EVENT A TRANSITION aState anEvent

  18. Set the context Identify the initial final, and stable states of the object Determine the order in which the object will pass through stable states Identify the events, actions, and guard conditions associated with the transitions Validate the statechart diagram Building Statechart Diagrams

  19. Your Turn • What distinguishes the sequence diagram, the collaboration diagram, and the statechart diagram? • For what sort of new applications might you need to develop all of these? Are there any new applications that would not need all of these diagrams for full development?

  20. Summary • Sequence diagrams illustrate the classes that participate in a use case and the messages that pass between them. • Collaboration diagrams provide a dynamic view of the object-oriented system and accentuate message passing between collaborating actors and objects. • Statechart diagrams show the different states that a single class passes through in response to events.