Specifying Interfaces
An interface represents the visible part of a class or package in a contractual client-supplier type relationship. The interface is a class stereotype.
An interface is a named set of operations that describe the behavior of an element. In particular, an interface represents the visible part of a class or package in a contractual client-supplier type relationship.
These are interfaces between the different components of the computer system.
Creating an Interface
To create an interface class:
1. Click the
Interface button

in the toolbar and click in the drawing.
2. Enter its name in the dialog box that appears.
The interface class appears in the drawing with a distinctive circle top right:
You can then specify the operations of the interface as for any other class.
To specify that an interface is supported by a class:
1. Click the

button.
2. Then create the link from the supplier class to the supported interface.
To indicate that a class requires an interface:
1. Click the

button.
2. Then create the link from the client class to the interface required.