Operator Design Pattern Adapter
Objective Modify the interface of an object
Parameters Objects: ADAPTEE, TARGET;
Subtasks
1 - Specify Adaptation Object: ADAPTEE, TARGET -> ADAPTER
1.1 - Create Object: -> ADAPTER
1.2 - Compose/Inherit Objects: ADAPTEE, ADAPTER -> ADAPTER
1.3 - Inherit Objects: TARGET, ADAPTER -> ADAPTER
1.4 - Specify Links: ADAPTEE, ADAPTER -> ADAPTER
Consequences
ADAPTER will contain most of ADAPTEE functionality
available through the TARGET object interface
Product Text
ADV/ADO ADAPTER
Declarations
...
Nested ADVs/ADOs
Compose ADAPTEE;
Inherit TARGET;
...
Dynamic Properties
Interconnection
With ADV/ADO ADAPTEE
TargetActions --> AdapteeActions;
End ADAPTER
End Operator
Tex version