org.sakaiproject.tool.assessment.osid.assessment.impl
Class AssessmentImpl

java.lang.Object
  extended byorg.sakaiproject.tool.assessment.osid.assessment.impl.AssessmentImpl
All Implemented Interfaces:
org.osid.assessment.Assessment, Serializable

public class AssessmentImpl
extends Object
implements org.osid.assessment.Assessment

See Also:
Serialized Form

Constructor Summary
AssessmentImpl()
           
 
Method Summary
 void addSection(org.osid.assessment.Section section)
           
 org.osid.shared.Type getAssessmentType()
           
 Serializable getData()
           
 String getDescription()
           
 String getDisplayName()
           
 org.osid.shared.Id getId()
           
 org.osid.shared.PropertiesIterator getProperties()
           
 org.osid.shared.Properties getPropertiesByType(org.osid.shared.Type type)
           
 org.osid.shared.TypeIterator getPropertyTypes()
           
 org.osid.assessment.SectionIterator getSections()
           
 String getTopic()
           
 void orderSections(org.osid.assessment.Section[] sectionArray)
           
 void removeSection(org.osid.shared.Id parm1)
           
 void updateAssessmentType(org.osid.shared.Type assessmentType)
           
 void updateData(Serializable data)
           
 void updateDescription(String description)
           
 void updateDisplayName(String displayName)
           
 void updateTopic(String topic)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssessmentImpl

public AssessmentImpl()
Method Detail

getId

public org.osid.shared.Id getId()
Specified by:
getId in interface org.osid.assessment.Assessment

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface org.osid.assessment.Assessment

updateDisplayName

public void updateDisplayName(String displayName)
Specified by:
updateDisplayName in interface org.osid.assessment.Assessment

getDescription

public String getDescription()
Specified by:
getDescription in interface org.osid.assessment.Assessment

updateDescription

public void updateDescription(String description)
Specified by:
updateDescription in interface org.osid.assessment.Assessment

getTopic

public String getTopic()
Specified by:
getTopic in interface org.osid.assessment.Assessment

updateTopic

public void updateTopic(String topic)
Specified by:
updateTopic in interface org.osid.assessment.Assessment

getData

public Serializable getData()
Specified by:
getData in interface org.osid.assessment.Assessment

updateData

public void updateData(Serializable data)
Specified by:
updateData in interface org.osid.assessment.Assessment

getAssessmentType

public org.osid.shared.Type getAssessmentType()
Specified by:
getAssessmentType in interface org.osid.assessment.Assessment

updateAssessmentType

public void updateAssessmentType(org.osid.shared.Type assessmentType)

addSection

public void addSection(org.osid.assessment.Section section)
Specified by:
addSection in interface org.osid.assessment.Assessment

removeSection

public void removeSection(org.osid.shared.Id parm1)
Specified by:
removeSection in interface org.osid.assessment.Assessment

getSections

public org.osid.assessment.SectionIterator getSections()
Specified by:
getSections in interface org.osid.assessment.Assessment

orderSections

public void orderSections(org.osid.assessment.Section[] sectionArray)
Specified by:
orderSections in interface org.osid.assessment.Assessment

getProperties

public org.osid.shared.PropertiesIterator getProperties()
                                                 throws org.osid.assessment.AssessmentException
Specified by:
getProperties in interface org.osid.assessment.Assessment
Throws:
org.osid.assessment.AssessmentException

getPropertiesByType

public org.osid.shared.Properties getPropertiesByType(org.osid.shared.Type type)
                                               throws org.osid.assessment.AssessmentException
Specified by:
getPropertiesByType in interface org.osid.assessment.Assessment
Throws:
org.osid.assessment.AssessmentException

getPropertyTypes

public org.osid.shared.TypeIterator getPropertyTypes()
                                              throws org.osid.assessment.AssessmentException
Specified by:
getPropertyTypes in interface org.osid.assessment.Assessment
Throws:
org.osid.assessment.AssessmentException