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; } } }