The 'Gang of Four' Companion:

Bridge Design Pattern

Formal specification of design patterns in LePUS3 and Class-Z

Print this document

This page is part of the The 'Gang of Four' Companion dedicated to the formal specification in LePUS3 and Class-Z of patterns from the 'Gang of Four' catalogue [Gamma et al 1995].



The Bridge design motif

The informal description: Excerpts from [Gamma et al. 1995] (adapted for this purpose):

Intent: Decouple an abstraction from its implementation so that the two can vary independently.

Structure: Original OMT diagram converted to UML (Why and How?):

Bridge in UML


Collaborations: Abstraction forwards client requests to its Implementor object.

Formal specification

See also:

Bridge in LePUS3
Bridge in LePUS3 (legend)
Bridge in Class-Z (legend)