Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Microsoft Office Visio
Search
Search
 
Check for updates: (c) Microsoft
Office downloads
 
 
 
Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
Class static structure diagram example
 

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

Callout 1To 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 2Double-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 3In 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 4Define 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.

advertisement