Professional Documents
Culture Documents
Object-Oriented Analysis
Object-Oriented Analysis
Domain Analysis
class taxononmies
techncial literature
SOURCES OF reuse standards DOMAIN
DOMAIN existing applications DOMAIN ANALYSIS
KNOWLEDGE ANALYSIS functional models MODEL
customer surveys
domain languages
expert advice
current/future requirements
Domain analysis is performed when an
organization wants to create library of
reusable components that will broadly
applicable to an entire category of
applications
Reuse and domain analysis
Two teams
Team A does not have class library
Team B uses robust class library
Domain analysis process
Object-Oriented Analysis
CRC Cards
CRC cards rely on small pieces of paper (approx 15cm x 8cm)
used by members of a team to identify classes.
Class Name:
Responsibilities Collaborations
12/08/2021 9
CRC definitions
The SecondsTicker
pulses the Clock
Object-Oriented Analysis
Scenario 1: The Ticker Ticks
The SecondsTicker
pulses the Clock
The Clock updates
Time
Object-Oriented Analysis
Scenario 1: The Ticker Ticks
• The SecondsTicker
pulses the Clock
• The Clock updates
Time
• Time updates itself
Object-Oriented Analysis
Scenario 2: Clock Responds with the
Time
Display the time
Object-Oriented Analysis
Scenario 2: Clock Responds with the
Time
Display the time
Return hours,
minutes, & seconds
Object-Oriented Analysis
Scenario 2: Clock Responds with the
Time
Display the time
Return hours,
minutes, & seconds
Translate the time
into the display
format
Object-Oriented Analysis
Testing during the OOA Phase
CRC cards are an excellent testing technique
card
bank account
(ATM) dispenser
&
session – vague (it might become of interest)
Data associated
Card class:
Card
Responsibilities Collaborations
Manage (validate, change) PIN. Bank account provides bank details.
Dispenser
Responsibilities Collaborations
Check if cash available.