bridge.txt 567 B

123456789101112131415161718192021222324252627282930313233
  1. @startuml
  2. /' BRIDGE '/
  3. class Abstraction {
  4. # operation()
  5. - protected_implementation (operationImp)
  6. }
  7. interface Implementor {
  8. # operationImp()
  9. }
  10. class ConcreteImplementorA {
  11. + operationImp()
  12. }
  13. class ConcreteImplementorB {
  14. + operationImp()
  15. }
  16. Abstraction *-- Implementor
  17. Implementor <|-- ConcreteImplementorA
  18. Implementor <|-- ConcreteImplementorB
  19. note as N1
  20. <b><color:royalBlue>Bridge</color></b>
  21. <b>Type:</b> Structural
  22. Découple l'abstraction de son implémentation
  23. et les 2 peuvent évouer indépendamment.
  24. end note
  25. @enduml