Class Scope Operations and Attributes

Class Scope Operations and Attributes

UML refers to an operation or an attribute that applies to a class, rather than an instance, as having class scope. This is equivalent to static members in C++ or Java and to class variables and methods in Smalltalk. Class scope features are underlined on a class diagram (see Figure 6-3).

Figure 6-3. Class Scope Notation
graphics/06fig03.gif