Class static structure diagram example

Class static structure diagram defining the types of software objects in a system and their properties

Callout 1 To add attributes (attribute: A data definition held by a class. The structure of a class is described by its attributes. The default syntax for an attribute is: visibility name : type-expression=initial value {property string}), operations (operation: A service that an instance of a class may be requested to perform. The behavior of a class is represented by a set of operations. Each operation has a name and a list of arguments.), and other properties to class (class: In a static structure diagram, a set of objects with similar structure, behavior, and relationships. Classes are declared in class (static structure) diagrams and represent concepts in the systems being modeled.) shapes, double-click a shape to open the UML Class Properties dialog box.

Callout 2 Double-click an association to add adornments, such as multiplicity (multiplicity: The number of objects that can participate in a particular relationship, expressed as a single number or a range from the lower to the upper limit. The most common multiplicities are 1, * (which means 0..infinity), and 0..1.) and navigability (navigability: From a polygon to a point, indicates that the polygon can tell you about all of its points, but the point cannot tell you about the polygon. On an association, navigability is indicated by an arrowhead.).

Callout 3 In addition to the name and type shown here, attributes can also include visibility (visibility: The ability of one element to see or refer to another. For one element to send a message to another element, the latter must be visible to the former.), an initial value, and specify whether the scope is class or instance.

Callout 4 Define the parameters (parameter: An unbound variable that can be changed, passed, or returned. A parameter can include a name, type, and direction of communication. Parameters are used to specify operations, messages, events, templates, and more.) of an operation fully in a diagram when you want to communicate detailed programming specifications.

 
 
Applies to:
Visio 2007