Update URM Version to 1.4.4 and regenerated all puml files

This commit is contained in:
NooBxGockeL
2016-11-26 12:51:06 +01:00
parent 8574e06966
commit 7d995056ff
85 changed files with 1885 additions and 1742 deletions

View File

@ -1,29 +1,38 @@
@startuml
package com.iluwatar.decorator {
interface Hostile {
+ attack() {abstract}
+ fleeBattle() {abstract}
+ getAttackPower() : int {abstract}
}
class App {
- LOGGER : Logger {static}
+ App()
+ main(args : String[]) {static}
}
class Troll {
+ Troll()
class ClubbedTroll {
- LOGGER : Logger {static}
+ ClubbedTroll(decorated : Troll)
+ attack()
+ getAttackPower() : int
}
class SimpleTroll {
- LOGGER : Logger {static}
+ SimpleTroll()
+ attack()
+ fleeBattle()
+ getAttackPower() : int
}
class SmartHostile {
- decorated : Hostile
+ SmartHostile(decorated : Hostile)
interface Troll {
+ attack() {abstract}
+ fleeBattle() {abstract}
+ getAttackPower() : int {abstract}
}
class TrollDecorator {
- decorated : Troll
+ TrollDecorator(decorated : Troll)
+ attack()
+ fleeBattle()
+ getAttackPower() : int
}
}
SmartHostile --> "-decorated" Hostile
Troll ..|> Hostile
SmartHostile ..|> Hostile
TrollDecorator --> "-decorated" Troll
ClubbedTroll --|> TrollDecorator
SimpleTroll ..|> Troll
TrollDecorator ..|> Troll
@enduml