Slide 1 Object-Oriented Analysis and Design Attempts to balance emphasis on data and process Uses...

Preview:

Citation preview

Slide 1

Object-Oriented Analysis and Design

Attempts to balance emphasis on data and processUses Unified Modeling Language (UML) for diagramming

Use-case DrivenArchitecture CentricIterative and Incremental

Slide 2

Key ElementsClasses -- template to define objects

Objects (instances)-- specific examples of class members

Attributes -- describe data aspects of the object

Methods -- the processes the object can perform

Messages -- instructions sent to or received from other objects

Slide 3

A Class and Its Objects

PATIENT

-Name-Birthdate-Phone Number+Insert ()()+Delete ()()

PATIENT 1: TOP PACKAGE: PATIENT

-Name = Teresa Marks-Birthdate = March 16, 1975-Phone number = 314-997-3456

PATIENT 2: TOP PACKAGE: PATIENT

-Name = Mel Bourne-Birthdate = May 11, 1965-Phone number = 314-997-3219

Attributes

Methods

Class

Instantiated Objects of the Class

Slide 4

The Key to Reusability

Information hiding is the principle that only information required to use the object is available outside the objectEncapsulation is the mechanism that combines data and processes in a single object

Slide 5

Class Hierarchy

Slide 6

Inheritance

Slide 7

Polymorphism

Slide 8

Object-Oriented Systems Analysis and Design (OOSAD)

(1) Use Case Driven

(2) Architecture Centric

Functional View: Use Case, Activity Diagram

Static View: Structure Diagram

Dynamic View: Behavior Diagram

(3) Iterative and Incremental

UP (Unified Process)

Unified Process

UML 2.0 Diagram Summary