CPlusOOP
SiteMap
OO Analysis
Problem Analysis
Sequence Diagram
«Prev
OO-Design
Problem Analysis
Review PLC
Purpose Scope Analysis
Problem Domain Classes
Identify Classes Objects
Class Diagram Notation
Diagram Associations
Basic Object Modeling
Multiplicity OO Modeling
Define Constraints
Modeling Aggregation
Modeling Composition
Modeling Generalization
Advanced Associations
Qualifiers Reduce Multiplicity
Many to ManyAssociations
Problem Analysis Conclusion
Sequence Diagrams
Sequence Diagram Notation
Applying Sequence Diagram
Applying Sequence Diagram-Quiz
Modeling Sequences Scenarios
Mapping Events Objects
Interfaces, events ,operations
Discover Attribute Information
Sequence Diagram - Conclusion
Interaction Diagram - Quiz
Model Reconciliation
Reconcile Sequence Diagrams
Test Interfaces
Model Refinement
Refactoring Patterns
Encapsulation Principles
Cohesion Coupling Defined
Attribute Responsibility Allocation
Class Description Operations
Refining Object Conclusion
Applying UML Sequence Diagram
A sequence diagram captures the behavior of a single scenario. The diagram shows a number of example objects and the messages that are passed between these objects within the use case.
Building the Sequence Diagram: Two steps
1) Step 1: Describe the interaction between the actor and the system
2) Draw the timelines downward from each object
3) Draw the events in the conversation between the actor and the system
4) Describe the interaction between the Customer and Banking System:
c) The customer asks for $45
d) The system responds saying that the denomination requested is invalid and asks for another amount
Ad
Domain Driven Design
5) Draw the events in the conversation between the actor and the system
e) The customer asks for $40
6) 1) For the first event: a) Determine which object/s the system would use to respond and add the object to the diagram.
7) Step2:Expand the system to include the resources that the system uses to respod to the actor's requests
8) For the third event a) Determine which objects the system would use to respond and add the object to the diagram
i) What object would know whether or not the customer has the funds to support a $40 withdrawal.