Skip to content

Latest commit

 

History

History

adapter

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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