Logical View  «Prev  Next»
Lesson 1

Logical View of the Object Model

Earlier in the course, we defined four views of the software development lifecycle:
  1. the use case view,
  2. the logical view,
  3. the component view, and
  4. the deployment view.
This module begins our coverage of the logical view.

Object Oriented Terminology

The Logical View

Once you define the expectations of the users in the use case view, you then do most of your work in the logical view. Six different diagrams are included in the logical view:
  1. the class diagram,
  2. the object diagram,
  3. the dynamic models,
  4. the sequence diagram,
  5. collaboration diagrams, and
  6. the activity diagram.
Each diagram is a tool for discovering and describing different aspects of the system. Together they provide a complete description of your software solution. The class diagram is the most important by far, but every model needs to be tested. Use cases provide the high-level test plan. The object diagram is ideal for testing the class diagram. The dynamic models, sequence, and collaboration diagrams are excellent for describing object interactions. The activity diagram is very good for describing the functional behavior implemented by objects.

UML Distilled

The Class Diagram

This module will describe the class diagram and its notation and usage. We'll cover how to define individual classes and how to assemble classes to build models. Remember that although the notation and techniques may be standard, their application in real-world projects may vary widely.

Module objectives

After completing this module, you will be able to:
  1. Describe the purpose and function of the class diagram
  2. Define attributes and operations
  3. Model a class
  4. Model associations between classes
  5. Model aggregation and composition
  6. Model generalization
  7. Model composition context
In the next lesson, you will learn about the function and purpose of the class diagram.