Classe "Interface"

Description

Propriétaire : Méta-modèle UML simplifié

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. Since interfaces are declarations, they are not instantiable. Instead, an interface specification is implemented by an instance of an instantiable classifier, which means that the instantiable classifier presents a public facade that conforms to the interface specification. Note that a given classifier may implement more than one interface and that an interface may be implemented by a number of different classifiers.Constraints: - The visibility of all features owned by an interface must be public.

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

Classes parentes :

Diagrammes de classes :