ConcreteDecorateTwo
Component:conponent
Decorate
-Component:conponent
+Method();
类
+ attribute1:type = defaultValue+ attribute2:type- attribute3:type
+ operation1(params):returnType- operation2(params)- operation3()
父类装饰器
ConcreteComponent
+method
待装饰的父接口
具体的装饰器
ConcreteDecorateOne
component
被装饰的原始类