UML  «Prev  Next»
Lesson 7 Logical View
Objective Define the purpose and function of the logical view

Purpose and Function of the Logical View

The logical view is by far the most inclusive of the views, since it contains six of the nine models. Together, these diagrams are designed to model every aspect of a software solution, each diagram providing its own specialized portion of the total specification for a system:

System Specification


Logical View
  1. The primary diagram is the class diagram, which is the foundation for modeling objects, the source for code generation, and the target for reverse engineering.
  2. The object diagram illustrates objects rather than classes. The object diagram can be used to test or simply understand a class diagram. However, most CASE tool vendors do not support it at this time.
  3. For modeling object interactions, the logical view includes sequence and collaboration diagrams. These are two very similar views for identifying object interfaces and communication.
  4. To model internal object behavior, the statechart diagram provides a look at how an object reacts to external stimuli and manages internal changes.
  5. The activity diagram describes processes including sequence, conditional logic, and concurrency. This diagram is like a flowchart, but it has been enhanced for use with object modeling.

Logical View UML

Logical view

Your development methodology will determine when these models are used. However, the unique characteristics of each model make them particularly useful for solving specific problems. We will focus on their features and usage to provide you with the necessary information to decide when and how to apply them.
In the next lesson, the component view for modeling units of software according to function will be discussed.
The Logical view contains the following six models :
  1. Activity Diagram
  2. Sequence
  3. Colaboration
  4. Class
  5. Object
  6. Statechart