Skip to content

Appendix 3.1: State Machine Development Log

Catherine Caron edited this page Nov 3, 2020 · 24 revisions

State Machine Development Log

This page contains all past versions and proposals of the state machine in Iteration 3.


Version 0:

V 0.0 Proposed by Catherine Caron
UMPLE Proposed by Catherine Caron and Yinuo

Version 0.0:

UMPLE Proposed by Cheng and Mike

Version 0.0:

UMPLE Proposed by Thomas and Jed V 0.0

Version 1.0:

Iteration_3_Meeting_1

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();}

}    

} }