function Field()
{
	var operator = new String();
	var name = new String();
	var displayName = new String();

	this.setName= field_setName;
	this.setDisplayName= field_setDisplayName;
	this.setOperator= field_setOperator;

	this.getName= field_getName;
	this.getDisplayName= field_getDisplayName;
	this.getOperator= field_getOperator;

	this.print= field_print;

	this.addValue= field_addValue;
	this.getValues= field_getValues;
	this.value= new Array(); // Field Values
}


function field_addValue(value)
{
	this.value[this.value.length] = value;
}

function field_getValues()
{
	return this.value;
}

function field_setName(name)
{
	this.name = name;
}

function field_setDisplayName(displayName)
{
	this.displayName = displayName;
}

function field_setOperator(operator)
{
	this.operator = operator;
}


function field_getName()
{
	return this.name;
}

function field_getDisplayName()
{
	return this.displayName;
}

function field_getOperator()
{
	return this.operator;
}

function field_print()
{
	alert('Printing ...');
	alert('Name is '+this.name);
	alert('displayName is '+this.displayName);
	alert('operator is '+this.operator);
	alert('Value is '+this.value);
}