AddFamilyHistoryEvent.as 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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.FamilyHistoryVo;
  6. import com.imt.intimamedia.vo.PersonalHistoryVo;
  7. /**
  8. * Evénement de de création des antécédants personnels
  9. */
  10. public class AddFamilyHistoryEvent extends SuperEvent
  11. {
  12. private var _familyHistoryVo : FamilyHistoryVo;
  13. private var _id : int;
  14. public function AddFamilyHistoryEvent( familyHistoryVo : FamilyHistoryVo, id : int, dispatcher : * = null )
  15. {
  16. super( ApplicationController.ADD_FAMILY_HISTORY );
  17. this.familyHistoryVo = familyHistoryVo;
  18. this.id = id;
  19. this.dispatcher = dispatcher;
  20. }
  21. /**
  22. * FamilyHistoryVo transporté par l'événement
  23. *
  24. * @default null
  25. */
  26. public function get familyHistoryVo () : FamilyHistoryVo
  27. {
  28. return _familyHistoryVo;
  29. }
  30. /**
  31. * @private
  32. */
  33. public function set familyHistoryVo ( value : FamilyHistoryVo ) : void
  34. {
  35. _familyHistoryVo = value;
  36. }
  37. /**
  38. * ID du RDV transporté par l'événement
  39. *
  40. * @default null
  41. */
  42. public function get id () : int
  43. {
  44. return _id;
  45. }
  46. /**
  47. * @private
  48. */
  49. public function set id ( value : int ) : void
  50. {
  51. _id = value;
  52. }
  53. }
  54. }