feat: change class diagram

This commit is contained in:
Leon Etienne 2023-02-28 16:43:44 +01:00
parent a59bcc6e52
commit 986c1f5c99
Signed by: leonetienne
SSH Key Fingerprint: SHA256:hs2AZKjRTbd2kYg44u89rM19UT2LyBOpSbIShsdkkfg
2 changed files with 12 additions and 9 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 364 KiB

After

Width:  |  Height:  |  Size: 367 KiB

View File

@ -105,6 +105,7 @@ class Wine #IMPLEMENTED_COLOR {
-uid: Int -uid: Int
-name: String -name: String
-participant: Participant -participant: Participant
-jahresauswahlprobe Jahresauswahlprobe
-grapeVariety: Grape -grapeVariety: Grape
-vinesite: Vinesite -vinesite: Vinesite
-category: Category -category: Category
@ -124,6 +125,8 @@ class Wine #IMPLEMENTED_COLOR {
+setName(name: String): void +setName(name: String): void
+getParticipant(): Participant +getParticipant(): Participant
+setParticipant(participant: Participant): void +setParticipant(participant: Participant): void
+getJahresauswahlprobe(): Jahresauswahlprobe
+setJahresauswahlprobe(participant: Jahresauswahlprobe): void
+getGrapeVariety(): Grape +getGrapeVariety(): Grape
+setGrapeVariety(grapeVariety: Grape): void +setGrapeVariety(grapeVariety: Grape): void
+getVinesite(): Vinesite +getVinesite(): Vinesite
@ -153,10 +156,10 @@ class Wine #IMPLEMENTED_COLOR {
} }
class Jahresauswahlprobe #IMPLEMENTED_COLOR { class Jahresauswahlprobe #IMPLEMENTED_COLOR {
-uid: Int
-allowedVinesites: List<Vinesite> -allowedVinesites: List<Vinesite>
-allowedCategories: List<Category> -allowedCategories: List<Category>
-allowedGrapes: List<Grape> -allowedGrapes: List<Grape>
-participatingWines: List<Wine>
-name: String -name: String
-description: String -description: String
-dateAllowRegistration_start: Date -dateAllowRegistration_start: Date
@ -169,8 +172,6 @@ class Jahresauswahlprobe #IMPLEMENTED_COLOR {
+setAllowedCategories(allowedCategories: List<Category>): void +setAllowedCategories(allowedCategories: List<Category>): void
+getAllowedGrapes(): List<Grape> +getAllowedGrapes(): List<Grape>
+setAllowedGrapes(allowedGrapes: List<Grape>): void +setAllowedGrapes(allowedGrapes: List<Grape>): void
+getParticipatingWines(): List<Wine>
+setParticipatingWines(participatingWines: List<Wine>): void
+getName(): String +getName(): String
+setName(name: String): void +setName(name: String): void
+getDescription(): String +getDescription(): String
@ -183,18 +184,20 @@ class Jahresauswahlprobe #IMPLEMENTED_COLOR {
+setDateAllowShowStart(dateAllowShowStart: Date): void +setDateAllowShowStart(dateAllowShowStart: Date): void
+getDateAllowShowEnd(): Date +getDateAllowShowEnd(): Date
+setDateAllowShowEnd(dateAllowShowEnd: Date): void +setDateAllowShowEnd(dateAllowShowEnd: Date): void
+getUid(): Int
+setUid(uid: Int): void
} }
MasterRecord "1" --> "1" Participant MasterRecord "1" --> "1" Participant
MasterRecord "1" --> "*" Property MasterRecord "1" --> "*" Property
Property "1" --> "*" Address Property "1" --> "*" Address
Property <|-- Winery Property <|-- Winery
Category "1" --> "*" Wine Category "1" <-- "*" Wine
Grape "1" --> "*" Wine Grape "1" <-- "*" Wine
Vinesite "1" --> "*" Wine Vinesite "1" <-- "*" Wine
Participant "1" --> "*" Wine Participant "1" <-- "*" Wine
WineProperty "1" --> "*" Wine WineProperty "1" <-- "*" Wine
Jahresauswahlprobe "*" --> "*" Wine Jahresauswahlprobe "*" <-- "*" Wine
legend right legend right
<font color=white>Legend:</font> <font color=white>Legend:</font>