01: package org.sakaiproject.tool.assessment.samlite.api;
02:
03: public class Answer {
04: private String id;
05: private String text;
06: private boolean isCorrect;
07:
08: public Answer(String id, String text, boolean isCorrect) {
09: this .id = id;
10: this .text = text;
11: this .isCorrect = isCorrect;
12: }
13:
14: public String getId() {
15: return id;
16: }
17:
18: public boolean isCorrect() {
19: return isCorrect;
20: }
21:
22: public String getText() {
23: return text;
24: }
25:
26: }
|