December 2001
Beginner
976 pages
22h 4m
English
A UML class is represented as a rectangle with one, two, or three compartments. Figures A.1 and A.2 illustrate a class with three compartments: The top one is used to show the class name and eventually a stereotype. We will explain shortly what a stereotype is. The second (middle) compartment is used to display the class attributes. The third (lower) one is used to display the class operations (including constructors). Either the middle or the lower compartment or both can be omitted. Most UML tools provide a way to hide either one. This is sometimes helpful, especially when dealing with classes that have many operations, for example.
The class name compartment can also contain a stereotype. In UML a stereotype ...
Read now
Unlock full access