slide 1 object-oriented analysis and design attempts to balance emphasis on data and process uses...

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

Upload: erik-peter-sparks

Post on 29-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Slide 1 Object-Oriented Analysis and Design Attempts to balance emphasis on data and process Uses Unified Modeling Language (UML) for diagramming Use-case

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: Slide 1 Object-Oriented Analysis and Design Attempts to balance emphasis on data and process Uses Unified Modeling Language (UML) for diagramming Use-case

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: Slide 1 Object-Oriented Analysis and Design Attempts to balance emphasis on data and process Uses Unified Modeling Language (UML) for diagramming Use-case

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: Slide 1 Object-Oriented Analysis and Design Attempts to balance emphasis on data and process Uses Unified Modeling Language (UML) for diagramming Use-case

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: Slide 1 Object-Oriented Analysis and Design Attempts to balance emphasis on data and process Uses Unified Modeling Language (UML) for diagramming Use-case

Slide 5

Class Hierarchy

Page 6: Slide 1 Object-Oriented Analysis and Design Attempts to balance emphasis on data and process Uses Unified Modeling Language (UML) for diagramming Use-case

Slide 6

Inheritance

Page 7: Slide 1 Object-Oriented Analysis and Design Attempts to balance emphasis on data and process Uses Unified Modeling Language (UML) for diagramming Use-case

Slide 7

Polymorphism

Page 8: Slide 1 Object-Oriented Analysis and Design Attempts to balance emphasis on data and process Uses Unified Modeling Language (UML) for diagramming Use-case

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: Slide 1 Object-Oriented Analysis and Design Attempts to balance emphasis on data and process Uses Unified Modeling Language (UML) for diagramming Use-case
Page 10: Slide 1 Object-Oriented Analysis and Design Attempts to balance emphasis on data and process Uses Unified Modeling Language (UML) for diagramming Use-case

Unified Process

Page 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

UML 2.0 Diagram Summary