Class
diagrams model the static structure of a package or of a complete system.
About this task
As the blueprints of your system, class diagrams model the objects
that make up the system, allowing you to display the relationships among those
objects and to describe what the objects can do and the services they can
provide.
Specifying relationships in diagrams In
UML, relationships identify the semantic ties that exist between model elements.
To add relationships to a model, you must work either in the diagram editor
or in the Project Explorer view.
Adding qualifiers to associations In
UML models, you can add qualifiers to existing associations to index pairings
between associated elements.
Adding interfaces to modeling diagrams In
UML modeling, you can add interfaces to class diagrams and component diagrams
to specify a contract between the interface and the classifier that realizes
the interface.
Managing attributes and operations in classifiers
In UML diagrams, you can
add, delete, show, hide, and sort attributes and operations in classifiers
to determine how they are displayed and to define the properties and
behavior of the classifiers to which they belong.
Setting the properties of a model element In a class diagram, you can set
properties of model elements to specify how model elements interact
with each other in a class diagram.
Modifying template parameters and arguments In
UML models, you can use parameterized classes and collaborations to generate
new model elements by binding them to a template. Each template parameter
that you create uses a type, either a primitive data type or a type of model
element. When you create a binding relationship for the parameterized classes
or collaborations, you can add an argument that replaces the template parameter
in the new generated element.