Current state: Uncovered most problem space objects and assigned some attributes to them. Defined some static relationships between these objects. Defined a few dynamic relationships on robustness diagrams. Interaction modeling is the phase in which you build the threads that weave your objects together and enable you to see how they will perform useful behavior.
One of the primary tools of this task is creating sequence diagrams. Upon completion of this section, students will be able to: Define the goals of interaction modeling. Create sequence diagrams. Put behavioral methods on your classes. Update your static model. Allocate behavior among entity, boundary, and control objects. Show detailed interactions that occur over time among objects.
Finalize the distribution of operations among classes. Represent the major work product of our design. Draw one sequence diagram that encompasses the basic course and all alternative courses within each of your use cases. One sequence diagram per use case. These results form the core of your dynamic model. The text for the course of action of the use case. Objects
Messages. Methods (operations, behaviors). Four steps to creating diagrams: Copy the use case text to the left margin of the sequence diagram. Add the entity objects. Add the boundary objects. Work through the controllers, one at a time. Determine how to allocate behavior between the collaborating objects.
Thursday, June 4, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment