Interface

StarUML

Interface

Top  Previous  Next

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.

ch05_2074

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.

ch05_2075

3.Press [Enter] key. Then the result is as follows.

ch05_2076

Procedure for creating providing relationship

In order to create providing relationship,

1.Click [Toolbox] -> [Class] -> [Realization] button.

ch05_2077

2.Drag from one(Class, Port, Part, Package, Subsytem) and drop to interface in the [main window].

ch05_2078

3.Then providing interface relationship is created as follows.

ch05_2079

Procedure for creating requiring relationship

In order to create requiring relationship,

1.Click [Toolbox] -> [Class] -> [Dependency] button.

ch05_2080

2.Drag from one(Class, Port, Part, Package, Subsytem) and drop to interface in the [main window].

ch05_2081

3.Then requiring interface relationship is created as follows.

ch05_2082