Chapter 02
Chapter 02
Fig. 8.2 UML use case diagram for Fig. 8.3 UML activity diagram for
SafeHome home security function eliciting requirements
Building the Analysis Model
Class-based elements.
Each usage scenario implies a set of objects that are manipulated as
an actor interacts with the system. These objects are categorized
into classes—a collection of things that have similar attributes and
common behaviors. For example, a UML class diagram can be used
to depict a Sensor class for the SafeHome security function (Figure
8.4). Note that the diagram lists the attributes of sensors (e.g., name,
type) and the operations (e.g., identify, enable) that can be applied to
modify these attributes. In addition to class diagrams, other
analysis modeling elements depict the manner in which classes
collaborate with one another and the relationships and interactions
between classes.
Developing a Use-Case
What are the main tasks or functions that are performed by the
actor?
What system information will the actor acquire, produce or change?
Will the actor have to inform the system about changes in the
external environment?
What information does the actor desire from the system?
Does the actor wish to be informed about unexpected changes?
Use-Case Diagram
Data Modeling
Interaction Analysis. The manner in which the user interacts with the
WebApp is described in detail. Use-cases can be developed to
provide detailed descriptions of this interaction.