Object Oriented Design Part 2
Object Oriented Design Part 2
Software Development:
Detailed Design and
Implementation
Chapter 45
Class Specification
The Detailed Design
The detailed design is the final stage of
the design activity.
It is concerned with specifying how the
structural model may be represented by
appropriate software components which
have the properties required to be able to
realise the system in the subsequent
implementation activity
Design Document
The end-product of the detailed design
activity.
It consists of a class specification for each
class in the system together with the
walk-throughs, sequence diagrams and
class diagram to which the class
specifications refer.
Class Specification
A detailed specification of the instance
variables and methods that a class has to
define.
The detailed design stages
The detailed design stages :
Typical values for the first three attributes are given in the
following table.
Representing Attributes
The name in Person is rather more
complicated.
The person’s name contains many parts (title,
first name, initials, surname).
It’s insufficient to represent it as a simple string; it
won’t highlight each part of the name.
Bearing in mind the possible reuse of the Person