| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320 |
- package com.imt.intimamedia.vo
- {
- import com.imt.intimamedia.helpers.AMFDateConverter;
- import mx.collections.ArrayCollection;
-
- [RemoteClass(alias="com.imt.intimamedia.vo.AppointmentVo")]
-
- [Bindable]
- /**
- * Objet de RDV
- */
- public class AppointmentVo
- {
- private var _id : int = -1;
- private var _number : int = 1;
- private var _date : Date;
- private var _weight : int;
- private var _height : int;
- private var _livingCountry : String = "";
- private var _livingCountryIdx : int = -1;
- private var _patientId : int = -1;
- private var _type : String = "";
- private var _ats : AtsVo = new AtsVo();
- private var _tobacco : TobaccoVo = new TobaccoVo();
- private var _personalHistory : PersonalHistoryVo = new PersonalHistoryVo();
- private var _familyHistory : FamilyHistoryVo = new FamilyHistoryVo();
- private var _cvExaminator : CvExaminatorVo = new CvExaminatorVo();
- private var _treatments : Array = new Array();
- private var _treatmentCollection : ArrayCollection = new ArrayCollection();
-
- /**
- * ID du RDV
- *
- * @default 0
- */
- public function get id () : int
- {
- return _id;
- }
-
- /**
- * @private
- */
- public function set id ( value : int ) : void
- {
- _id = value;
- }
-
- /**
- * Nombre de RDV
- *
- * @default 1
- */
- public function get number () : int
- {
- return _number;
- }
-
- /**
- * @private
- */
- public function set number ( value : int ) : void
- {
- _number = value;
- }
-
- /**
- * Date du RDV
- *
- * @default null
- */
- public function get date () : Date
- {
- return _date;
- }
-
- /**
- * @private
- */
- public function set date ( value : * ) : void
- {
- _date = AMFDateConverter.convert( value );
- }
-
- /**
- * Taille
- *
- * @default 0
- */
- public function get height () : int
- {
- return _height;
- }
-
- /**
- * @private
- */
- public function set height ( value : int ) : void
- {
- _height = value;
- }
-
- /**
- * Poids
- *
- * @default 0
- */
- public function get weight () : int
- {
- return _weight;
- }
-
- /**
- * @private
- */
- public function set weight ( value : int ) : void
- {
- _weight = value;
- }
-
- /**
- * Pays de résidence du patient
- *
- * @default null
- */
- public function get livingCountry () : String
- {
- return _livingCountry;
- }
-
- /**
- * @private
- */
- public function set livingCountry ( value : String ) : void
- {
- _livingCountry = value;
- }
-
-
- /**
- * Index de la combobox du pays de résidence du patient
- *
- * @default null
- */
- public function get livingCountryIdx () : int
- {
- return _livingCountryIdx;
- }
-
- /**
- * @private
- */
- public function set livingCountryIdx ( value : int ) : void
- {
- _livingCountryIdx = value;
- }
-
- /**
- * ID du patient
- *
- * @default null
- */
- public function get patientId () : int
- {
- return _patientId;
- }
-
- /**
- * @private
- */
- public function set patientId ( value : int ) : void
- {
- _patientId = value;
- }
-
- /**
- * Type de rdv : Carotides, Jambes, etc...
- *
- * @default null
- */
- public function get type () : String
- {
- return _type;
- }
-
- /**
- * @private
- */
- public function set type ( value : String ) : void
- {
- _type = value;
- }
-
- /**
- * ATS du patient
- *
- * @default null
- */
- public function get ats () : AtsVo
- {
- return _ats;
- }
-
- /**
- * @private
- */
- public function set ats ( value : AtsVo ) : void
- {
- _ats = value;
- }
-
- /**
- * Tabac du patient
- *
- * @default null
- */
- public function get tobacco () : TobaccoVo
- {
- return _tobacco;
- }
-
- /**
- * @private
- */
- public function set tobacco ( value : TobaccoVo ) : void
- {
- _tobacco = value;
- }
-
- /**
- * Antécédents du patient
- *
- * @default null
- */
- public function get personalHistory () : PersonalHistoryVo
- {
- return _personalHistory;
- }
-
- /**
- * @private
- */
- public function set personalHistory ( value : PersonalHistoryVo ) : void
- {
- _personalHistory = value;
- }
-
- /**
- * Antécédents familiaux
- *
- * @default null
- */
- public function get familyHistory () : FamilyHistoryVo
- {
- return _familyHistory;
- }
-
- /**
- * @private
- */
- public function set familyHistory ( value : FamilyHistoryVo ) : void
- {
- _familyHistory = value;
- }
-
- /**
- * Examen cardio-vasculaire
- *
- * @default null
- */
- public function get cvExaminator () : CvExaminatorVo
- {
- return _cvExaminator;
- }
-
- /**
- * @private
- */
- public function set cvExaminator ( value : CvExaminatorVo ) : void
- {
- _cvExaminator = value;
- }
-
- /**
- * Liste des traitements
- *
- * @default null
- */
- public function get treatments () : Array
- {
- return _treatments;
- }
-
- /**
- * @private
- */
- public function set treatments ( value : Array ) : void
- {
- _treatments = value;
- }
-
- /**
- * Liste des traitements
- *
- * @default null
- */
- public function get treatmentCollection () : ArrayCollection
- {
- return _treatmentCollection;
- }
-
- /**
- * @private
- */
- public function set treatmentCollection ( value : ArrayCollection ) : void
- {
- _treatmentCollection = value;
- }
- }
- }
|