CreateAppointmentEvent.as 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. package com.imt.intimamedia.events.patient
  2. {
  3. import com.imt.flex.cairngormExtended.event.SuperEvent;
  4. import com.imt.intimamedia.control.ApplicationController;
  5. import com.imt.intimamedia.vo.AppointmentVo;
  6. /**
  7. * Evénement de création d'un rdv patient
  8. */
  9. public class CreateAppointmentEvent extends SuperEvent
  10. {
  11. private var _appointment : AppointmentVo;
  12. private var _patientUid : String;
  13. public function CreateAppointmentEvent(appointment : AppointmentVo, patientUid : String, dispatcher : * = null )
  14. {
  15. super( ApplicationController.CREATE_APPOINTMENT );
  16. this.appointment = appointment;
  17. this.patientUid = patientUid;
  18. this.dispatcher = dispatcher;
  19. }
  20. /**
  21. * RDV transporté par l'événement
  22. *
  23. * @default null
  24. */
  25. public function get appointment () : AppointmentVo
  26. {
  27. return _appointment;
  28. }
  29. /**
  30. * @private
  31. */
  32. public function set appointment ( value : AppointmentVo ) : void
  33. {
  34. _appointment = value;
  35. }
  36. public function get patientUid () : String
  37. {
  38. return _patientUid;
  39. }
  40. /**
  41. * @private
  42. */
  43. public function set patientUid ( value : String ) : void
  44. {
  45. _patientUid = value;
  46. }
  47. }
  48. }