/**
 * @author MTB
 */
var DataIndex;

function DataObject(Name, Question, Value, Visible){
	this.DataName = Name;
	this.DataQuestion = Question;
	this.DataValue = Value;
	this.Visible = Visible;
	if (DataIndex == null) {
		DataIndex = 0;
	}else{
		DataIndex += 1;
	}
}

DataObject.prototype.initialize = function(){}

DataObject.prototype.GetName = function(){
	return this.DataName;
}

DataObject.prototype.SetName = function(Name){
	this.DataName = Name;
}

DataObject.prototype.GetQuestion = function(){
	return this.DataQuestion;
}

DataObject.prototype.SetQuestion = function(Question){
	this.DataQuestion = Question;
}

DataObject.prototype.GetValue = function(){
	return this.DataValue;
}

DataObject.prototype.SetValue = function(Value){
	this.DataValue = value;
}

