Work on #190: Add first batch of automagically generated puml files

This commit is contained in:
NooBxGockeL
2016-08-30 13:29:12 +02:00
parent e73867f9a1
commit 36fe249960
86 changed files with 4700 additions and 0 deletions

View File

@ -0,0 +1,48 @@
@startuml
package com.iluwatar.memento {
class Star {
- ageYears : int
- massTons : int
- type : StarType
+ Star(startType : StarType, startAge : int, startMass : int)
~ getMemento() : StarMemento
~ setMemento(memento : StarMemento)
+ timePasses()
+ toString() : String
}
interface StarMemento {
}
-class StarMementoInternal {
- ageYears : int
- massTons : int
- type : StarType
- StarMementoInternal()
+ getAgeYears() : int
+ getMassTons() : int
+ getType() : StarType
+ setAgeYears(ageYears : int)
+ setMassTons(massTons : int)
+ setType(type : StarType)
}
class App {
+ App()
+ main(args : String[]) {static}
}
enum StarType {
+ DEAD {static}
+ RED_GIANT {static}
+ SUN {static}
+ SUPERNOVA {static}
+ UNDEFINED {static}
+ WHITE_DWARF {static}
- title : String
+ toString() : String
+ valueOf(name : String) : StarType {static}
+ values() : StarType[] {static}
}
}
StarMementoInternal --> "-type" StarType
Star --> "-type" StarType
StarMementoInternal ..+ Star
StarMementoInternal ..|> StarMemento
@enduml