Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 828 Bytes

File metadata and controls

30 lines (18 loc) · 828 Bytes

Main idea

Makes it possible for classes with incompatible interfaces to still work together.

Also known as

  • Wrapper

Why you need it

You will need this pattern when you want to use an interface from another application that does not directly map to your domain-knowledge application.

Generic Example

Class Diagrams (Class & Object Adapter Pattern diagrams)

Foreign Currency Account Example

Class Diagrams (Class & Object Adapter Pattern diagrams)


>> back-to-structural

>> back-to-main