Documenting Operations

I l @ ve RuBoard

Each operation should be documented so the reader of the model can quickly understand its purpose. The documentation should state the functionality performed by the operation. It should also state any input values needed by the operation along with the return value of the operation. The input and return values constitute the operation signature. This information may not be known initially. Instead, it may be added later in the life cycle when more is known about the class.


  1. Click the + next to the class in the browser to expand the class.

  2. Click to select the operation.

  3. Position the cursor in the documentation window and enter the documentation for the operation.

The documentation for the setProfessor() operation of the Course class is shown in Figure 7-3.

Figure 7-3. Operation Documentation


I l @ ve RuBoard

Visual Modeling with Rational Rose 2002 and UML
Visual Modeling with Rational Rose 2002 and UML (3rd Edition)
ISBN: 0201729326
EAN: 2147483647
Year: 2002
Pages: 134

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: