package isrp.hibernate.model.businessobject;

import java.util.Set;

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

/**
 * Review generated by hbm2java
 */
public class Review implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	private Integer id;
	private int paperId;
	private int reviewerId;
	private Byte status;
	private String commentsToAuthor;
	private String commentsToOrganisator;
	private Integer grade;

	@SuppressWarnings("unchecked")
	private Set selectedAnswers;

	@SuppressWarnings("unchecked")
	public Set getSelectedAnswers() {
		return selectedAnswers;
	}

	@SuppressWarnings("unchecked")
	public void setSelectedAnswers(Set selectedAnswers) {
		this.selectedAnswers = selectedAnswers;
	}

	public Review() {
	}

	public Review(int paperId, int reviewerId) {
		this.paperId = paperId;
		this.reviewerId = reviewerId;
	}

	public Review(int paperId, int reviewerId, Byte status,
			String commentsToAuthor, String commentsToOrganisator, Integer grade) {
		this.paperId = paperId;
		this.reviewerId = reviewerId;
		this.status = status;
		this.commentsToAuthor = commentsToAuthor;
		this.commentsToOrganisator = commentsToOrganisator;
		this.grade = grade;
	}

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

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

	public int getPaperId() {
		return this.paperId;
	}

	public void setPaperId(int paperId) {
		this.paperId = paperId;
	}

	public int getReviewerId() {
		return this.reviewerId;
	}

	public void setReviewerId(int reviewerId) {
		this.reviewerId = reviewerId;
	}

	public Byte getStatus() {
		return this.status;
	}

	public void setStatus(Byte status) {
		this.status = status;
	}

	public String getCommentsToAuthor() {
		return this.commentsToAuthor;
	}

	public void setCommentsToAuthor(String commentsToAuthor) {
		this.commentsToAuthor = commentsToAuthor;
	}

	public String getCommentsToOrganisator() {
		return this.commentsToOrganisator;
	}

	public void setCommentsToOrganisator(String commentsToOrganisator) {
		this.commentsToOrganisator = commentsToOrganisator;
	}

	public Integer getGrade() {
		return this.grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

}
