java-design-patterns/proxy/etc/proxy.urm.puml

24 lines
469 B
Plaintext

@startuml
package com.iluwatar.proxy {
class WizardTowerProxy {
- NUM_WIZARDS_ALLOWED : int {static}
- numWizards : int
+ WizardTowerProxy()
+ enter(wizard : Wizard)
}
class WizardTower {
+ WizardTower()
+ enter(wizard : Wizard)
}
class App {
+ App()
+ main(args : String[]) {static}
}
class Wizard {
- name : String
+ Wizard(name : String)
+ toString() : String
}
}
WizardTowerProxy --|> WizardTower
@enduml