diff --git a/images/class-diagram.png b/images/class-diagram.png index b5a0681..2ff3b8a 100644 Binary files a/images/class-diagram.png and b/images/class-diagram.png differ diff --git a/images/class-diagram.puml b/images/class-diagram.puml index 134115c..060ccb8 100644 --- a/images/class-diagram.puml +++ b/images/class-diagram.puml @@ -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 -allowedCategories: List -allowedGrapes: List - -participatingWines: List -name: String -description: String -dateAllowRegistration_start: Date @@ -169,8 +172,6 @@ class Jahresauswahlprobe #IMPLEMENTED_COLOR { +setAllowedCategories(allowedCategories: List): void +getAllowedGrapes(): List +setAllowedGrapes(allowedGrapes: List): void - +getParticipatingWines(): List - +setParticipatingWines(participatingWines: List): 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 Legend: