public class InlineChoiceItem
extends java.lang.Object
Constructor and Description |
---|
InlineChoiceItem(org.tencompetence.services.xml.qti.elements.InlineChoice inlineChoice,
int index)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Gets the index of the item.
|
org.tencompetence.services.xml.qti.elements.InlineChoice |
getInlineChoice()
Gets the inline choice.
|
java.lang.String |
getText()
Gets the choice text.
|
boolean |
isCorrect()
Checks if the choice is currently marked as correct.
|
void |
setText(java.lang.String text)
Sets the choice text.
|
public InlineChoiceItem(org.tencompetence.services.xml.qti.elements.InlineChoice inlineChoice, int index)
inlineChoice
- the inline choiceindex
- the indexpublic org.tencompetence.services.xml.qti.elements.InlineChoice getInlineChoice()
public java.lang.String getText()
public void setText(java.lang.String text)
text
- the new textpublic int getIndex()
public boolean isCorrect()