Home > Articles > Programming > C#

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

The Class Diagram

The UML diagram in Figure 15-2 for the Bridge class shows the separation of the interface and the implementation quite clearly. The Bridger class on the left is the Abstraction, and the ListBridge class is the implementation of that abstraction. The VisList interface describes the public interface to the list classes ProductList and GridList. The VisList interface defines the interface of the Implementor, and the Concrete Implementors are the ProductList and GridList classes.

Figure 15-2Figure 15-2. The UML diagram for the Bridge pattern used in the two displays of product information

Note that these two Concrete Implementors are quite different in their specifics even though they both support the VisList interface.

  • + Share This
  • 🔖 Save To Your Account