plantuml例子

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u010144805/article/details/82343423
@startuml
skinparam classAttributeIconSize 0

package "class Class Model(桥接模式)" #DDDDDD {

	abstract class Abstraction
	Abstraction : +operation()
	note right: 抽象部分
	
	class RefinedAbstraction
	note right:优化的抽象部分
	
	interface Implementor
	Implementor : +operationImpl()
	note right:实现部分
	
	class Client
	note right : 客户端

	ConcreteImplementorA : +operationImpl()
	note right:实现部分的具体实现
	
	ConcreteImplementorB : +operationImpl()
	note right:实现部分的具体实现

 	Client --> Abstraction
	RefinedAbstraction --|> Abstraction
	Implementor --o Abstraction
	ConcreteImplementorA ..|> Implementor
	ConcreteImplementorB ..|> Implementor
}
@enduml

猜你喜欢

转载自blog.csdn.net/u010144805/article/details/82343423