In UML models, a relationship is a connection between model elements, including classifiers. A UML relationship is a type of model element that adds semantics to models. You can add and modify relationships in models to identify the semantic ties between classifiers.
Adding relationships to diagrams
In UML diagrams, you can add relationships to diagram elements to describe how they relate to each other.Renaming relationships
In UML models, you can rename a relationship to reflect a change in its purpose.Deleting relationships
You can delete relationships from a model and from all diagrams in the model. When you delete a relationship from a model, you also delete all the connectors that represent that relationship in diagrams.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.
Parent topic: Modeling static structure by using class diagrams
Related concepts
Relationships between model elements
Classifiers
Related reference
Relationship types