package isrp.hibernate.model.businessobject;

// Generated 2009-10-11 21:28:51 by Hibernate Tools 3.2.5.Beta

/**
 * Answer generated by hbm2java
 */

public class Answer implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	private Integer id;
	private int questionId;
	private String answer;

	public Answer() {
	}

	public Answer(int questionId) {
		this.questionId = questionId;
	}

	public Answer(int questionId, String answer) {
		this.questionId = questionId;
		this.answer = answer;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public int getQuestionId() {
		return this.questionId;
	}

	public void setQuestionId(int questionId) {
		this.questionId = questionId;
	}

	public String getAnswer() {
		return this.answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

}
