l6 7-10-2024 Uml Sequence Diagram
l6 7-10-2024 Uml Sequence Diagram
L6 7-10-2024
Progressing from analysis to
design
Information extracted from Use case and
activity diagrams
Use case diagrams provide major user interactions with the system which
identify users’ functional requirements. The analysis of use case diagrams
provide basic information regarding major features of the system under study
and about the major entities which become candidate for persistent classes
and data.
–Objects/classes
Objects as well as classes can be targets on
a sequence diagram, which means that
messages can be sent to them. A target is
displayed as a rectangle with some text in it.
Objects/lasses
Stereotype of Objects
•Entities/ entity objects
Entities are objects representing system data: Customer,
Product, Transaction, Cart, etc.
•Boundaries/ boundary objects
Boundaries are objects that interface with system actors: User
Interface, Database Gateway,, etc.
•Controls/ control objects
Controls are objects that mediate between boundaries and
entities. They orchestrate the execution of commands coming
from the boundary by interacting with entity and boundary
objects. Controls often correspond to use cases.
Display Icons for Stereotype of Objects
Other notations for Stereotype of Objects
1.
2. 3.
students:Student
Object collection
Activation Bar
The activation bar is the box placed on the lifeline. It is used
to indicate that an object is active (or instantiated) during
an interaction between two objects. The length of the
rectangle indicates the duration of the objects staying
active.
Message Arrows:
• A message can include a guard, which signifies that the message is only
sent if a certain condition is met. The guard is simply that condition
between brackets.
• In other words, Guards are used when we need to restrict the flow of
messages on the pretext of a condition being met.
•https://online.visual-paradigm.com/diagram
s/tutorials
/