UltraSoundScannerVo.as 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. package com.imt.intimamedia.vo
  2. {
  3. import com.imt.intimamedia.helpers.AMFDateConverter;
  4. [RemoteClass(alias="com.imt.intimamedia.vo.UltraSoundScannerVo")]
  5. [Bindable]
  6. /**
  7. * Objet Echographe
  8. */
  9. public class UltraSoundScannerVo
  10. {
  11. private var _id : int;
  12. private var _name : String = "";
  13. private var _brand : String = "";
  14. private var _type : String = "";
  15. private var _age : Date;
  16. [ArrayElementType("com.imt.intimamedia.vo.ProbeVo")]
  17. private var _probes : Array = new Array();
  18. /**
  19. * ID
  20. *
  21. * @default 0
  22. */
  23. public function get id () : int
  24. {
  25. return _id;
  26. }
  27. /**
  28. * @private
  29. */
  30. public function set id ( value : int ) : void
  31. {
  32. _id = value;
  33. }
  34. /**
  35. * Nom
  36. *
  37. * @default ""
  38. */
  39. public function get name () : String
  40. {
  41. return _name;
  42. }
  43. /**
  44. * @private
  45. */
  46. public function set name ( value : String ) : void
  47. {
  48. _name = value;
  49. }
  50. /**
  51. * Marque
  52. *
  53. * @default ""
  54. */
  55. public function get brand () : String
  56. {
  57. return _brand;
  58. }
  59. /**
  60. * @private
  61. */
  62. public function set brand ( value : String ) : void
  63. {
  64. _brand = value;
  65. }
  66. /**
  67. * Type
  68. *
  69. * @default ""
  70. */
  71. public function get type () : String
  72. {
  73. return _type;
  74. }
  75. /**
  76. * @private
  77. */
  78. public function set type ( value : String ) : void
  79. {
  80. _type = value;
  81. }
  82. /**
  83. * Ancienneté
  84. *
  85. * @default ""
  86. */
  87. public function get age () : Date
  88. {
  89. return _age;
  90. }
  91. /**
  92. * @private
  93. */
  94. public function set age ( value : * ) : void
  95. {
  96. _age = AMFDateConverter.convert( value );
  97. }
  98. /**
  99. * Fréquence
  100. *
  101. * @default Array
  102. */
  103. public function get probes () : Array
  104. {
  105. return _probes;
  106. }
  107. /**
  108. * @private
  109. */
  110. public function set probes ( value : Array ) : void
  111. {
  112. _probes = value;
  113. }
  114. }
  115. }