This commit is contained in:
2025-09-25 17:56:58 -04:00
parent e20d04a853
commit beee076f9e
2 changed files with 8 additions and 8 deletions

Binary file not shown.

View File

@@ -38,14 +38,6 @@ digraph G {
label="{Account|- account_number: String\l- phone_number: String\l- mailing_address: Address\l- email_address: EmailAddress\l- reservations: AccountReservationList\l|+ add(Reservation): boolean\l+ Write(Account): void\l+ findReservation(String): Reservation\l+ getAllReservations(): ListIterator<IReservation>\l}"
]
AccountList [
label="{AccountList|+ add(Account): boolean\l+ save(Account): void\l+ find(String): Account\l+ getListOfReservations(): List<IReservation>\l}"
]
AccountReservationList [
label="{AccountReservationList|+ add(IReservation): boolean\l+ find(String): Reservation\l+ update(AccountReservationList): void\l}"
]
AccomodationManager [
label="{AccomodationManager|- accounts: AccountList\l|+ loadAll(): void\l+ retrieveAccount(String): Account\l+ AddAccount(Account): void\l+ UpdateAccount(Account): void\l+ addReservation(Account, Reservation): boolean\l+ findReservation(String): Reservation\l}"
]
@@ -75,6 +67,14 @@ digraph G {
label="{<<Enumeration>>\nKitchenTypeEnum|None\lKitchenette\lFullKitchen\l}"
]
AccountList [
label="{AccountList|+ add(Account): boolean\l+ save(Account): void\l+ find(String): Account\l}"
]
AccountReservationList [
label="{AccountReservationList|+ add(IReservation): boolean\l+ find(String): Reservation\l+ update(AccountReservationList): void\l}"
]
// Relationships
edge [arrowhead=empty, arrowtail=none]
HotelReservation -> Reservation;