Uml Diagrams Tutorial
Uml Diagrams Tutorial
Lifeline Notation:
Activation Bars
The activation bar is the box placed on the lifeline. It is used to indicate that
an object is active during an interaction between two objects. The length of
the rectangle indicates the duration of the objects staying active.
In a sequence diagram, an interaction between two objects occurs when one
object sends a message to another. The use of the activation bar on the
lifelines of the Message Caller (the object that sends the message) and the
Message Receiver (the object that receives the message) indicates that both
are active during the exchange of the message.
3. Message Arrows
An arrow from the Message Caller to the Message Receiver specifies a message
in a sequence diagram. A message can flow in any direction; from left to
right, right to left, or back to the Message Caller itself. While you can
describe the message being sent from one object to the other on the arrow,
with different arrowheads you can indicate the type of message being sent or
received.
4. Reflexive message
A use case describes how a user uses a system to accomplish a particular goal.
A use case diagram consists of the system, the related use cases and actors
and relates these to each other to visualize: what is being described?
(system), who is using the system? (actors) and what do the actors want to
achieve? (use cases), thus, use cases help ensure that the correct system is
developed by capturing the requirements from the user's point of view.
A use case (or set of use cases) has
these characteristics:
Organizes functional requirements
Models the goals of system/actor (user) interactions
Describes one main flow of events (main scenarios) and possibly other
exceptional flows (alternatives), also called paths or user scenarios
Cont…
Actor
Actors are usually individuals involved with the system defined according to
their roles. The actor can be a human or other external system.
Use Case
A use case describes how actors uses a system to accomplish a particular goal.
Use cases are typically initiated by a user to fulfill goals describing the
activities and variants involved in attaining the goal.
Relationship
The relationships between and among the actors and the use cases.
System Boundary
The system boundary defines the system of interest in relation to the world
around it.
How to Draw a Use Case Diagram?