Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the...

18
Slide 1 UML Review Chapter 2: Introduction to Object- Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis, Barbara Wixom, and David Tegarden © 2005 John Wiley & Sons, Inc. Some slides are added for clarity and content by Dr. Stoecklin, FSU

Transcript of Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the...

Page 1: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 1

UML Review

Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0Alan Dennis, Barbara Wixom, and David Tegarden© 2005John Wiley & Sons, Inc.

Some slides are added for clarity and content by Dr. Stoecklin, FSU

Page 2: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 2

Copyright © 2005John Wiley & Sons, Inc.

All rights reserved. Reproduction or translation of this work beyond that permitted in Section 117 of the 1976 United States Copyright Act without the express written permission of the copyright owner is unlawful. Request for further information should be addressed to the Permissions Department, John Wiley & Sons, Inc. The purchaser may make back-up copies for his/her own use only and not for redistribution or resale. The Publisher assumes no responsibility for errors, omissions, or damages, caused by the use of these programs or from the use of the information contained herein.

Page 3: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 3

Unified Modeling Language, Version 2.0

Chapter 2

Page 4: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 4

Basic Characteristics of Object Oriented Systems

Classes and ObjectsMethods and MessagesEncapsulation and Information HidingInheritancePolymorphism and Dynamic Binding

Page 5: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 5

Classes and Objects

Class – Template to define specific instances or objectsObject – Instantiation of a classAttributes – Describes the objectBehaviors – specify what object can do

Page 6: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 6

Classes and Objects

Page 7: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 7

Methods and Messages

Methods implement an object’s behavior

Analogous to a function or procedure

Messages are sent to trigger methods

Procedure call from one object to the next

Page 8: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 8

Polymorphism and Dynamic Binding

PolymorphismA message can be interpreted differently by different classes of objects

Dynamic BindingSometimes called late bindingDelays typing or choosing a method for an object until run-time

Static BindingType of object determined at compile time

Page 9: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 9

Polymorphish & Encapsulation

Page 10: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 10

The Unified Modeling Language, Version 2.0

Structure DiagramsBehavior DiagramsExtension MechanismsDevelopers

Grady BoochIvar JacobsonJames Rumbaugh

Page 11: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 11

Structure Diagram

Structure Diagrams includeClassObjectpackageDeploymentComponentComposite structure diagrams

Page 12: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 12

UML 2.0 Diagram Summary

Page 13: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 13

Structure Diagrams

Classrelationship between classes

ObjectRelationships between objects

PackageGroup UML elements together to form higher level constructs

Page 14: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 14

Structure Diagrams Cont.

DeploymentShows the physical architecture and software components of system

ComponentPhysical relationships among software components

Composite StructureIllustrates internal structure of a class

Page 15: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 15

Activity DiagramsActivity

Illustrates business workflows

SequenceTime-based ordering Behavior of objects activities in a use case

CommunicationCommunication among a set of collaborating objects of an activity

Interaction Overview TimingOverview of flow of control of a process

Page 16: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 16

State Machines

Behavioral State MachineExamines behavior of one class

Protocol State MachineShows dependencies of different interfaces of a class

Use-CaseCaptures business requirementsIllustrates interaction between system and environment

Page 17: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 17

Use Case Diagrams

Captures Business requirementsIllustrates interaction between a system and its environment

Includes end userAny external system that interacts with its information system

Documents and clarifies requirements of system being modeled

Page 18: Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,

Slide 18

UML Summary

Class and method designData management layer designHuman computer interaction layer designPhysical architecture layer designConstructionInstallationOperations and support