Skip to content

Commit

Permalink
update Main Object Diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
kaboomzxc committed Nov 12, 2024
1 parent 46076eb commit 25c27ed
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
Binary file modified docs/MainObjectDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 19 additions & 2 deletions docs/MainObjectDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,21 @@ object "<u>:Main</u>" as Main

object "<u>in:Scanner</u>" as Scanner

object "<u>records:Records</u>" as Records {
interface "<u>:FileOperation</u>" as FileOperation {
+initFile(filePath: String)
+autosave(filePath: String)
+retrieveData(filePath: String)
}


object "<u>records:Records</u>" as Records {
}

object "<u>appointmentRecord:AppointmentRecord</u>" as AppointmentRecord {

}



object "<u>:FileHandler</u>" as FileHandler

object "<u>commandHandler:CommandHandler</u>" as CommandHandler
Expand All @@ -27,12 +34,22 @@ Main --> AppointmentRecord
Main --> FileHandler
Main --> CommandHandler
Main --> Parser

CommandHandler --> Records
CommandHandler --> AppointmentRecord

Parser --> CommandHandler
Parser --> Records
Parser --> AppointmentRecord

FileHandler --> Records
FileHandler --> AppointmentRecord

Records ..|> FileOperation : implements >
AppointmentRecord ..|> FileOperation : implements >





@enduml

0 comments on commit 25c27ed

Please sign in to comment.