UpdateAppointmentEvent.as 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. */
  8. public class UpdateAppointmentEvent extends SuperEvent
  9. {
  10. private var _appointment : AppointmentVo;
  11. private var _patientUid : String;
  12. public function UpdateAppointmentEvent( appointment : AppointmentVo, patientUid : String )
  13. {
  14. super( ApplicationController.UPDATE_APPOINTMENT );
  15. this.appointment = appointment;
  16. this.patientUid = patientUid;
  17. }
  18. /**
  19. * Critères de recherche transporté par l'événement
  20. *
  21. * @default null
  22. */
  23. public function get appointment () : AppointmentVo
  24. {
  25. return _appointment;
  26. }
  27. /**
  28. * @private
  29. */
  30. public function set appointment ( value : AppointmentVo ) : void
  31. {
  32. _appointment = value;
  33. }
  34. public function get patientUid () : String
  35. {
  36. return _patientUid;
  37. }
  38. /**
  39. * @private
  40. */
  41. public function set patientUid ( value : String ) : void
  42. {
  43. _patientUid = value;
  44. }
  45. }
  46. }