| org.sakaiproject.tool.assessment.qti.asi.ASIBaseClass org.sakaiproject.tool.assessment.qti.asi.Item
Item | public class Item extends ASIBaseClass (Code) | | Copyright: Copyright (c) 2004
Organization: Sakai Project
author: rshastri author: Ed Smiley esmiley@stanford.edu version: $Id: Item.java 9274 2006-05-10 22:50:48Z daisyf@stanford.edu $ |
Constructor Summary | |
public | Item(int qtiVersion) Creates a new Item object. | public | Item(Document document, int qtiVersion) Creates a new Item object. |
Item | public Item(int qtiVersion)(Code) | | Creates a new Item object.
|
Item | public Item(Document document, int qtiVersion)(Code) | | Creates a new Item object.
Parameters: document - an item XML document |
createFieldentry | public void createFieldentry(String fieldlabel)(Code) | | Create a metadata field entry
Parameters: fieldlabel - the field label |
getFieldentry | public String getFieldentry(String fieldlabel)(Code) | | method for meta data
Parameters: fieldlabel - to get the value |
getItemText | public String getItemText()(Code) | | Get the text for the item
the text |
isAudio | public boolean isAudio()(Code) | | |
isEssay | public boolean isEssay()(Code) | | |
isFIB | public boolean isFIB()(Code) | | |
isFIN | public boolean isFIN()(Code) | | |
isFile | public boolean isFile()(Code) | | |
isMCMC | public boolean isMCMC()(Code) | | |
isMCSC | public boolean isMCSC()(Code) | | |
isMatching | public boolean isMatching()(Code) | | |
isSurvey | public boolean isSurvey()(Code) | | |
setAnswerTrueFalse | public void setAnswerTrueFalse(boolean isTrue)(Code) | | Set the answer texts for item.
Parameters: itemTextList - the text(s) for item |
setAnswers | public void setAnswers(ArrayList itemTextList)(Code) | | Set the answer texts for item.
Parameters: itemTextList - the text(s) for item |
setFeedback | public void setFeedback(ArrayList itemTextList)(Code) | | Set the feedback texts for item.
Parameters: itemTextList - the text(s) for item |
setFieldentry | public void setFieldentry(String fieldlabel, String setValue)(Code) | | method for meta data
Parameters: fieldlabel - to get Parameters: setValue - the value |
setIdent | public void setIdent(String ident)(Code) | | set identity attribute (ident/identioty)
Parameters: ident - the value |
setItemTexts | public void setItemTexts(ArrayList itemTextList)(Code) | | Set the item texts.
Valid for single and multiple texts.
Parameters: itemText - text to be updated |
setTitle | public void setTitle(String title)(Code) | | set title attribute
Parameters: ident - the value |
update | public void update(ItemDataIfc item)(Code) | | Update XML from perisistence
Parameters: item - |
|
|