var pollitem = new Class({
	ID:		null,
	CategoryID:		null,
	fQuestion:		null,
	fCommenceDate:		null,
	fExpiryDate:		null,
	fOpen:		null,
	fAnswers:		null,	

	//CONSTRUCTOR
	initialize:	function (ID, CategoryID, fQuestion, fCommenceDate, fExpiryDate, fOpen)
	{
		this.ID = ID;
		this.CategoryID = CategoryID;
		this.fQuestion = fQuestion;
		this.fCommenceDate = fCommenceDate;
		this.fExpiryDate = fExpiryDate;
		this.fOpen = fOpen;
		this.fAnswers = new Array();
	},

	//SETTERS
	setID:	function(ID)
	{
		this.ID = ID;
	},

	setCategoryID:	function(CategoryID)
	{
		this.CategoryID = CategoryID;
	},

	setQuestion:	function(fQuestion)
	{
		this.fQuestion = fQuestion;
	},

	setCommenceDate:	function(fCommenceDate)
	{
		this.fCommenceDate = fCommenceDate;
	},

	setExpiryDate:	function(fExpiryDate)
	{
		this.fExpiryDate = fExpiryDate;
	},

	setOpen:	function(fOpen)
	{
		this.fOpen = fOpen;
	},
	
	setAnswers:		function(arrAnswers)
	{
		this.fAnswers = arrAnswers;
	},

	//GETTERS
	getID:	function()
	{
		return this.ID;
	},

	getCategoryID:	function()
	{
		return this.CategoryID;
	},

	getQuestion:	function()
	{
		return this.fQuestion;
	},

	getCommenceDate:	function()
	{
		return this.fCommenceDate;
	},

	getExpiryDate:	function()
	{
		return this.fExpiryDate;
	},

	getOpen:	function()
	{
		return this.fOpen;
	},
	
	getAnswers:		function()
	{
		return this.fAnswers;
	}

});

