In a class diagram, you can set
properties of model elements to specify how model elements interact
with each other in a class diagram.
About this task
For more information about properties, read the Unified
Modeling Language 2.1 Superstructure specification that is available
on the Object Management Group (OMG) Web site.
Setting the concurrency property of an operation In
UML models, you can specify the concurrency property of an operation in an
active object to determine how a system behaves when the operation is called
by another active object.
Setting the multiplicity property
In UML diagrams, you can
set the multiplicity value on each end of an association between classifiers
to show the number of objects that can participate in the relationship.
You can also set the multiplicity of an attribute to specify the number
of values that you can associate with that attribute.
Setting the type property In
UML models, you can specify the type of an attribute, an operation, a parameter,
and an association.
Setting visibility properties In
UML models, you can specify whether a model element can be seen outside of
the container in which the model element is located by other model elements.
Setting qualifiers In
UML models, you can select qualifiers for model elements to indicate that
a model element is derived from other model elements, or that a model element
does not have any children. For more information on qualifiers, see the Unified
Modeling Language (UML) specification that is available on the Object Management
Group (OMG) Web site.
Setting the default values for model elements In
UML models, you can specify default values for association ends, attributes,
and parameters. Attributes and association ends take default values which
are also called initial values when instances of classifiers are created.
The parameters of an operation take default values if the call to the operation
does not pass explicit parameter values.
Setting the static property In
UML models, you can set the static property for association ends, attributes,
and operations to specify whether they have class or instance scope.