public class PolyvQuestionVO
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static int |
TYPE_AUDITION
听力类型
|
static int |
TYPE_QUESTION
问答类型
|
构造器和说明 |
---|
PolyvQuestionVO(java.lang.String examId,
java.lang.String userId,
java.lang.String vid,
java.lang.String showTime,
int hours,
int minutes,
int seconds,
java.lang.String question,
java.util.List<QuestionVO.ChoicesVO> choicesList,
java.lang.String answer,
boolean skip,
int type,
java.lang.String mp3url,
int wrongTime,
int wrongShow,
int status,
long createdTime,
boolean isFromDownload) |
PolyvQuestionVO(java.lang.String examId,
java.lang.String userId,
java.lang.String vid,
java.lang.String showTime,
int hours,
int minutes,
int seconds,
java.lang.String question,
java.util.List<QuestionVO.ChoicesVO> choicesList,
java.lang.String answer,
boolean skip,
int type,
java.lang.String mp3url,
int wrongTime,
int wrongShow,
int status,
long createdTime,
boolean isFromDownload,
java.lang.String wrongAnswer,
java.lang.String illustration) |
限定符和类型 | 方法和说明 |
---|---|
static QuestionVO |
copyToQuestion(PolyvQuestionVO questionVO) |
static java.util.List<PolyvQuestionVO> |
formatQuestion(java.lang.String body,
boolean isFromDownload)
格式化
|
java.lang.String |
getAnswer() |
java.util.List<QuestionVO.ChoicesVO> |
getChoicesList() |
java.util.List<PolyvQuestionChoicesVO> |
getChoicesList2() |
long |
getCreatedTime() |
java.lang.String |
getExamId() |
int |
getHours() |
java.lang.String |
getIllustration() |
int |
getMinutes() |
java.lang.String |
getMp3url() |
java.lang.String |
getQuestion() |
int |
getSeconds() |
java.lang.String |
getShowTime() |
int |
getStatus() |
int |
getType() |
java.lang.String |
getUserId() |
java.lang.String |
getVid() |
java.lang.String |
getWrongAnswer() |
int |
getWrongShow() |
int |
getWrongTime() |
boolean |
isFromDownload() |
boolean |
isSkip() |
public static final int TYPE_QUESTION
public static final int TYPE_AUDITION
public PolyvQuestionVO(java.lang.String examId, java.lang.String userId, java.lang.String vid, java.lang.String showTime, int hours, int minutes, int seconds, java.lang.String question, java.util.List<QuestionVO.ChoicesVO> choicesList, java.lang.String answer, boolean skip, int type, java.lang.String mp3url, int wrongTime, int wrongShow, int status, long createdTime, boolean isFromDownload)
public PolyvQuestionVO(java.lang.String examId, java.lang.String userId, java.lang.String vid, java.lang.String showTime, int hours, int minutes, int seconds, java.lang.String question, java.util.List<QuestionVO.ChoicesVO> choicesList, java.lang.String answer, boolean skip, int type, java.lang.String mp3url, int wrongTime, int wrongShow, int status, long createdTime, boolean isFromDownload, java.lang.String wrongAnswer, java.lang.String illustration)
public java.lang.String getExamId()
public java.lang.String getUserId()
public java.lang.String getVid()
public java.lang.String getShowTime()
public int getHours()
public int getMinutes()
public int getSeconds()
public java.lang.String getQuestion()
public java.util.List<QuestionVO.ChoicesVO> getChoicesList()
public java.util.List<PolyvQuestionChoicesVO> getChoicesList2()
public java.lang.String getAnswer()
public boolean isSkip()
public int getType()
public java.lang.String getMp3url()
public int getWrongTime()
public int getWrongShow()
public int getStatus()
public long getCreatedTime()
public boolean isFromDownload()
public java.lang.String getWrongAnswer()
public java.lang.String getIllustration()
public static java.util.List<PolyvQuestionVO> formatQuestion(java.lang.String body, boolean isFromDownload) throws org.json.JSONException
body
- isFromDownload
- org.json.JSONException
public static QuestionVO copyToQuestion(PolyvQuestionVO questionVO)