Permalink
Browse files

Merge branch 'master' of https://johnblink@github.com/johnblink/Moodl…

…e-Project-XJ.git
  • Loading branch information...
2 parents fe7cc17 + a456c14 commit 363c304df082435f5e43be556625b83b0811fac2 @johnblink committed Mar 12, 2012
@@ -1,5 +1,7 @@
package dcll.vbjj.mysimplexml;
+import java.util.ArrayList;
+
public class Essay extends Question{
-//
+ private ArrayList<Answer> listAnswer = new ArrayList<Answer>();
}
@@ -1,5 +1,7 @@
package dcll.vbjj.mysimplexml;
+import java.util.ArrayList;
+
public class Matching extends Question{
-//
+ private ArrayList<SubQuestion> listSubQuestion = new ArrayList<SubQuestion>();
}
@@ -1,5 +1,10 @@
package dcll.vbjj.mysimplexml;
+import java.util.ArrayList;
+
public class MultipleChoice extends Question {
-//
+ private int shuffleAnswers;
+ private boolean single;
+ private String answernumbering;
+ private ArrayList<Answer> listAnswer = new ArrayList<Answer>();
}
@@ -1,5 +1,7 @@
package dcll.vbjj.mysimplexml;
+import java.util.ArrayList;
+
public class NumericalAnswer extends Question{
-//
+ private ArrayList<Answer> listAnswer = new ArrayList<Answer>();
}
@@ -1,5 +1,7 @@
package dcll.vbjj.mysimplexml;
+import java.util.ArrayList;
+
public class ShortAnswer extends Question{
-//
+ private ArrayList<Answer> listAnswer = new ArrayList<Answer>();
}
@@ -0,0 +1,6 @@
+package dcll.vbjj.mysimplexml;
+
+public class SubQuestion {
+ private String text;
+ private Answer answer;
+}
@@ -1,5 +1,7 @@
package dcll.vbjj.mysimplexml;
+import java.util.ArrayList;
+
public class TrueFalse extends Question {
-//
+ private ArrayList<Answer> listAnswer = new ArrayList<Answer>();
}

0 comments on commit 363c304

Please sign in to comment.