You are on page 1of 11

Object-Oriented Systems

Analysis
Major Topics

Five-layer model

Kendall & Kendall Copyright © 2002 by Prentice Hall, Inc. 22-2


Five-Layer Model
Object oriented analysis and design is
based on a five-layer model:
Class/object layer notes the classes and
objects
Structure layer captures various structures
of classes and objects, such as one-to-
many relationships and inheritance
Attribute layer details the attributes of
classes
Kendall & Kendall Copyright © 2002 by Prentice Hall, Inc. 22-3
Five-Layer Model
Five-layer model, continued
Service layer notes messages and object
behaviors
Subject layer divides the design into
implementation units or team assignments

Kendall & Kendall Copyright © 2002 by Prentice Hall, Inc. 22-4


Criteria to Determine Need for
a New Class of Objects
Criteria to determine whether a new
class of objects is justified
There is a need to remember the object
There is a need for certain behaviors of the
object
An object has multiple attributes
A class has more than one object
instantiation
Unless it is a base class
Kendall & Kendall Copyright © 2002 by Prentice Hall, Inc. 22-5
Criteria to Determine Need for
a New Class of Objects
Criteria, continued
Attributes have a meaningful value for each
object in a class
Services behave the same for every object
in a class
Objects implement requirements that are
derived from the problem setting

Kendall & Kendall Copyright © 2002 by Prentice Hall, Inc. 22-6


Criteria to Determine Need for
a New Class of Objects
Criteria, continued
Objects do not duplicate attributes and
services that could be derived from other
objects in the system

Kendall & Kendall Copyright © 2002 by Prentice Hall, Inc. 22-7


Basic Types of Structures
There are two basic types of structures
that might be imposed on classes and
objects:
Generalization-Specialization structure
(Gen-Spec), which connect class-to-class
Whole-Part structure which are collections
of different objects that compose another
whole object

Kendall & Kendall Copyright © 2002 by Prentice Hall, Inc. 22-8


Instance Connections
Instance connections are references
between objects such as associations or
relationships indicated by a single line
between objects using the same
cardinality notation as Whole-Part
structures

Kendall & Kendall Copyright © 2002 by Prentice Hall, Inc. 22-9


Methods
Services (or methods or procedures)
must be analyzed. Activities are
Object state analysis, showing changes of
state
Service specification: creating, storing,
retrieving, connecting, accessing, and
deleting objects
Message specification, consisting of control
and data flow
Kendall & Kendall Copyright © 2002 by Prentice Hall, Inc. 22-10
Major Components of Object-
Oriented Design Activities
Object-oriented design activities are
grouped into four major components:
The problem domain component
The human interface component
The data management component
The task management component

Kendall & Kendall Copyright © 2002 by Prentice Hall, Inc. 22-11

You might also like