org.sakaiproject.tool.assessment.data.ifc.assessment
Interface ItemDataIfc

All Superinterfaces:
Serializable
All Known Implementing Classes:
ItemData, ItemFacade, PublishedItemData

public interface ItemDataIfc
extends Serializable


Field Summary
static Integer ACTIVE_STATUS
           
static Integer INACTIVE_STATUS
           
 
Method Summary
 void addItemFeedback(String typeId, String text)
           
 void addItemMetaData(String label, String entry)
           
 void addItemText(String itemText, Set answerSet)
           
 String getAnswerKey()
           
 String getCorrectItemFeedback()
           
 String getCreatedBy()
           
 Date getCreatedDate()
           
 String getDescription()
           
 Integer getDuration()
           
 String getGeneralItemFeedback()
           
 String getGrade()
           
 Boolean getHasRationale()
           
 String getHint()
           
 String getInCorrectItemFeedback()
           
 String getInstruction()
           
 Boolean getIsTrue()
           
 String getItemFeedback(String typeId)
           
 HashMap getItemFeedbackMap(Set itemFeedbackSet)
           
 Set getItemFeedbackSet()
           
 Long getItemId()
           
 String getItemIdString()
           
 String getItemMetaDataByLabel(String label)
           
 HashMap getItemMetaDataMap(Set itemMetaDataSet)
           
 Set getItemMetaDataSet()
           
 ArrayList getItemTextArray()
           
 ArrayList getItemTextArraySorted()
           
 Set getItemTextSet()
           
 String getLastModifiedBy()
           
 Date getLastModifiedDate()
           
 Float getScore()
           
 SectionDataIfc getSection()
           
 Integer getSequence()
           
 Integer getStatus()
           
 String getText()
           
 Integer getTriesAllowed()
           
 TypeIfc getType()
           
 Long getTypeId()
           
 void removeFeedbackByType(String typeId)
           
 void setCorrectItemFeedback(String text)
           
 void setCreatedBy(String createdBy)
           
 void setCreatedDate(Date createdDate)
           
 void setDescription(String description)
           
 void setDuration(Integer duration)
           
 void setGeneralItemFeedback(String text)
           
 void setGrade(String grade)
           
 void setHasRationale(Boolean hasRationale)
           
 void setHint(String hint)
           
 void setInCorrectItemFeedback(String text)
           
 void setInstruction(String instruction)
           
 void setItemFeedbackSet(Set itemFeedbackSet)
           
 void setItemId(Long itemId)
           
 void setItemIdString(String itemIdString)
           
 void setItemMetaDataSet(Set itemMetaDataSet)
           
 void setItemTextSet(Set itemTextSet)
           
 void setLastModifiedBy(String lastModifiedBy)
           
 void setLastModifiedDate(Date lastModifiedDate)
           
 void setScore(Float score)
           
 void setSection(SectionDataIfc section)
           
 void setSequence(Integer sequence)
           
 void setStatus(Integer status)
           
 void setTriesAllowed(Integer triesAllowed)
           
 void setTypeId(Long typeId)
           
 

Field Detail

ACTIVE_STATUS

public static final Integer ACTIVE_STATUS

INACTIVE_STATUS

public static final Integer INACTIVE_STATUS
Method Detail

getItemId

public Long getItemId()

setItemId

public void setItemId(Long itemId)

getItemIdString

public String getItemIdString()

setItemIdString

public void setItemIdString(String itemIdString)

getSection

public SectionDataIfc getSection()

setSection

public void setSection(SectionDataIfc section)

getSequence

public Integer getSequence()

setSequence

public void setSequence(Integer sequence)

getDuration

public Integer getDuration()

setTriesAllowed

public void setTriesAllowed(Integer triesAllowed)

getTriesAllowed

public Integer getTriesAllowed()

setDuration

public void setDuration(Integer duration)

getInstruction

public String getInstruction()

setInstruction

public void setInstruction(String instruction)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getTypeId

public Long getTypeId()

setTypeId

public void setTypeId(Long typeId)

getGrade

public String getGrade()

setGrade

public void setGrade(String grade)

getScore

public Float getScore()

setScore

public void setScore(Float score)

getHint

public String getHint()

setHint

public void setHint(String hint)

getHasRationale

public Boolean getHasRationale()

setHasRationale

public void setHasRationale(Boolean hasRationale)

getStatus

public Integer getStatus()

setStatus

public void setStatus(Integer status)

getCreatedBy

public String getCreatedBy()

setCreatedBy

public void setCreatedBy(String createdBy)

getCreatedDate

public Date getCreatedDate()

setCreatedDate

public void setCreatedDate(Date createdDate)

getLastModifiedBy

public String getLastModifiedBy()

setLastModifiedBy

public void setLastModifiedBy(String lastModifiedBy)

getLastModifiedDate

public Date getLastModifiedDate()

setLastModifiedDate

public void setLastModifiedDate(Date lastModifiedDate)

getItemTextSet

public Set getItemTextSet()

setItemTextSet

public void setItemTextSet(Set itemTextSet)

addItemText

public void addItemText(String itemText,
                        Set answerSet)

getItemMetaDataSet

public Set getItemMetaDataSet()

setItemMetaDataSet

public void setItemMetaDataSet(Set itemMetaDataSet)

getItemMetaDataMap

public HashMap getItemMetaDataMap(Set itemMetaDataSet)

getItemFeedbackSet

public Set getItemFeedbackSet()

setItemFeedbackSet

public void setItemFeedbackSet(Set itemFeedbackSet)

getItemFeedbackMap

public HashMap getItemFeedbackMap(Set itemFeedbackSet)

getItemMetaDataByLabel

public String getItemMetaDataByLabel(String label)

addItemMetaData

public void addItemMetaData(String label,
                            String entry)

getCorrectItemFeedback

public String getCorrectItemFeedback()

setCorrectItemFeedback

public void setCorrectItemFeedback(String text)

getInCorrectItemFeedback

public String getInCorrectItemFeedback()

setInCorrectItemFeedback

public void setInCorrectItemFeedback(String text)

getGeneralItemFeedback

public String getGeneralItemFeedback()

setGeneralItemFeedback

public void setGeneralItemFeedback(String text)

getItemFeedback

public String getItemFeedback(String typeId)

addItemFeedback

public void addItemFeedback(String typeId,
                            String text)

removeFeedbackByType

public void removeFeedbackByType(String typeId)

getIsTrue

public Boolean getIsTrue()

getText

public String getText()

getType

public TypeIfc getType()

getItemTextArray

public ArrayList getItemTextArray()

getItemTextArraySorted

public ArrayList getItemTextArraySorted()

getAnswerKey

public String getAnswerKey()