, Adapter , ', , .
, 볺. , , , .
- .
UML , ( )
Adapter Adaptee Target ( Adapter). ' Client ' Adaptee , Target.
' ' , .
. , .
( )
, Decorator , '. Decorator .
', , . , '.
' .
ConcreteComponent , . , ConcreteComponent. ConcreteComponent , . Component .
, , '. ' ConcreteComponent.
, , , . - '.
- '- ', ' ' ConcreteComponent.
- Java -.
|
|
4.3. ( )
Proxy ( ) . ', , .
', ' .
'. , ' (' ' ', ' ' ). ' ', , ', ', '. ' ' , , , '.
', :
- '⳻
- ',
- , ' .
4.4. (Composite) / /
4.5. ̳ ( )
̳ (. Bridge) - , .
³ , .
, . , - . . ' , , .
̳ , :
- ' . , , ;
- , . ̳ ;
- 볺, 볺 ;
- 볺 ;
- ' ( ), 볺.
UML , ̳
- Abstraction :
- ;
- ' Implementor;
- RefinedAbstraction :
- , Abstraction;
- Implementor :
- . ³ ' Abstraction. . , Implementor , Abstraction , ;
- ConcreteImplementor :
- Implementor.
³
|
|
' Abstraction Implementor 볺a.