/*
 * Copyright (c) 2006 Absolutely Training Limited
 * 
 * Created on 13-Dec-2006
 * 
 * @author roberto
 */

function AnswerSummary ( props ) {
	this.answerText = null;
	this.explanation = null;
	this.correct = null;
	this.selected = null;
	this.letter = null;

	for ( var p in props ) {
		this[p] = props[p];
	}
};

AnswerSummary.prototype = new AnswerSummary();
AnswerSummary.prototype.constructor = AnswerSummary;


AnswerSummary.prototype.getLetter = function() {

	return this.letter;

};

AnswerSummary.prototype.getExplanation = function() {

	return variable = misc_replaceAll(this.explanation,"SC_27","'");
	 

};

AnswerSummary.prototype.getAnswerText = function() {
	return variable = misc_replaceAll(this.answerText,"SC_27","'");

};

AnswerSummary.prototype.isCorrect = function() {

	return this.correct;

};

AnswerSummary.prototype.getAnswer= function(){

	return this;
};