O'Reilly logo

Visual Modeling with Rational Rose 2002 and UML by Terry Quatrani

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Displaying Attributes and Operations

Attributes and Operations may be displayed on a class diagram. Often, a class diagram is created specifically for this purpose—it shows the structure and behavior of the classes in a package. Relationships typically are not shown on this diagram.

CREATING A CLASS DIAGRAM TO SHOW THE ATTRIBUTES AND OPERATIONS FOR A PACKAGE

1.
Right-click to select the package in the browser and make the shortcut menu visible.
2.
Select the New:Class Diagram menu choice. A class diagram called NewDiagram will be added to the browser.
3.
With the new diagram selected, enter the name of the diagram.

ADDING CLASSES TO A DIAGRAM ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required