| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187 |
- package com.imt.intimamedia.vo
- {
- import com.imt.intimamedia.helpers.AMFDateConverter;
-
- [RemoteClass(alias="com.imt.intimamedia.vo.LocalizationVo")]
- [Bindable]
- /**
- * Objet localisation
- */
- public class LocalizationVo
- {
- private var _countryCode : String = "";
- private var _countryName : String = "";
- private var _continentCode : String = "";
- private var _ip : String = "";
- private var _date : Date = new Date();
- private var _region : String = "";
- private var _city : String = "";
- private var _currencyCode : String = "";
- private var _currencySymbol : String = "";
- /**
- * Code du pays
- *
- * @default ""
- */
- public function get countryCode () : String
- {
- return _countryCode;
- }
-
- /**
- * @private
- */
- public function set countryCode ( value : String ) : void
- {
- _countryCode = value;
- }
-
- /**
- * Nom du pays
- *
- * @default ""
- */
- public function get countryName () : String
- {
- return _countryName;
- }
-
- /**
- * @private
- */
- public function set countryName ( value : String ) : void
- {
- _countryName = value;
- }
-
- /**
- * Nom du continent
- *
- * @default ""
- */
- public function get continentCode () : String
- {
- return _continentCode;
- }
-
- /**
- * @private
- */
- public function set continentCode ( value : String ) : void
- {
- _continentCode = value;
- }
-
- /**
- * Nom du continent
- *
- * @default ""
- */
- public function get ip () : String
- {
- return _ip;
- }
-
- /**
- * @private
- */
- public function set ip ( value : String ) : void
- {
- _ip = value;
- }
-
- /**
- * Date de la localisation
- *
- * @default Date
- */
- public function get date () : Date
- {
- return _date;
- }
-
- /**
- * @private
- */
- public function set date ( value : * ) : void
- {
- _date = AMFDateConverter.convert( value );
- }
-
- /**
- * Region de la localisation
- *
- * @default Date
- */
- public function get region () : String
- {
- return _region;
- }
-
- /**
- * @private
- */
- public function set region ( value : String ) : void
- {
- _region = value;
- }
-
- /**
- * Ville de la localisation
- *
- * @default Date
- */
- public function get city () : String
- {
- return _city;
- }
-
- /**
- * @private
- */
- public function set city ( value : String ) : void
- {
- _city = value;
- }
-
- /**
- * Code de la monnaie de la localisation
- *
- * @default Date
- */
- public function get currencyCode () : String
- {
- return _currencyCode;
- }
-
- /**
- * @private
- */
- public function set currencyCode ( value : String ) : void
- {
- _currencyCode = value;
- }
-
- /**
- * Symbole de la monnaie de la localisation
- *
- * @default Date
- */
- public function get currencySymbol () : String
- {
- return _currencySymbol;
- }
-
- /**
- * @private
- */
- public function set currencySymbol ( value : String ) : void
- {
- if( value == "€" )
- value = "€";
-
- _currencySymbol = value;
- }
- }
- }
|