Você está na página 1de 29

Systems Analysis & Design

Sixth Edition

Toolkit Part 5
Toolkit Objectives
● Explain how object-oriented
analysis can be used to describe
an information system
● Define object modeling terms and
concepts, including objects,
attributes, methods, messages,
classes, and instances
● Explain relationships among
objects and the concept of
inheritance
● Draw an object relationship 2
Toolkit Objectives
● Describe Unified Modeling
Language (UML) tools and
techniques, including use cases,
use case diagrams, class
diagrams, sequence diagrams,
state transition diagrams, and
activity diagrams
● Explain the advantages of using
CASE tools in developing the
object model
● Explain how to organize an 3
object model
Introduction
● You will learn how to use object-
oriented methods to document,
analyze, and model an
information system
● Although traditional structured
analysis is the most popular
approach, the use of object-
oriented analysis and design is
growing rapidly

4
Object-Oriented Terms and
Concepts
● Object-oriented (O-O) analysis
● Object
● Object-oriented analysis is a
popular approach that sees a
system from the viewpoint of the
objects themselves as they
function and interact
● Object model

5
Object-Oriented Terms and
Concepts
● Overview of O-O Analysis
– Unified Modeling Language (UML)
– Attributes
– Methods
– Message
– Class
– Instance

6
Object-Oriented Terms and
Concepts
● Objects

7
Object-Oriented Terms and
Concepts
● Objects

8
Object-Oriented Terms and
Concepts
● Objects

9
Object-Oriented Terms and
Concepts
● Objects

10
Object-Oriented Terms and
Concepts
● Objects

11
Object-Oriented Terms and
Concepts
● Objects

12
Object-Oriented Terms and
Concepts
● Attributes
– If objects are similar to nouns, attributes
are similar to adjectives that describe the
characteristics of an object
– Some objects might have a few attributes;
others might have dozens
– State

13
Object-Oriented Terms and
Concepts
● Methods
– Just as objects are similar to nouns and
attributes are similar to adjectives,
methods resemble verbs that describe
what and how an object does something

14
Object-Oriented Terms and
Concepts
● Messages
– Polymorphism
– Black box
– Encapsulation
– Object-oriented designs typically are
implemented with object-oriented
programming languages

15
Object-Oriented Terms and
Concepts
● Classes

16
Relationships Among Objects
and Classes
● Relationships
● Relationships describe what
objects need to know about each
other
● Inheritance
● Child
● Parent

17
Relationships Among Objects
and Classes
● Object Relationship Diagram
– After you identify the objects, classes, and
relationships, you are ready to prepare an
object relationship diagram that will
provide an overview of the system
– You will use that model as a guide as you
continue to develop additional diagrams
and documentation

18
Object Modeling with the
Unified Modeling Language
● The UML uses a set of symbols to
represent graphically the various
components and relationships
within a system
● Is mainly used to support object-
oriented system analysis and to
develop object models

19
Object Modeling with the
Unified Modeling Language
● Use Case Modeling
– Actor
– Uses
– Use case description

20
Object Modeling with the
Unified Modeling Language
● Use Case
Diagrams
– Use case
diagram
– System
boundary
– After you
identify the
system
boundary, you
place the use
cases on the
diagram, add
the actors, and 21
show the
Object Modeling with the
Unified Modeling Language
● Class Diagrams
– Class diagram
– Cardinality

22
Object Modeling with the
Unified Modeling Language
● Sequence Diagrams
– Sequence diagram
– Include
• Classes
• Lifelines
• Messages
• Focuses

23
Object Modeling with the
Unified Modeling Language
● State Transition Diagrams
– A state transition diagram shows how an
object changes from one state to another,
depending on events that affect the object

24
Object Modeling with the
Unified Modeling Language
● Activity Diagrams

25
Object Modeling with the
Unified Modeling Language
● CASE Tools
– Object modeling requires many types of
diagrams to represent the proposed
system
– Creating the diagrams by hand is time-
consuming and tedious, so systems
analysts rely on CASE tools to speed up
the process and provide an overall
framework for documenting the system
components

26
Organizing the Object Model
● You should organize your use
cases and use case diagrams so
they can be linked to the
appropriate class, state transition,
sequence, and activity diagrams
● It is much easier to repair a
diagram now than to change the
software later

27
Toolkit Summary
● This toolkit introduces object
modeling, which is a popular
technique that describes a system
in terms of objects
● The Unified Modeling Language
(UML) is a widely used method of
visualizing and documenting an
information system

28
Toolkit Summary
● At the end of the object modeling
process, you organize your use
cases and use case diagrams and
create class, sequence, state
transition, and activity diagrams

● Toolkit Part 5 complete

29

Você também pode gostar