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