Behavioral models are used to describe the overall behavior of a system.
The behavioral model indicates how software will respond to external events or stimuli.
To create the model, you should perform the following steps:
1. Evaluate all use cases to fully understand the sequence of interaction within the
system.
2. Identify events that drive the interaction sequence and understand how these events
relate to specific objects.
3. Create a sequence for each use case.
4. Build a state diagram for the system.
5. Review the behavioral model to verify accuracy and consistency
Two types of behavioral model are:
Data processing models that show how data is processed as it moves through the system
State machine models that show the systems response to events
These models show different perspectives, so both of them are required to describe the
system’s behavior
Data Processing Model
Data flow diagrams (DFDs) may be used to model the system’s data processing. These
show the processing steps as data flows through a system. DFDs are an intrinsic part of
many analysis methods. It is Simple and intuitive notation that customers can understand.
It show end-to-end processing of data. DFDs model the system from a functional
perspective. It is helpful to develop an overall understanding of the system
State machine Model
These model the behavior of the system in response to external and internal events. They
show the system’s responses to stimuli so are often used for modeling real modeling realtime systems. State machine models show system states as nodes and events as arcs between these nodes. When an event occurs, the system moves from one state to another.
State charts, An integral part of the UML are used to represent state machine models