Semantics
An interface is a specifier for the externally-visible operations of a class, component, or other classifier (including subsystems) without specification of internal structure.
Procedure for creating interface
In order to create class,
1. | Click [Toolbox] -> [Class] -> [Interface] button. |
2. | And click at the position where interface will be placed in the [main window]. Then interface quick dialog is opened. Enter the interface name at the quick dialog. |
3. | Press [Enter] key. Then the result is as follows. |
Procedure for creating providing relationship
In order to create providing relationship,
1. | Click [Toolbox] -> [Class] -> [Realization] button. |
2. | Drag from one(Class, Port, Part, Package, Subsytem) and drop to interface in the [main window]. |
3. | Then providing interface relationship is created as follows. |
Procedure for creating requiring relationship
In order to create requiring relationship,
1. | Click [Toolbox] -> [Class] -> [Dependency] button. |
2. | Drag from one(Class, Port, Part, Package, Subsytem) and drop to interface in the [main window]. |
3. | Then requiring interface relationship is created as follows. |
|