/**
 * This class represent a DHL_USER_REMINDER
 * Compatible : IE, Firefox, Safari, Opera
 * @package DHL::REMINDER
 * @author Inoveo technologie inc.
 */
if (DHL == undefined) var DHL = {};
if (DHL.REMINDER == undefined) DHL.REMINDER = {};
(DHL.REMINDER.USER_REMINDER = function () {

	this.intId = 0;
	this.arrInfo = new Object();
	this.blnDeleted = false;
	this.objToRemind = null;

	this.__wakeUp = function __wakeUp(arrData) {
		this.intId = parseInt(arrData['intId']);
		this.arrInfo = arrData['arrInfo'];
		this.blnDeleted = arrData['blnDeleted'];
		this.objToRemind = arrData['objToRemind'];
	}

	this.getId = function getId() {
		return this.intId;
	}

	this.getVariable = function getVariable(strName) {
		return this.arrInfo[strName];
	}

	this.setVariable = function setVariable(strName, varValue) {
		this.arrInfo[strName] = varValue;
	}

	this.isDeleted = function isDeleted() {
		return this.blnDeleted;
	}

	this.getToRemind = function getToRemind() {
		return this.objToRemind;
	}

	this.getObjectKey = function getObjectKey() {
		return "USER_REMINDER[" + this.intId + "]";
	}

	if (DHL.REMINDER.USER_REMINDER.prototype.className == undefined) {
		DHL.REMINDER.USER_REMINDER.wakeup = function(arrData) {
			var objReminder = new DHL.REMINDER.USER_REMINDER();
			objReminder.__wakeUp(arrData);
			return objReminder;
		}
		DHL.REMINDER.USER_REMINDER.prototype.className = 'DHL.REMINDER.USER_REMINDER';
	}

	this.jsClass = DHL.REMINDER.USER_REMINDER;
})();
