MarkerVo.as 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. package com.imt.intimamedia.vo
  2. {
  3. [RemoteClass(alias="com.imt.intimamedia.vo.MarkerVo")]
  4. [Bindable]
  5. /**
  6. * Objet de marquage
  7. */
  8. public class MarkerVo
  9. {
  10. public static const PLAQUE : String = "PL";
  11. public static const STENOSE : String = "ST";
  12. public static const OCCLUSION : String = "OC";
  13. public static const CAROTID : String = "CA";
  14. public static const ARM : String = "AR";
  15. public static const LEG : String = "LE";
  16. public static const BODY : String = "BO";
  17. public static const LEFT : String = "LEFT";
  18. public static const RIGHT : String = "RIGHT";
  19. public static const CENTER : String = "CENTER";
  20. private var _type : String;
  21. private var _location : String;
  22. private var _side : String;
  23. private var _xPosition : int;
  24. private var _yPosition : int;
  25. private var _uidDisplayObject : String;
  26. /**
  27. * Type de marqueur (sténose, plaque ou occlusion)
  28. *
  29. * @default ""
  30. */
  31. public function get type () : String
  32. {
  33. return _type;
  34. }
  35. /**
  36. * @private
  37. */
  38. public function set type ( value : String ) : void
  39. {
  40. _type = value;
  41. }
  42. /**
  43. * Localisation du marqueur
  44. *
  45. * @default ""
  46. */
  47. public function get location () : String
  48. {
  49. return _location;
  50. }
  51. /**
  52. * @private
  53. */
  54. public function set location ( value : String ) : void
  55. {
  56. _location = value;
  57. }
  58. /**
  59. * Côté du marqueur
  60. *
  61. * @default ""
  62. */
  63. public function get side () : String
  64. {
  65. return _side;
  66. }
  67. /**
  68. * @private
  69. */
  70. public function set side ( value : String ) : void
  71. {
  72. _side = value;
  73. }
  74. /**
  75. * Coordonnée X du marqueur
  76. *
  77. * @default 0
  78. */
  79. public function get xPosition () : int
  80. {
  81. return _xPosition;
  82. }
  83. /**
  84. * @private
  85. */
  86. public function set xPosition ( value : int ) : void
  87. {
  88. _xPosition = value;
  89. }
  90. /**
  91. * Coordonnée Y du marqueur
  92. *
  93. * @default 0
  94. */
  95. public function get yPosition () : int
  96. {
  97. return _yPosition;
  98. }
  99. /**
  100. * @private
  101. */
  102. public function set yPosition ( value : int ) : void
  103. {
  104. _yPosition = value;
  105. }
  106. /**
  107. * UID de l'élément graphique
  108. *
  109. * @default ""
  110. */
  111. public function get uidDisplayObject () : String
  112. {
  113. return _uidDisplayObject;
  114. }
  115. /**
  116. * @private
  117. */
  118. public function set uidDisplayObject ( value : String ) : void
  119. {
  120. _uidDisplayObject = value;
  121. }
  122. }
  123. }