Docsity

Object Oriented Analysis-System Analysis and Design-Lecture Slides, Slides of System Analysis and Design

Partial preview of the text

Download Object Oriented Analysis-System Analysis and Design-Lecture Slides and more Slides System Analysis and Design in PDF only on Docsity!

Irwin/McGraw-Hill Copyright © 2004 The McGraw-Hill Companies. All Rights reserved

SYSTEMS ANALYSIS AND DESIGN METHODS 6th Edition Whitten Bentley Dittman

C H A P T E R

OBJECT-

ORIENTED

ANALYSIS AND

MODELING USING

THE UML

docsity.com

Chapter 11 Object-oriented Analysis and Modeling Using the UML

  • Define object modeling and explain its benefits.
  • Recognize and understand the basic concepts and constructs of object modeling.
  • Define the UML and its various types of diagrams.
  • Evolve a business requirements use-case model into a system analysis use-case model.
  • Construct an activity diagram.
  • Discover objects and classes, and their relationships.
  • Construct a class diagram.

Introduction to Object Modeling

Object-oriented analysis (OOA) – an approach

used to

  1. study existing objects to see if they can be reused or adapted for new uses
  2. define new or modified objects that will be combined with existing objects into a useful business computing application

Object modeling – a technique for identifying

objects within the systems environment and the

relationships between those objects.

Introduction to the UML

Unified Modeling Language (UML) – a set of

modeling conventions that is used to specify or

describe a software system in terms of objects.

  • The UML does not prescribe a method for developing systems—only a notation that is now widely accepted as a standard for object modeling.

Objects, Attributes, & Instances (cont.)

Behavior & Encapsulation

Behavior – the set of things that the object can do that

correspond to functions that act on the object’s data

(or attributes).

  • In object-oriented circles, an object’s behavior is commonly referred to as a method , operation , or service.

Encapsulation – the packaging of several items

together into one unit.

Inheritance

Inheritance – the concept wherein methods and/or

attributes defined in an object class can be inherited or

reused by another object class.

Inheritance (cont.)

UML Representation of Generalization/Specialization

Object/Class Relationships

Object/class relationship – a natural business

association that exists between one or more objects and

classes.

Aggregation

Aggregation – a relationship in which one larger “whole” class

contains one or more smaller “parts” classes. Conversely, a smaller

“part” class is part of a “whole” larger class.

Composition

Composition – an

aggregation

relationship in

which the “whole”

is responsible for

the creation and

destruction of its

“parts.” If the

“whole” were to

die, the “part”

would die with it.

Polymorphism

Polymorphism – literally meaning “many forms,” the concept that different objects can respond to the same message in different ways.

Override – a technique whereby a subclass (subtype) uses an attribute or behavior of its own instead of an attribute or behavior inherited from the class (supertype).

UML Diagrams

  • Use-Case Model Diagrams
  • Static Structure Diagrams
    • Class diagrams
    • Object diagrams
  • Interaction Diagrams
    • Sequence diagrams
    • Collaboration diagrams
  • State Diagrams
    • Statechart diagrams
    • Activity diagrams
  • Implementation Diagrams
    • Component diagrams
    • Deployment diagrams