| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- package com.imt.intimamedia.events.patient
- {
- import com.imt.flex.cairngormExtended.event.SuperEvent;
- import com.imt.intimamedia.control.ApplicationController;
- import com.imt.intimamedia.vo.AppointmentVo;
- import com.imt.intimamedia.vo.PatientVo;
-
- /**
- * Evénement de de création d'un patient
- */
- public class CreatePatientEvent extends SuperEvent
- {
- private var _patient : PatientVo;
- private var _appointment : AppointmentVo;
- private var _person : int;
-
- public function CreatePatientEvent( patient : PatientVo, appointment : AppointmentVo, person : int, dispatcher : * = null )
- {
- super( ApplicationController.CREATE_PATIENT );
-
- this.patient = patient;
- this.appointment = appointment;
- this.person = person;
- this.dispatcher = dispatcher;
- }
-
- /**
- * Patient transporté par l'événement
- *
- * @default null
- */
- public function get patient () : PatientVo
- {
- return _patient;
- }
-
- /**
- * @private
- */
- public function set patient ( value : PatientVo ) : void
- {
- _patient = value;
- }
-
- /**
- * RDV transporté par l'événement
- *
- * @default null
- */
- public function get appointment () : AppointmentVo
- {
- return _appointment;
- }
-
- /**
- * @private
- */
- public function set appointment ( value : AppointmentVo ) : void
- {
- _appointment = value;
- }
-
- /**
- * ID de l'individu (humain) transporté par l'événement
- *
- * @default null
- */
- public function get person () : int
- {
- return _person;
- }
-
- /**
- * @private
- */
- public function set person ( value : int ) : void
- {
- _person = value;
- }
- }
- }
|