-
Notifications
You must be signed in to change notification settings - Fork 0
Appendix 3.1: State Machine Development Log
Catherine Caron edited this page Nov 3, 2020
·
24 revisions
This page contains all past versions and proposals of the state machine in Iteration 3.
Proposed by Catherine Caron
UMPLE Proposed by Catherine Caron and Yinuo
UMPLE Proposed by Cheng and Mike
UMPLE Proposed by Thomas and Jed
class Appointment{
AppointmentStatus{
Booked{
cancelAppointment() -> final;
updateAppointmentTime()[isInGoodTimeSlot() && !SameDay()]->Booked;
updateAppointmentContent()[isInGoodTimeSlot() && !SameDay() ]->Booked;
startAppointment()[goodStartTime()] -> InProgress;
}
InProgress{
updateAppointmentContent()[isInGoodTimeSlot()]-> InProgress;
registeredNoShow()/{incrementNoShow();} -> final;
finishedAppointment() -> final ;
}
final{
entry/{this.delete();}
}
} }