HSWO_BSC_BACHELORS_THESIS/images/class-diagram.puml

197 lines
4.9 KiB
Plaintext
Raw Normal View History

2023-02-24 12:25:22 +01:00
@startuml
!define IMPLEMENTED_COLOR cornsilk
!define OUT_OF_SCOPE_COLOR lightsteelblue
skinparam legendBackgroundColor black
2023-03-02 02:04:33 +01:00
!define GROUP_PACKAGE
2023-02-24 12:25:22 +01:00
class Category #OUT_OF_SCOPE_COLOR {
-uid: Int
-name: String
-description: String
+getUid(): String
+setUid(uid: String): void
+getName(): String
+setName(name: String): void
+getDescription(): String
+setDescription(description: String): void
}
2023-03-02 02:04:33 +01:00
class Grape #IMPLEMENTED_COLOR {
-uid: Int
2023-02-24 12:25:22 +01:00
-name: String
2023-03-02 02:04:33 +01:00
-description: String
+getUid(): Int
+setUid(uid: Int): void
2023-02-24 12:25:22 +01:00
+getName(): String
+setName(name: String): void
2023-03-02 02:04:33 +01:00
+getDescription(): String
+setDescription(description: String): void
2023-02-24 12:25:22 +01:00
}
2023-03-02 02:04:33 +01:00
class Taste #IMPLEMENTED_COLOR {
-uid: Int
2023-02-24 12:25:22 +01:00
-name: String
2023-03-02 02:04:33 +01:00
-description: String
+getUid(): Int
+setUid(uid: Int): void
2023-02-24 12:25:22 +01:00
+getName(): String
+setName(name: String): void
2023-03-02 02:04:33 +01:00
+getDescription(): String
+setDescription(description: String): void
2023-02-24 12:25:22 +01:00
}
2023-03-02 02:04:33 +01:00
class Quality #IMPLEMENTED_COLOR {
2023-02-24 12:25:22 +01:00
-uid: Int
-name: String
-description: String
+getUid(): Int
+setUid(uid: Int): void
+getName(): String
+setName(name: String): void
+getDescription(): String
+setDescription(description: String): void
}
2023-03-02 02:04:33 +01:00
class Vinesite #OUT_OF_SCOPE_COLOR {
2023-02-24 12:25:22 +01:00
-uid: Int
-name: String
-description: String
+getUid(): Int
+setUid(uid: Int): void
+getName(): String
+setName(name: String): void
+getDescription(): String
+setDescription(description: String): void
}
class Participant #IMPLEMENTED_COLOR {
-uid: Int
-masterRecord: MasterRecord
+getUid(): Int
+setUid(uid: Int): void
+getMasterRecord(): MasterRecord
+setMasterRecord(masterRecord: MasterRecord): void
}
2023-02-28 17:19:16 +01:00
class WineKind #IMPLEMENTED_COLOR {
2023-02-24 12:25:22 +01:00
-uid: Int
-name: String
-description: String
+getUid(): Int
+setUid(uid: Int): void
+getName(): String
+setName(name: String): void
+getDescription(): String
+setDescription(description: String): void
}
class Wine #IMPLEMENTED_COLOR {
-uid: Int
-name: String
-participant: Participant
2023-02-28 16:43:44 +01:00
-jahresauswahlprobe Jahresauswahlprobe
2023-02-24 12:25:22 +01:00
-grapeVariety: Grape
-vinesite: Vinesite
-category: Category
-vintage: int
2023-03-02 02:04:33 +01:00
-quality: Quality
-taste: Taste
2023-02-28 17:19:16 +01:00
-winekinds: List<WineKind>
2023-02-24 12:25:22 +01:00
-ap_nr: String
-acidity: float
-sugar: float
-alc: float
2023-02-28 17:19:16 +01:00
-volume: float
2023-02-24 12:25:22 +01:00
-price: float
-status: String
+getUid(): Int
+setUid(uid: Int): void
+getName(): String
+setName(name: String): void
+getParticipant(): Participant
+setParticipant(participant: Participant): void
2023-02-28 16:43:44 +01:00
+getJahresauswahlprobe(): Jahresauswahlprobe
+setJahresauswahlprobe(participant: Jahresauswahlprobe): void
2023-02-24 12:25:22 +01:00
+getGrapeVariety(): Grape
+setGrapeVariety(grapeVariety: Grape): void
+getVinesite(): Vinesite
+setVinesite(vinesite: Vinesite): void
+getCategory(): Category
+setCategory(category: Category): void
+getVintage(): int
+setVintage(vintage: int): void
2023-03-02 02:04:33 +01:00
+getQuality(): Quality
+setQuality(quality: Quality): void
+getTaste(): Taste
+setTaste(taste: Taste): void
2023-02-28 17:19:16 +01:00
+getWinekinds(): List<Winekind>
+setWinekinds(winekinds: List<WineKind>): void
2023-02-24 12:25:22 +01:00
+getApNr(): String
+setApNr(ap_nr: String): void
+getAcidity(): float
+setAcidity(acidity: float): void
+getSugar(): float
+setSugar(sugar: float): void
+getAlc(): float
+setAlc(alc: float): void
2023-02-28 17:19:16 +01:00
+getVolume(): float
+setVolume(volume: float): void
2023-02-24 12:25:22 +01:00
+getPrice(): float
+setPrice(price: float): void
+getStatus(): String
+setStatus(status: String): void
}
class Jahresauswahlprobe #IMPLEMENTED_COLOR {
2023-02-28 16:43:44 +01:00
-uid: Int
2023-02-24 12:25:22 +01:00
-allowedVinesites: List<Vinesite>
-allowedCategories: List<Category>
-allowedGrapes: List<Grape>
-name: String
-description: String
-dateAllowRegistration_start: Date
-dateAllowRegistration_end: Date
-dateAllowShow_start: Date
-dateAllowShow_end: Date
+getAllowedVinesites(): List<Vinesite>
+setAllowedVinesites(allowedVinesites: List<Vinesite>): void
+getAllowedCategories(): List<Category>
+setAllowedCategories(allowedCategories: List<Category>): void
+getAllowedGrapes(): List<Grape>
+setAllowedGrapes(allowedGrapes: List<Grape>): void
+getName(): String
+setName(name: String): void
+getDescription(): String
+setDescription(description: String): void
+getDateAllowRegistrationStart(): Date
+setDateAllowRegistrationStart(dateAllowRegistrationStart: Date): void
+getDateAllowRegistrationEnd(): Date
+setDateAllowRegistrationEnd(dateAllowRegistrationEnd: Date): void
+getDateAllowShowStart(): Date
+setDateAllowShowStart(dateAllowShowStart: Date): void
+getDateAllowShowEnd(): Date
+setDateAllowShowEnd(dateAllowShowEnd: Date): void
2023-02-28 16:43:44 +01:00
+getUid(): Int
+setUid(uid: Int): void
2023-02-24 12:25:22 +01:00
}
2023-02-28 16:43:44 +01:00
Category "1" <-- "*" Wine
Grape "1" <-- "*" Wine
Vinesite "1" <-- "*" Wine
Participant "1" <-- "*" Wine
2023-03-02 02:04:33 +01:00
Taste "1" <-- "*" Wine
Quality "1" <-- "*" Wine
2023-02-28 17:19:16 +01:00
WineKind "1" <-- "*" Wine
2023-02-28 16:43:44 +01:00
Jahresauswahlprobe "*" <-- "*" Wine
2023-02-24 12:25:22 +01:00
legend right
<font color=white>Legend:</font>
<font color=IMPLEMENTED_COLOR>To implement</font>
<font color=OUT_OF_SCOPE_COLOR>Part of existing system</font>
end legend
@enduml