Properties of types on UML class diagrams
Note
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
In a UML Class Diagram, a type is a class, an interface, or an enumeration.
Note
This topic is about the properties of types in UML Class Diagrams. For more information, see the following topics:
Properties
These are the properties of a class, interface or enumeration.
To see the properties of a type, right-click the type in the diagram or in UML Model Explorer, and then click Properties. The properties appear in the Properties window.
Property | Default | Appears in | Description |
---|---|---|---|
Name | A default name | All elements | Identifies the element. |
Qualified Name | Containing Package :: Type Name | All elements | Identifies the element uniquely. Prefixed with the qualified name of the package that contains it. |
Color | Default for the kind of type | All elements | The color of this shape. Unlike the other properties, this is not a property of the underlying model element. Different views of the same type can have different colors. |
Is Abstract | False | Class | If true, the class cannot be instantiated, and is intended for use as a base class. |
Is Leaf | False | Class, Interface | If true, the type is not intended to have derived types. |
Is Active | False | Class | If true, each instance of this type is associated with a thread of control. |
Visibility | Public | Class, Interface, Enumeration | - Public - globally visible. - Private - this type is visible within the package that owns it. - Package - visible within the package. |
Work Items | 0 associated | All elements | The number of work items associated with this element. To associate work items, see Link model elements and work items. |
Description | (blank) | All elements | You can make general notes about the item here. |
Template Binding | (none) | Class, Interface, Enumeration | If not empty, this type is defined by binding parameter values to this template class. Expand the property to see the bindings of the template parameters. |
Template Parameters | (none) | Class, Interface, Enumeration | If not empty, this is a template class that has the parameters listed here. To add parameters or view the properties of individual parameters, click […]. |
See Also
Properties of attributes on UML class diagrams Properties of operations on UML class diagrams Properties of associations on UML class diagrams UML Class Diagrams: Guidelines