责任链模式
2018-01-31 15:48:43 23 举报
23中设计模式-责任链设计模式关系结构类图
作者其他创作
大纲/内容
LeaveRequest
+ name : String + leaveDays : int + reason : String
Manager
+ Manager (name : String)+ setNextLeader (nextLeader : Leader) : void+ handleRequest (request : LeaveRequest ) : void
Director
+ Director (name : String)+ setNextLeader (nextLeader : Leader) : void+ handleRequest (request : LeaveRequest ) : void
Leader
# name : String# nextLeader : Leader
+ Leader(name : String)+ setNextLeader(nextLeader : Leader) : void+ handleRequest(request : LeaveRequest ) : void
GeneralManager
+ GeneralManager (name : String)+ setNextLeader (nextLeader : Leader):void+ handleRequest (request : LeaveRequest ) : void
0 条评论
回复 删除
下一页