Upload
others
View
4
Download
0
Embed Size (px)
Citation preview
Slide 1
Systems Analysis and Design With UMLSystems Analysis and Design With UML2.02.0
An ObjectAn Object--Oriented Approach, Second EditionOriented Approach, Second Edition
Chapter 2: Introduction to Object-OrientedSystems Analysis and Design with the UnifiedModeling Language, Version 2.0
Slide 2
Objectives
Understand the basic characteristicsof object-oriented systems.Be familiar with the UnifiedModeling Language (UML), Version2.0.Be familiar with the Unified Process.Understand a minimalist approachto object-oriented systems analysisand design.
Slide 3
Basic Characteristics ofObject Oriented Systems
Classes and ObjectsMethods and MessagesEncapsulation and InformationHidingInheritancePolymorphism and DynamicBinding
Slide 4
Classes and Objects
Class –Template to definespecific instances or objectsObject –Instantiation of a classAttributes –Describes theobjectBehaviors –specify what objectcan do
Slide 6
Methods and Messages
Methods implement an object’sbehavior
Analogous to a function orprocedure
Messages are sent to triggermethods
Procedure call from one object tothe next
Slide 8
Encapsulation andInformation Hiding
Encapsulationcombination of data and process intoan entity
Information HidingOnly the information required to use asoftware module is published to theuser
Reusability KeyUse an object by calling methods
Slide 9
Inheritance
Superclasses or general classesare at the top of a hierarchy ofclassesSubclasses or specific classesare at the bottomSubclasses inherit attributesand methods from classeshigher in the hierarchy
Slide 12
Polymorphism and DynamicBinding
PolymorphismA message can be interpreteddifferently by different classes ofobjects
Dynamic BindingSometimes called late bindingDelays typing or choosing a method foran object until run-time
Static BindingType of object determined at compiletime
Slide 14
The Unified ModelingLanguage, Version 2.0
Structure DiagramsBehavior DiagramsExtension MechanismsDevelopers
Grady BoochIvar JacobsonJames Rumbaugh
Slide 15
Structure Diagram
Structure Diagrams includeClassObjectpackageDeploymentComponentComposite structure diagrams
Slide 17
Structure Diagrams
Classrelationship between classes
ObjectRelationships between objects
PackageGroup UML elements together toform higher level constructs
Slide 18
Structure Diagrams Cont.
DeploymentShows the physical architecture andsoftware components of system
ComponentPhysical relationships among softwarecomponents
Composite StructureIllustrates internal structure of a class
Slide 19
Activity DiagramsActivity
Illustrates business workflowsSequence
Time-based ordering Behavior of objectsactivities in a use case
CommunicationCommunication among a set of collaboratingobjects of an activity
Interaction Overview TimingOverview of flow of control of a process
Slide 20
State Machines
Behavioral State MachineExamines behavior of one class
Protocol State MachineShows dependencies of differentinterfaces of a class
Use-CaseCaptures business requirementsIllustrates interaction between systemand environment
Slide 21
Use Case Diagrams
Captures Business requirementsIllustrates interaction between asystem and its environment
Includes end userAny external system that interacts withits information system
Documents and clarifiesrequirements of system beingmodeled
Slide 22
Object Oriented SystemsAnalysis and Design
• Use-case driven• Architecture Centric• Iterative and Incremental• The Unified Process
Slide 25
A Minimalist Approach
Benefits of Object-OrientedSystems Analysis and DesignExtensions of the UnifiedProcessThe Minimalist Object-OrientedSystems Analysis and DesignApproach
Slide 28
Basic Characteristics ofObject Oriented Systems
Identifying business valueAnalyze feasibilityDevelop workplanStaff the projectControl and direct projectRequirements determinationFunctional modelingStructural modelingBehavioral modelingMoving on to design
Slide 29
UML Summary
Class and method designData management layer designHuman computer interaction layerdesignPhysical architecture layer designConstructionInstallationOperations and support