org.sakaiproject.tool.assessment.facade
Class PublishedSectionFacade

java.lang.Object
  extended by org.sakaiproject.tool.assessment.facade.SectionFacade
      extended by org.sakaiproject.tool.assessment.facade.PublishedSectionFacade
All Implemented Interfaces:
Serializable, Comparable, SectionDataIfc

public class PublishedSectionFacade
extends SectionFacade
implements Serializable, Comparable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.sakaiproject.tool.assessment.facade.SectionFacade
assessment, assessmentId, createdBy, createdDate, data, description, duration, id, itemFacadeSet, itemSet, lastModifiedBy, lastModifiedDate, metaDataMap, metaDataSet, section, sectionAttachmentSet, sectionId, sectionType, sequence, status, title, typeId
 
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
 
Constructor Summary
PublishedSectionFacade(SectionDataIfc data)
          This is a very important constructor.
 
Method Summary
 void addSectionMetaData(String label, String entry)
          Add a Meta Data to SectionFacade
 AssessmentIfc getAssessment()
           
 Set getItemFacadeSet()
          Get section text set (question text set) from SectionFacade.data
 void setAssessment(AssessmentIfc assessment)
           
 
Methods inherited from class org.sakaiproject.tool.assessment.facade.SectionFacade
addItem, addItem, compareTo, getAssessmentId, getCreatedBy, getCreatedDate, getData, getDescription, getDuration, getItemArray, getItemArraySorted, getItemArraySortedForGrading, getItemArraySortedWithRandom, getItemSet, getLastModifiedBy, getLastModifiedDate, getSectionAttachmentList, getSectionAttachmentSet, getSectionId, getSectionMetaDataByLabel, getSectionMetaDataMap, getSectionMetaDataSet, getSectionTypeFacade, getSequence, getStatus, getTitle, getType, getTypeId, setAssessmentId, setCreatedBy, setCreatedDate, setData, setDescription, setDuration, setItemSet, setLastModifiedBy, setLastModifiedDate, setSectionAttachmentSet, setSectionId, setSectionMetaDataSet, setSequence, setStatus, setTitle, setTypeId, updateData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

PublishedSectionFacade

public PublishedSectionFacade(SectionDataIfc data)
This is a very important constructor. Please make sure that you have set all the properties (declared above as private) of SectionFacade using the "data" supplied. "data" is a org.osid.assessment.Section properties and I use it to store info about an section.

Parameters:
data -
Method Detail

addSectionMetaData

public void addSectionMetaData(String label,
                               String entry)
Add a Meta Data to SectionFacade

Specified by:
addSectionMetaData in interface SectionDataIfc
Overrides:
addSectionMetaData in class SectionFacade
Parameters:
label -
entry -

getItemFacadeSet

public Set getItemFacadeSet()
                     throws DataFacadeException
Description copied from class: SectionFacade
Get section text set (question text set) from SectionFacade.data

Overrides:
getItemFacadeSet in class SectionFacade
Returns:
Throws:
DataFacadeException

getAssessment

public AssessmentIfc getAssessment()
                            throws DataFacadeException
Specified by:
getAssessment in interface SectionDataIfc
Overrides:
getAssessment in class SectionFacade
Throws:
DataFacadeException

setAssessment

public void setAssessment(AssessmentIfc assessment)
Specified by:
setAssessment in interface SectionDataIfc
Overrides:
setAssessment in class SectionFacade


Copyright © 2005-2013 Sakai Project. All Rights Reserved.