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