Professional Documents
Culture Documents
Object Oriented Design - Part 1
Object Oriented Design - Part 1
Software Development:
Modelling a System
Chapter 31
An overview of software
development
Software Development Activities
Requirements Analysis
Design
Implementation
Testing
OO Software Development
Activities
Producing a negotiated statement of
requirements.
h a s On Lo a n i s Co py Of
Me mb e r Co p y Fi l m
h a s On Lo a n i s Co py Of
Me mb e r Co p y Fi l m
0. . 1 0. . 2 1. . * 1
Multiplicities
Object Diagram
c opy3 :
Copy
me mbe r 1 :
Me mbe r f i l m1 : Fi l m
c opy1 :
Copy
me mbe r 2 :
Me mbe r
c opy2 :
Copy
me mbe r 3 :
Me mbe r f i l m2 : Fi l m
c opy4 :
Copy
Class: Member
Attributes:
name "The name of the member"
memberNo "The unique membership number of the member"
Class: Copy
Attributes:
copyNo "The unique identifying number of the copy"
Class: Film
Attributes:
title "The unique title of the film"
Constructing Dynamic Models
This stage is about analysing the
behaviour.
nu mb e r Av a i l a b l e ( a Ti t l e )
1
g e t Numb e r Ava i l a b l e
a Nu mbe r
roles
events
organizational units
Hospital Admission and Treatment System
The statement of requirements
This part of the system is concerned with the admission,
treatment and discharge of patients. When a patient is
admitted to the hospital, he or she is placed in the care of a
team of doctors. Each team is headed by a consultant doctor
who is responsible for the patients assigned to that team. A
record has to be kept of the doctors in a team who have
actually treated the patient while in hospital.
Hospital Admission and Treatment System
The statement of requirements
The system should be able to:
record the admission of a patient to the hospital;