|
@@ -1,5 +1,7 @@
|
|
|
package cn.com.qmth.examcloud.question.core.paper;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
/**
|
|
|
* 题包装器
|
|
|
*
|
|
@@ -9,11 +11,6 @@ package cn.com.qmth.examcloud.question.core.paper;
|
|
|
*/
|
|
|
public class DefaultQuestionWrapper implements QuestionWrapper {
|
|
|
|
|
|
- /**
|
|
|
- * 选项排序值
|
|
|
- */
|
|
|
- private Integer[] optionPermutation;
|
|
|
-
|
|
|
/**
|
|
|
* 题ID
|
|
|
*/
|
|
@@ -24,27 +21,13 @@ public class DefaultQuestionWrapper implements QuestionWrapper {
|
|
|
*/
|
|
|
private Float questionScore;
|
|
|
|
|
|
- /**
|
|
|
- * 得分
|
|
|
- */
|
|
|
- private Float resultScore;
|
|
|
-
|
|
|
- @Override
|
|
|
- public Integer[] getOptionPermutation() {
|
|
|
- return optionPermutation;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public void setOptionPermutation(Integer[] optionPermutation) {
|
|
|
- this.optionPermutation = optionPermutation;
|
|
|
- }
|
|
|
+ private List<DefaultQuestionUnitWrapper> questionUnitWrapperList;
|
|
|
|
|
|
@Override
|
|
|
public String getQuestionId() {
|
|
|
return questionId;
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
public void setQuestionId(String questionId) {
|
|
|
this.questionId = questionId;
|
|
|
}
|
|
@@ -54,19 +37,18 @@ public class DefaultQuestionWrapper implements QuestionWrapper {
|
|
|
return questionScore;
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
public void setQuestionScore(Float questionScore) {
|
|
|
this.questionScore = questionScore;
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public Float getResultScore() {
|
|
|
- return resultScore;
|
|
|
+ public List<? extends QuestionUnitWrapper> getQuestionUnitWrapperList() {
|
|
|
+ return questionUnitWrapperList;
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- public void setResultScore(Float resultScore) {
|
|
|
- this.resultScore = resultScore;
|
|
|
+ public void setQuestionUnitWrapperList(
|
|
|
+ List<DefaultQuestionUnitWrapper> questionUnitWrapperList) {
|
|
|
+ this.questionUnitWrapperList = questionUnitWrapperList;
|
|
|
}
|
|
|
|
|
|
}
|