org.sakaiproject.tool.assessment.data.dao.assessment
Class SectionData
java.lang.Object
org.sakaiproject.tool.assessment.data.dao.assessment.SectionData
- All Implemented Interfaces:
- Serializable, Comparable, SectionDataIfc
public class SectionData
- extends Object
- implements Serializable, SectionDataIfc, Comparable
- See Also:
- Serialized Form
| Fields inherited from interface org.sakaiproject.tool.assessment.data.ifc.assessment.SectionDataIfc |
AS_LISTED_ON_ASSESSMENT_PAGE, AUTHOR_TYPE, DISCOUNT_VALUE_FOR_QUESTION, NUM_QUESTIONS_DRAWN, PER_STUDENT, PER_SUBMISSION, POINT_VALUE_FOR_QUESTION, POOLID_FOR_RANDOM_DRAW, POOLNAME_FOR_RANDOM_DRAW, QUESTIONS_AUTHORED_ONE_BY_ONE, QUESTIONS_ORDERING, QUESTIONS_RANDOM_DRAW_DATE, RANDOM_DRAW_FROM_QUESTIONPOOL, RANDOM_WITHIN_PART, RANDOMIZATION_TYPE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACTIVE_STATUS
public static final Integer ACTIVE_STATUS
INACTIVE_STATUS
public static final Integer INACTIVE_STATUS
ANY_STATUS
public static final Integer ANY_STATUS
SectionData
public SectionData()
SectionData
public SectionData(Integer duration,
Integer sequence,
String title,
String description,
Long typeId,
Integer status,
String createdBy,
Date createdDate,
String lastModifiedBy,
Date lastModifiedDate)
getSectionId
public Long getSectionId()
- Specified by:
getSectionId in interface SectionDataIfc
setSectionId
public void setSectionId(Long id)
- Specified by:
setSectionId in interface SectionDataIfc
getAssessmentId
public Long getAssessmentId()
- Specified by:
getAssessmentId in interface SectionDataIfc
setAssessmentId
public void setAssessmentId(Long assessmentId)
- Specified by:
setAssessmentId in interface SectionDataIfc
setAssessment
public void setAssessment(AssessmentIfc assessment)
- Specified by:
setAssessment in interface SectionDataIfc
getAssessment
public AssessmentIfc getAssessment()
- Specified by:
getAssessment in interface SectionDataIfc
getDuration
public Integer getDuration()
- public AssessmentDataIfc getAssessment()
{
return (AssessmentDataIfc)assessment;
}
- Specified by:
getDuration in interface SectionDataIfc
setDuration
public void setDuration(Integer duration)
- Specified by:
setDuration in interface SectionDataIfc
getSequence
public Integer getSequence()
- Specified by:
getSequence in interface SectionDataIfc
setSequence
public void setSequence(Integer sequence)
- Specified by:
setSequence in interface SectionDataIfc
getTitle
public String getTitle()
- Specified by:
getTitle in interface SectionDataIfc
setTitle
public void setTitle(String title)
- Specified by:
setTitle in interface SectionDataIfc
getDescription
public String getDescription()
- Specified by:
getDescription in interface SectionDataIfc
setDescription
public void setDescription(String description)
- Specified by:
setDescription in interface SectionDataIfc
getTypeId
public Long getTypeId()
- Specified by:
getTypeId in interface SectionDataIfc
setTypeId
public void setTypeId(Long typeId)
- Specified by:
setTypeId in interface SectionDataIfc
getStatus
public Integer getStatus()
- Specified by:
getStatus in interface SectionDataIfc
setStatus
public void setStatus(Integer status)
- Specified by:
setStatus in interface SectionDataIfc
getCreatedBy
public String getCreatedBy()
- Specified by:
getCreatedBy in interface SectionDataIfc
setCreatedBy
public void setCreatedBy(String createdBy)
- Specified by:
setCreatedBy in interface SectionDataIfc
getCreatedDate
public Date getCreatedDate()
- Specified by:
getCreatedDate in interface SectionDataIfc
setCreatedDate
public void setCreatedDate(Date createdDate)
- Specified by:
setCreatedDate in interface SectionDataIfc
getLastModifiedBy
public String getLastModifiedBy()
- Specified by:
getLastModifiedBy in interface SectionDataIfc
setLastModifiedBy
public void setLastModifiedBy(String lastModifiedBy)
- Specified by:
setLastModifiedBy in interface SectionDataIfc
getLastModifiedDate
public Date getLastModifiedDate()
- Specified by:
getLastModifiedDate in interface SectionDataIfc
setLastModifiedDate
public void setLastModifiedDate(Date lastModifiedDate)
- Specified by:
setLastModifiedDate in interface SectionDataIfc
getItemSet
public Set getItemSet()
- Specified by:
getItemSet in interface SectionDataIfc
setItemSet
public void setItemSet(Set itemSet)
- Specified by:
setItemSet in interface SectionDataIfc
getSectionMetaDataSet
public Set getSectionMetaDataSet()
- Specified by:
getSectionMetaDataSet in interface SectionDataIfc
setSectionMetaDataSet
public void setSectionMetaDataSet(Set param)
- Specified by:
setSectionMetaDataSet in interface SectionDataIfc
getSectionMetaDataMap
public HashMap getSectionMetaDataMap(Set metaDataSet)
- Specified by:
getSectionMetaDataMap in interface SectionDataIfc
addSectionMetaData
public void addSectionMetaData(String label,
String entry)
- Specified by:
addSectionMetaData in interface SectionDataIfc
getSectionMetaDataByLabel
public String getSectionMetaDataByLabel(String label)
- Specified by:
getSectionMetaDataByLabel in interface SectionDataIfc
getItemArray
public ArrayList getItemArray()
- Specified by:
getItemArray in interface SectionDataIfc
getItemArraySortedForGrading
public ArrayList getItemArraySortedForGrading()
- Specified by:
getItemArraySortedForGrading in interface SectionDataIfc
getItemArraySorted
public ArrayList getItemArraySorted()
getItemArraySortedWithRandom
public ArrayList getItemArraySortedWithRandom(long seed)
addItem
public void addItem(ItemDataIfc item)
- Specified by:
addItem in interface SectionDataIfc
getType
public TypeIfc getType()
- Specified by:
getType in interface SectionDataIfc
compareTo
public int compareTo(Object o)
- Specified by:
compareTo in interface Comparable
getSectionAttachmentSet
public Set getSectionAttachmentSet()
- Specified by:
getSectionAttachmentSet in interface SectionDataIfc
setSectionAttachmentSet
public void setSectionAttachmentSet(Set sectionAttachmentSet)
- Specified by:
setSectionAttachmentSet in interface SectionDataIfc
getSectionAttachmentList
public List getSectionAttachmentList()
- Specified by:
getSectionAttachmentList in interface SectionDataIfc
Copyright © 2005-2012 Sakai Project. All Rights Reserved.