Object-Oriented Analysis and Design

11
Slide 1 Object-Oriented Analysis and Design Attempts to balance emphasis on data and process Uses Unified Modeling Language (UML) for diagramming Use-case Driven Architecture Centric Iterative and Incremental

description

Object-Oriented Analysis and Design. Attempts to balance emphasis on data and process Uses Unified Modeling Language (UML) for diagramming Use-case Driven Architecture Centric Iterative and Incremental. Key Elements. Classes -- template to define objects - PowerPoint PPT Presentation

Transcript of Object-Oriented Analysis and Design

Page 1: Object-Oriented Analysis and Design

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

Page 2: Object-Oriented Analysis and Design

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

Page 3: Object-Oriented Analysis and Design

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

Page 4: Object-Oriented Analysis and Design

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

Page 5: Object-Oriented Analysis and Design

Slide 5

Class Hierarchy

Page 6: Object-Oriented Analysis and Design

Slide 6

Inheritance

Page 7: Object-Oriented Analysis and Design

Slide 7

Polymorphism

Page 8: Object-Oriented Analysis and Design

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)

Page 9: Object-Oriented Analysis and Design
Page 10: Object-Oriented Analysis and Design

Unified Process

Page 11: Object-Oriented Analysis and Design

UML 2.0 Diagram Summary