01: package org.sakaiproject.tool.assessment.samlite.api;
02:
03: import java.util.LinkedList;
04: import java.util.List;
05:
06: public class QuestionGroup {
07: private String name;
08: private String description;
09: private List questions;
10:
11: public QuestionGroup(String name, String description) {
12: super ();
13: this .name = name;
14: this .description = description;
15: this .questions = new LinkedList();
16: }
17:
18: public String getName() {
19: return name;
20: }
21:
22: public String getDescription() {
23: return description;
24: }
25:
26: public void addQuestion(Question question) {
27: this .questions.add(question);
28: }
29:
30: public List getQuestions() {
31: return questions;
32: }
33:
34: }
|