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.
Before you begin
A diagram must be open in the
Modeling perspective
that contains at least one class and one interface.
About this task
To specify that
a class realizes an interface:
Procedure
- In the Palette, on the Create tab,
under Class, click Interface Realization.
- In the diagram editor, click the class and drag the cursor
to the interface.
- Optional: Type a name for the interface realization
relationship.