Newer
Older
marking / src / main / java / model / Criterion.java
package model;

/**
 *
 * @author mark
 */
public class Criterion {

	private final String criterion;
	private final String description;
	private final Integer min;
	private final Integer max;
	private final Boolean isSpecial;

	private Double result;
	private String comment;

	public Criterion(String criterion, String description, Integer min, Integer max, Boolean isSpecial) {
		this.criterion = criterion;
		this.description = description;
		this.min = min;
		this.max = max;
		this.isSpecial = isSpecial;
	}

	public String getCriterion() {
		return criterion;
	}

	public String getDescription() {
		return description;
	}

	public Double getResult() {
		return result;
	}

	public void setResult(Double result) {
		this.result = result;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Integer getMin() {
		return min;
	}

	public Integer getMax() {
		return max;
	}

	public Boolean isIsSpecial() {
		return isSpecial;
	}

}