This commit is contained in:
2025-09-23 23:29:10 -04:00
parent 3bf2434a69
commit 38f7b6aeb5
5 changed files with 420 additions and 386 deletions

View File

@@ -25,10 +25,10 @@ digraph LodgeReservationSystem {
IllegalOperationException [label="{IllegalOperationException|extends RuntimeException|+ IllegalOperationException()\l+ IllegalOperationException(String)\l}"];
subgraph cluster_reservation {
subgraph cluster_account {
label="lodge.reservation";
style=filled;
color=lightblue;
color="#e9d5ba";
Account [label="{Account|+ account_number: String\l+ phone_number: String\l+ mailing_address: Address\l+ email_address: EmailAddress\l- reservations: AccountReservationList\l|+ Account()\l+ Account(String, String, Address, EmailAddress)\l+ Account(String, Address, EmailAddress)\l+ add(Reservation): boolean\l+ findReservation(String): Reservation\l+ getAllReservations(): ListIterator\<IReservation\>\l+ update(Account): void\l+ toString(): String\l+ static Write(Account): void\l}"];
AccountList [label="{AccountList|extends ArrayList\<Account\>|+ static accountSerial(...): String\l+ add(Account): boolean\l+ save(Account): void\l+ find(String): Account\l+ getListOfReservations(): List\<? extends IReservation\>\l+ showReservationList(): void\l}"];
@@ -89,7 +89,7 @@ digraph LodgeReservationSystem {
Account -> AccountReservationList [arrowhead=diamond, label="contains"];
Account -> Address [arrowhead=diamond, label="mailing_address"];
Account -> EmailAddress [arrowhead=diamond, label="email_address"];
AccountList -> Account [arrowhead=odiamond, label="contains"];
AccountList -> Account [arrowhead=odiamond, label="contains 0..*"];
AccountReservationList -> IReservation [arrowhead=odiamond, label="contains 0..*"];
Reservation -> Address [arrowhead=diamond, label="physical_address\nmailing_address"];
Reservation -> KitchenTypeEnum [arrowhead=diamond, label="kitchen"];