feat: adjiust class diagram

This commit is contained in:
Leon Etienne 2023-02-28 17:19:16 +01:00
parent 986c1f5c99
commit 5143f87470
Signed by: leonetienne
SSH Key Fingerprint: SHA256:hs2AZKjRTbd2kYg44u89rM19UT2LyBOpSbIShsdkkfg
2 changed files with 8 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 367 KiB

After

Width:  |  Height:  |  Size: 374 KiB

View File

@ -89,7 +89,7 @@ class Participant #IMPLEMENTED_COLOR {
+setMasterRecord(masterRecord: MasterRecord): void
}
class WineProperty #IMPLEMENTED_COLOR {
class WineKind #IMPLEMENTED_COLOR {
-uid: Int
-name: String
-description: String
@ -112,11 +112,12 @@ class Wine #IMPLEMENTED_COLOR {
-vintage: int
-quality: int
-taste: String
-properties: List<WineProperty>
-winekinds: List<WineKind>
-ap_nr: String
-acidity: float
-sugar: float
-alc: float
-volume: float
-price: float
-status: String
+getUid(): Int
@ -139,8 +140,8 @@ class Wine #IMPLEMENTED_COLOR {
+setQuality(quality: int): void
+getTaste(): String
+setTaste(taste: String): void
+getProperties(): List<WineProperty>
+setProperties(properties: List<WineProperty>): void
+getWinekinds(): List<Winekind>
+setWinekinds(winekinds: List<WineKind>): void
+getApNr(): String
+setApNr(ap_nr: String): void
+getAcidity(): float
@ -149,6 +150,8 @@ class Wine #IMPLEMENTED_COLOR {
+setSugar(sugar: float): void
+getAlc(): float
+setAlc(alc: float): void
+getVolume(): float
+setVolume(volume: float): void
+getPrice(): float
+setPrice(price: float): void
+getStatus(): String
@ -196,7 +199,7 @@ Category "1" <-- "*" Wine
Grape "1" <-- "*" Wine
Vinesite "1" <-- "*" Wine
Participant "1" <-- "*" Wine
WineProperty "1" <-- "*" Wine
WineKind "1" <-- "*" Wine
Jahresauswahlprobe "*" <-- "*" Wine
legend right