Skip to Content
Visual Modeling with Rational Rose 2002 and UML
book

Visual Modeling with Rational Rose 2002 and UML

by Terry Quatrani
October 2002
Intermediate to advanced content levelIntermediate to advanced
288 pages
5h 4m
English
Addison-Wesley Professional
Content preview from Visual Modeling with Rational Rose 2002 and UML

Documenting Classes

As classes are created, they should also be documented. The documentation should state the purpose of the class and not the structure of the class. For example, a Student class could be documented as follows:

Information needed to register and bill students. A student is someone currently registered to take classes at the University.

A bad definition would be the following:

The name, address, and phone number of a student.

This definition only tells me the structure of the class, which can be determined by looking at its attributes. It does not tell me why I need the class.

Difficulty in naming or documenting a class may be an indication that it is not a good abstraction. The following list typifies things that can happen ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

UML for Mere Mortals®

UML for Mere Mortals®

Robert A. Maksimchuk, Eric J. Naiburg
Software Architecture and Design Illuminated

Software Architecture and Design Illuminated

Kai Qian, Xiang Fu, Lixin Tao, Chong-wei Xu
Professional Application Lifecycle Management with Visual Studio® 2010

Professional Application Lifecycle Management with Visual Studio® 2010

Mickey Gousset, Brian Keller, Ajoy Krishnamoorthy, Martin Woodward

Publisher Resources

ISBN: 0201729326Purchase book