Chapter 2
Chapter 2
Borana University
College of Natural and Computational Science
A state machine: is designed to track an object's life cycle, particularly when the
object's state is significant. It outlines the series of states that an object undergoes in
reaction to external factors, known as events, which are responsible for state
changes.
Behavioral things(Cont…)
Grouping Things: The organizational part of the UML model; provides a
higher level of abstraction (granularity).
Package - a general-purpose element that comprises UML elements - structural,
behavioral or even grouping things.
Packages are conceptual groupings of the system and need not necessarily be
implemented as cohesive software modules.
Annotational Things
Annotational features pertain to a tool that records observations, explanations,
and feedback regarding UML model components.
The sole Annotational feature is known as a Note, which is utilized to display
comments, restrictions, and other details pertaining to a UML element.
Relationships
Relationship articulates the meaning of the links between things. It shows
how elements are associated with each other and this association describes
the functionality of an application.
There are four kinds of relationships available in UML.
1. Dependency
2. Association
3. Generalization
4. Realization
Dependency : a dependency is a semantic relationship between two model
elements in which a change to one element (the independent one) may affect
the semantics of the other element (the dependent one).
Graphically, a dependency is rendered as a dashed line