package com.cygnusa.hyperm.wrappers;

public class ReviewOption {

    private String optid;
    private String opttext;
    private String score;
    private String iscorrect;
    private String selected;

    public String getOptid() {
        return optid;
    }

    public void setOptid(String optid) {
        this.optid = optid;
    }

    public String getOpttext() {
        return opttext;
    }

    public void setOpttext(String opttext) {
        this.opttext = opttext;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getIscorrect() {
        return iscorrect;
    }

    public void setIscorrect(String iscorrect) {
        this.iscorrect = iscorrect;
    }

    public boolean isChecked() {
        return selected != null && selected.trim().equalsIgnoreCase("1");
    }

    public String getSelected() {
        return selected;
    }

    public void setSelected(String selected) {
        this.selected = selected;
    }
}
