A stimulus as a model element
Product Overview
object:class
cart100:cart
Named instance (cart100) of the cart class.
/role:class
/storage:cart
Anonymous instance of the cart class
playing the storage role in an interaction.
object/role
cart/storage
An object named cart playing the storage
role. This object is either an object that is
hiding the name of the class or an instance
that is not associated with a class.
object
cart100
An object named cart100. This object is
either an instance that is hiding the name
of the class or an instance that is not
associated with a class.
/role
/storage
An anonymous instance playing the
storage role. This object is either an
instance that is hiding the name of the
object and class or an instance that is not
associated with an object or class.
:class
:cart
Anonymous instance of the customer class.
Stimuli
A stimulus is a model element that represents a communication between objects in a
sequence diagram and usually indicates that an activity will follow. The types of
communications that stimuli model include calls to operations, signals to objects, the
creation of objects, and the destruction of objects. The receipt of a stimulus is an
instance of an event.
Shape
A stimulus appears as a line with an arrow. The direction of the arrow indicates the
direction in which the stimulus is sent. In a sequence diagram, a stimulus usually
connects two object lifelines.
Stimulus shapes can be adorned with names and sequence numbers.
Types of Stimuli
17