
/**
 * $Id: MoxMessage.js,v 1.1.2.1 2006/05/05 11:54:50 mgrill Exp $
 */


function MoxMessage(sComponent, sMessage){

	/** PRIVATE MEMBER */
	this.sComponent = sComponent;
	this.sMessage    = sMessage;
	this.mapData    = new Map();
	
	/** set the component */
	this.setComponent = function (sComponent){
		this.sComponent = sComponent;
	}

	/** get the component */
	this.getComponent = function (){
		return this.sComponent;
	}
	
	
	/** set the method */
	this.setMessage = function (sMessage) {
		this.sMessage = sMessage;
	}
	
	/** get the method */
	this.getMessage = function () {
		return this.sMessage;
	}
	
	/** add message-datas*/
	this.addData = function (sKey, sValue) {
		this.mapData.put(sKey, sValue);
	}
	/** get data map */	
	this.getDataMap = function () {
		return this.mapData;
	}
	
	
	
}
