public class PolyvQuestionChoicesVO
extends java.lang.Object
构造器和说明 |
---|
PolyvQuestionChoicesVO(java.lang.String answer,
boolean isRightAnswer)
问答选项构造方法
|
PolyvQuestionChoicesVO(java.lang.String answer,
int rightAnswer)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getAnswer() |
int |
getRightAnswer() |
boolean |
isRightAnswer() |
boolean |
isSelected() |
void |
setSelected(boolean selected) |
java.lang.String |
toString() |
@Deprecated public PolyvQuestionChoicesVO(java.lang.String answer, int rightAnswer)
answer
- 选项内容rightAnswer
- 是否正确答案,设置为1是正确答案PolyvQuestionChoicesVO(String, boolean)
public PolyvQuestionChoicesVO(java.lang.String answer, boolean isRightAnswer)
answer
- 选项内容isRightAnswer
- 是否正确答案public java.lang.String getAnswer()
public int getRightAnswer()
public boolean isRightAnswer()
public boolean isSelected()
public void setSelected(boolean selected)
public java.lang.String toString()
toString
在类中 java.lang.Object