|
@@ -12,28 +12,68 @@ import java.util.List;
|
|
*/
|
|
*/
|
|
public interface Question extends Serializable {
|
|
public interface Question extends Serializable {
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 获取题ID
|
|
|
|
+ *
|
|
|
|
+ * @author WANGWEI
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
public String getId();
|
|
public String getId();
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 设置题ID
|
|
|
|
+ *
|
|
|
|
+ * @author WANGWEI
|
|
|
|
+ * @param id
|
|
|
|
+ */
|
|
public void setId(String id);
|
|
public void setId(String id);
|
|
|
|
|
|
- public String getBody();
|
|
|
|
-
|
|
|
|
- public void setBody(String body);
|
|
|
|
-
|
|
|
|
- public String getVersion();
|
|
|
|
-
|
|
|
|
- public void setVersion(String version);
|
|
|
|
-
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 获取题型
|
|
|
|
+ *
|
|
|
|
+ * @author WANGWEI
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
public QuestionType getQuestionType();
|
|
public QuestionType getQuestionType();
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 设置题型
|
|
|
|
+ *
|
|
|
|
+ * @author WANGWEI
|
|
|
|
+ * @param questionType
|
|
|
|
+ */
|
|
public void setQuestionType(QuestionType questionType);
|
|
public void setQuestionType(QuestionType questionType);
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 获取主版本
|
|
|
|
+ *
|
|
|
|
+ * @author WANGWEI
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
public QuestionStructure getMasterVersion();
|
|
public QuestionStructure getMasterVersion();
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 设置主版本
|
|
|
|
+ *
|
|
|
|
+ * @author WANGWEI
|
|
|
|
+ * @param masterVersion
|
|
|
|
+ */
|
|
public void setMasterVersion(QuestionStructure masterVersion);
|
|
public void setMasterVersion(QuestionStructure masterVersion);
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 获取分支
|
|
|
|
+ *
|
|
|
|
+ * @author WANGWEI
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
public List<QuestionStructure> getBranchVersionList();
|
|
public List<QuestionStructure> getBranchVersionList();
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 设置分支
|
|
|
|
+ *
|
|
|
|
+ * @author WANGWEI
|
|
|
|
+ * @param branchVersionList
|
|
|
|
+ */
|
|
public void setBranchVersionList(List<QuestionStructure> branchVersionList);
|
|
public void setBranchVersionList(List<QuestionStructure> branchVersionList);
|
|
|
|
|
|
}
|
|
}
|