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 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.
Specifying that a class realizes an interface in UML diagrams
In a UML diagram, you can
illustrate that a class supports, or relies on, the behavior that
is defined in an interface. You typically use an interface realization
relationship to specify that a class implements an interface and its
methods.