DataRequest = function ()
{
	this.url = "";				//request url
	this.onDoneFunction = null;	//DelayedFunction to execute on end
	this.onErrorFunction = null;	//DelayedFunction to execute on end
	this.result = null;			//request result
}

DataRequest.prototype.getUrl = function ()
{
	return this.url;
}

DataRequest.prototype.setUrl = function (newUrl)
{
	this.url = newUrl;
}

DataRequest.prototype.getOnDoneFunction = function ()
{
	return this.onDoneFunction;
}

DataRequest.prototype.setOnDoneFunction = function (newFunction)
{
	this.onDoneFunction = newFunction;
}

DataRequest.prototype.getOnErrorFunction = function ()
{
	return this.onErrorFunction;
}

DataRequest.prototype.setOnErrorFunction = function (newFunction)
{
	this.onErrorFunction = newFunction;
}

DataRequest.prototype.getResult = function ()
{
	return this.result;
}

DataRequest.prototype.setResult = function (newResult)
{
	this.result = newResult;
}

