/**
 * This class represent a model video in javascript side.
 * Compatible : IE, Firefox, Safari, Opera
 * @package DHL::CONTENT
 * @author Inoveo technologie inc.
 */
if (DHL == undefined) var DHL = {};
if (DHL.CONTENT == undefined) DHL.CONTENT = {};
(DHL.CONTENT.MODELVIDEO_SET = function () {

	this.intId = 0;
	this.dtTimeDate = null;
	this.intModelId = null;
	this.strTitle = "";
	this.strDescription = "";
	
	DHL.CONTENT.MODELVIDEO_SET.prototype.__wakeUp = function __wakeUp(arrData) {
		this.intId = arrData["intId"];
		this.dtTimeDate = arrData["dtTimeDate"];
		this.intModelId = arrData["intModelId"];
		this.strTitle = arrData["strTitle"];
		this.strDescription = arrData["strDescription"];
	}
	
	DHL.CONTENT.MODELVIDEO_SET.prototype.getId = function getId() {
		return this.intId;
	}
	
	DHL.CONTENT.MODELVIDEO_SET.prototype.getTimeDate = function getTimeDate() {
		return this.dtTimeDate;
	}
	
	DHL.CONTENT.MODELVIDEO_SET.prototype.getModelId = function getModeId() {
		return this.intModelId;
	}
	
	DHL.CONTENT.MODELVIDEO_SET.prototype.getTitle = function getTitle() {
		return this.strTitle;
	}
	
	DHL.CONTENT.MODELVIDEO_SET.prototype.getDescription = function getDescription() {
		return this.strDescription;
	}

	// Static members definition {{{
	if (DHL.CONTENT.MODELVIDEO_SET.className == undefined) { 

		DHL.CONTENT.MODELVIDEO_SET.wakeup = function(arrData) {
			objModelVideoSet = new DHL.CONTENT.MODELVIDEO_SET();
			objModelVideoSet.__wakeUp(arrData);
			return objModelVideoSet;
		}

		DHL.CONTENT.MODELVIDEO_SET.unmap = function unmap(strAlias, arrData) {
			objModelImageSet = new DHL.CONTENT.MODELVIDEO_SET();
			objModelImageSet.intId = arrData[strAlias + "id"];
			objModelImageSet.dtTimeDate = arrData[strAlias + "timeDate"];
			objModelImageSet.dtDisplayTimeDate = arrData[strAlias + "displayTimeDate"];
			objModelImageSet.intModelId = arrData[strAlias + "modelId"];
			objModelImageSet.strTitle = arrData[strAlias + "title"];
			objModelImageSet.strDescription = arrData[strAlias + "description"];
			
			return objModelImageSet;
		}

		DHL.CONTENT.MODELVIDEO_SET.className = 'DHL.CONTENT.MODELVIDEO_SET';
		DHL.CONTENT.MODELVIDEO_SET.prototype.className = 'DHL.CONTENT.MODELVIDEO_SET';
	}

	// }}}
	
	this.jsClass = DHL.CONTENT.MODELVIDEO_SET;
	
})(); 