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.
Specifying that a class implements an interface
In UML modeling, you can illustrate that a class supports, or relies on, the behavior that is defined in an interface.Specifying a required interface
In UML modeling, you can specify the services that a component needs to perform its functions and to fulfill its own obligations to its clients.Specifying a provided interface
In UML modeling, you can specify the services that instances of a component offers to their clients.
Parent topic: Managing relationships between classifiers
Parent topic: Modeling the component and services view of an application
Related concepts
Interfaces
Component diagrams