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

All Superinterfaces:
Serializable
All Known Implementing Classes:
PublishedSectionData, SectionData, SectionFacade

public interface SectionDataIfc
extends Serializable


Field Summary
static Integer AS_LISTED_ON_ASSESSMENT_PAGE
           
static String AUTHOR_TYPE
           
static String NUM_QUESTIONS_DRAWN
           
static String POOLID_FOR_RANDOM_DRAW
           
static Integer QUESTIONS_AUTHORED_ONE_BY_ONE
           
static String QUESTIONS_ORDERING
           
static Integer RANDOM_DRAW_FROM_QUESTIONPOOL
           
static Integer RANDOM_WITHIN_PART
           
 
Method Summary
 void addItem(ItemDataIfc item)
           
 void addSectionMetaData(String label, String entry)
           
 AssessmentIfc getAssessment()
           
 Long getAssessmentId()
           
 String getCreatedBy()
           
 Date getCreatedDate()
           
 String getDescription()
           
 Integer getDuration()
           
 ArrayList getItemArray()
           
 ArrayList getItemArraySorted()
           
 ArrayList getItemArraySortedForGrading()
           
 ArrayList getItemArraySortedWithRandom(long seed)
           
 Set getItemSet()
           
 String getLastModifiedBy()
           
 Date getLastModifiedDate()
           
 Long getSectionId()
           
 String getSectionMetaDataByLabel(String label)
           
 HashMap getSectionMetaDataMap(Set param)
           
 Set getSectionMetaDataSet()
           
 Integer getSequence()
           
 Integer getStatus()
           
 String getTitle()
           
 TypeIfc getType()
           
 Long getTypeId()
           
 void setAssessment(AssessmentIfc assessment)
           
 void setAssessmentId(Long assessmentId)
           
 void setCreatedBy(String createdBy)
           
 void setCreatedDate(Date createdDate)
           
 void setDescription(String description)
           
 void setDuration(Integer duration)
           
 void setItemSet(Set itemSet)
           
 void setLastModifiedBy(String lastModifiedBy)
           
 void setLastModifiedDate(Date lastModifiedDate)
           
 void setSectionId(Long sectionId)
           
 void setSectionMetaDataSet(Set param)
           
 void setSequence(Integer sequence)
           
 void setStatus(Integer status)
           
 void setTitle(String title)
           
 void setTypeId(Long typeId)
           
 

Field Detail

AUTHOR_TYPE

public static final String AUTHOR_TYPE
See Also:
Constant Field Values

QUESTIONS_AUTHORED_ONE_BY_ONE

public static final Integer QUESTIONS_AUTHORED_ONE_BY_ONE

RANDOM_DRAW_FROM_QUESTIONPOOL

public static final Integer RANDOM_DRAW_FROM_QUESTIONPOOL

QUESTIONS_ORDERING

public static final String QUESTIONS_ORDERING
See Also:
Constant Field Values

AS_LISTED_ON_ASSESSMENT_PAGE

public static final Integer AS_LISTED_ON_ASSESSMENT_PAGE

RANDOM_WITHIN_PART

public static final Integer RANDOM_WITHIN_PART

POOLID_FOR_RANDOM_DRAW

public static final String POOLID_FOR_RANDOM_DRAW
See Also:
Constant Field Values

NUM_QUESTIONS_DRAWN

public static final String NUM_QUESTIONS_DRAWN
See Also:
Constant Field Values
Method Detail

getSectionId

public Long getSectionId()

setSectionId

public void setSectionId(Long sectionId)

getAssessmentId

public Long getAssessmentId()

setAssessmentId

public void setAssessmentId(Long assessmentId)

getAssessment

public AssessmentIfc getAssessment()

setAssessment

public void setAssessment(AssessmentIfc assessment)

getDuration

public Integer getDuration()

setDuration

public void setDuration(Integer duration)

getSequence

public Integer getSequence()

setSequence

public void setSequence(Integer sequence)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getTypeId

public Long getTypeId()

setTypeId

public void setTypeId(Long typeId)

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)

getItemSet

public Set getItemSet()

setItemSet

public void setItemSet(Set itemSet)

addItem

public void addItem(ItemDataIfc item)

getType

public TypeIfc getType()

getItemArray

public ArrayList getItemArray()

getItemArraySortedForGrading

public ArrayList getItemArraySortedForGrading()

getItemArraySorted

public ArrayList getItemArraySorted()

getItemArraySortedWithRandom

public ArrayList getItemArraySortedWithRandom(long seed)

getSectionMetaDataSet

public Set getSectionMetaDataSet()

setSectionMetaDataSet

public void setSectionMetaDataSet(Set param)

getSectionMetaDataMap

public HashMap getSectionMetaDataMap(Set param)

getSectionMetaDataByLabel

public String getSectionMetaDataByLabel(String label)

addSectionMetaData

public void addSectionMetaData(String label,
                               String entry)