Interface Interface 5

[navigator] [guidelinePackage]General UML Guidelines [bullet][guidelinePackage]Classifiers [bullet]InterfaceInterface (Interface)

[help_web]

An interface is a kind of classifier that represents a declaration of a set of coherent public features and obligations.

An interface specifies a contract; any instance of a classifier that realizes the interface must fulfill that contract.

The obligations that may be associated with an interface are in the form of various kinds of constraints (such as pre- and post-conditions) or protocol specifications, which may impose ordering restrictions on interactions through the interface.

Interfaces may include receptions (in addition to operations). Since an interface specifies conformance characteristics, it does not own detailed behavior specifications. Instead, interfaces may own a protocol state machine that specifies event sequences and pre/post conditions for the operations and receptions described by the interface.

[collapsed] [expanded] Properties

Rules

[collapsed] [expanded] Parent

An element of one of the following kinds:

[collapsed] [expanded] Nested Elements

Rules

[collapsed] [expanded] Diagrams

Rules

[collapsed] [expanded] Relations

Rules

[collapsed] [expanded] Usage