Professional Documents
Culture Documents
Object-Oriented
What is Object-
Object-Orientation & Object-
Object-
Analysis and Design Oriented (OO) Methods? (C++, Java,
Oracle??)
(OOAD) What is OO methods used for?
What are the features of OO methods?
IMSE1013 How are they different from SSADM?
Henry Lau
Intro to IS - OOAD 2
Henry
An Object Relationships
Operations:
Work Static:
Static:
Dance relations existing over a long time
Drive objects know about each other existence
Jump Dynamic:
Dynamic:
Attributes: relations which two objects communicate with
Height each other
Eye colour object sending stimuli to other
Hair colour stimuli - events, messages
Weight
Software Reuse
Reuse
Man Dog Easy modification of model by performing
modification in one place
Avoid redundancy,
redundancy, leading to smaller and
soldier navy more efficient model, easier to
understand
Intro to IS - OOAD 27 Intro to IS - OOAD 28
Limitations of SSADM Object-Oriented Methods
Treat data and function separately - Advocate integral objects which encapsulate
function/data oriented method both function and data
More suited to classical hardware Main activities include:
Identification of objects, and
More difficult to maintain and re-
re-configure
Analysing their behaviour and information
Method require more abstraction - not too
Uses object-
object-oriented techniques and ideas:
natural inheritance
Large semantic gap between external and polymorphism
internal view of a system function/data abstraction
Object-Oriented
Finding Objects
Analysis & Design
Naturally occurring entities - physical
1. Finding objects A concept of some abstract ideas - conceptual
Should be stable
2. Organising objects Classes of objects
active/passive
3. Describing how objects interacts temporary/permanent/persistent
4. Defining the operations of objects part/whole
generic/specific
5. Defining objects internally private/public
Travel
SoundHorn
OpenSunRoof
Eiffel, Modula-2, Simula, Java++
OK
Failed behaviors
Analysis Model Design Model Implementation Model Test Model
Requirement -
Requirement Model
Use Case Model
Actors:
uses
Essential system entities
uses from an user view point
Actor3
Actor1 Use Case1 Interacts with system
Changes system behavior
Use Case2
Control system
uses Actor1 functionality
System
Actor2
Intro to IS - OOAD 47 Intro to IS - OOAD 48
Requirement Model Analysis Model
System - define the Structure a system
boundary independently to the
Data2
1
Class B
Type
1..N 1
Class C
CheckStatus
Class D
GenerateReport()
persistent
CheckStatus()
persistent 1
FMC Workstation
1
1 1
0..N
1 1 1
GUI
Robot Mechine Centre NC Machine
Forces in Software
Unified Modeling Cost
Functionality
Compatibility
Performance Throughput
Technology Resilience
The challenge over the next 20 years will not be speed or cost or
performance; it will be a question of complexity.
Bill Raduchel, Chief Strategy Officer, Sun Microsystems
constructing
Scenario State
documenting Scenario
Diagrams
Collaboration
Diagrams Models
State
Diagrams
Component
Diagrams
Diagrams Diagrams
the artifacts of a software-
software-intensive system
Scenario Component
Scenario
Diagrams
Component
Diagrams
Deployment
Statechart
Diagrams Diagrams
Diagrams Diagrams
Activity
Diagrams
Intro to IS - OOAD 67 Intro to IS - OOAD 68