org.sakaiproject.tool.assessment.data.dao.assessment
Class AssessmentBaseData

java.lang.Object
  extended byorg.sakaiproject.tool.assessment.data.dao.assessment.AssessmentBaseData
All Implemented Interfaces:
AssessmentBaseIfc, Serializable
Direct Known Subclasses:
AssessmentData, AssessmentTemplateData

public class AssessmentBaseData
extends Object
implements Serializable, AssessmentBaseIfc

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.sakaiproject.tool.assessment.data.ifc.assessment.AssessmentBaseIfc
ACTIVE_STATUS, DEAD_STATUS, HASMETADATAFORQUESTIONS, INACTIVE_STATUS, METADATAQUESTIONS_ISINSTRUCTOREDITABLE, SHOWFEEDBACKAUTHORING
 
Constructor Summary
AssessmentBaseData()
           
AssessmentBaseData(Boolean isTemplate, Long parentId, String title, String description, String comments, Long typeId, Integer instructorNotification, Integer testeeNotification, Integer multipartAllowed, Integer status, String createdBy, Date createdDate, String lastModifiedBy, Date lastModifiedDate)
           
AssessmentBaseData(Long assessmentBaseId, String title)
          This is a cheap object created for holding just the Id & title.
AssessmentBaseData(Long assessmentBaseId, String title, Date lastModifiedDate)
          This is another cheap object created for holding just the Id, title & lastModifiedDate.
 
Method Summary
 void addAssessmentMetaData(String label, String entry)
           
 AssessmentAccessControlIfc getAssessmentAccessControl()
           
 Long getAssessmentBaseId()
           
 AssessmentFeedbackIfc getAssessmentFeedback()
           
 String getAssessmentMetaDataByLabel(String label)
           
 HashMap getAssessmentMetaDataMap()
           
 HashMap getAssessmentMetaDataMap(Set assessmentMetaDataSet)
           
 Set getAssessmentMetaDataSet()
           
 String getComments()
           
 String getCreatedBy()
           
 Date getCreatedDate()
           
 String getDescription()
           
 EvaluationModelIfc getEvaluationModel()
           
 Integer getInstructorNotification()
           
 Boolean getIsTemplate()
           
 String getLastModifiedBy()
           
 Date getLastModifiedDate()
           
 Integer getMultipartAllowed()
           
 Long getParentId()
           
 Set getSecuredIPAddressSet()
           
 Integer getStatus()
           
 Integer getTesteeNotification()
           
 String getTitle()
           
 TypeIfc getType()
           
 Long getTypeId()
           
 void setAssessmentAccessControl(AssessmentAccessControlIfc assessmentAccessControl)
           
 void setAssessmentBaseId(Long assessmentBaseId)
           
 void setAssessmentFeedback(AssessmentFeedbackIfc assessmentFeedback)
           
 void setAssessmentMetaDataSet(Set assessmentMetaDataSet)
           
 void setComments(String comments)
           
 void setCreatedBy(String createdBy)
           
 void setCreatedDate(Date createdDate)
           
 void setDescription(String description)
           
 void setEvaluationModel(EvaluationModelIfc evaluationModel)
           
 void setInstructorNotification(Integer instructorNotification)
           
 void setIsTemplate(Boolean isTemplate)
           
 void setLastModifiedBy(String lastModifiedBy)
           
 void setLastModifiedDate(Date lastModifiedDate)
           
 void setMultipartAllowed(Integer multipartAllowed)
           
 void setParentId(Long parentId)
           
 void setSecuredIPAddressSet(Set securedIPAddressSet)
           
 void setStatus(Integer status)
           
 void setTesteeNotification(Integer testeeNotification)
           
 void setTitle(String title)
           
 void setTypeId(Long typeId)
           
 void updateAssessmentMetaData(String label, String entry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssessmentBaseData

public AssessmentBaseData()

AssessmentBaseData

public AssessmentBaseData(Long assessmentBaseId,
                          String title)
This is a cheap object created for holding just the Id & title. This is by AssessmentFacadeQueries.getTitleXXX() when we only need the Id & title and nothing else. This object is not used for persistence.

Parameters:
assessmentBaseId -
title -

AssessmentBaseData

public AssessmentBaseData(Long assessmentBaseId,
                          String title,
                          Date lastModifiedDate)
This is another cheap object created for holding just the Id, title & lastModifiedDate. This object is merely used for display. It is not used for persistence.


AssessmentBaseData

public AssessmentBaseData(Boolean isTemplate,
                          Long parentId,
                          String title,
                          String description,
                          String comments,
                          Long typeId,
                          Integer instructorNotification,
                          Integer testeeNotification,
                          Integer multipartAllowed,
                          Integer status,
                          String createdBy,
                          Date createdDate,
                          String lastModifiedBy,
                          Date lastModifiedDate)
Method Detail

getAssessmentBaseId

public Long getAssessmentBaseId()
Specified by:
getAssessmentBaseId in interface AssessmentBaseIfc

setAssessmentBaseId

public void setAssessmentBaseId(Long assessmentBaseId)
Specified by:
setAssessmentBaseId in interface AssessmentBaseIfc

getIsTemplate

public Boolean getIsTemplate()
Specified by:
getIsTemplate in interface AssessmentBaseIfc

setIsTemplate

public void setIsTemplate(Boolean isTemplate)
Specified by:
setIsTemplate in interface AssessmentBaseIfc

getParentId

public Long getParentId()
Specified by:
getParentId in interface AssessmentBaseIfc

setParentId

public void setParentId(Long parentId)
Specified by:
setParentId in interface AssessmentBaseIfc

getTitle

public String getTitle()
Specified by:
getTitle in interface AssessmentBaseIfc

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface AssessmentBaseIfc

getDescription

public String getDescription()
Specified by:
getDescription in interface AssessmentBaseIfc

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface AssessmentBaseIfc

getComments

public String getComments()
Specified by:
getComments in interface AssessmentBaseIfc

setComments

public void setComments(String comments)
Specified by:
setComments in interface AssessmentBaseIfc

getInstructorNotification

public Integer getInstructorNotification()
Specified by:
getInstructorNotification in interface AssessmentBaseIfc

setInstructorNotification

public void setInstructorNotification(Integer instructorNotification)
Specified by:
setInstructorNotification in interface AssessmentBaseIfc

getTesteeNotification

public Integer getTesteeNotification()
Specified by:
getTesteeNotification in interface AssessmentBaseIfc

setTesteeNotification

public void setTesteeNotification(Integer testeeNotification)
Specified by:
setTesteeNotification in interface AssessmentBaseIfc

getMultipartAllowed

public Integer getMultipartAllowed()
Specified by:
getMultipartAllowed in interface AssessmentBaseIfc

setMultipartAllowed

public void setMultipartAllowed(Integer multipartAllowed)
Specified by:
setMultipartAllowed in interface AssessmentBaseIfc

getTypeId

public Long getTypeId()
Specified by:
getTypeId in interface AssessmentBaseIfc

setTypeId

public void setTypeId(Long typeId)
Specified by:
setTypeId in interface AssessmentBaseIfc

getStatus

public Integer getStatus()
Specified by:
getStatus in interface AssessmentBaseIfc

setStatus

public void setStatus(Integer status)
Specified by:
setStatus in interface AssessmentBaseIfc

getCreatedBy

public String getCreatedBy()
Specified by:
getCreatedBy in interface AssessmentBaseIfc

setCreatedBy

public void setCreatedBy(String createdBy)
Specified by:
setCreatedBy in interface AssessmentBaseIfc

getCreatedDate

public Date getCreatedDate()
Specified by:
getCreatedDate in interface AssessmentBaseIfc

setCreatedDate

public void setCreatedDate(Date createdDate)
Specified by:
setCreatedDate in interface AssessmentBaseIfc

getLastModifiedBy

public String getLastModifiedBy()
Specified by:
getLastModifiedBy in interface AssessmentBaseIfc

setLastModifiedBy

public void setLastModifiedBy(String lastModifiedBy)
Specified by:
setLastModifiedBy in interface AssessmentBaseIfc

getLastModifiedDate

public Date getLastModifiedDate()
Specified by:
getLastModifiedDate in interface AssessmentBaseIfc

setLastModifiedDate

public void setLastModifiedDate(Date lastModifiedDate)
Specified by:
setLastModifiedDate in interface AssessmentBaseIfc

getAssessmentAccessControl

public AssessmentAccessControlIfc getAssessmentAccessControl()
Specified by:
getAssessmentAccessControl in interface AssessmentBaseIfc

setAssessmentAccessControl

public void setAssessmentAccessControl(AssessmentAccessControlIfc assessmentAccessControl)
Specified by:
setAssessmentAccessControl in interface AssessmentBaseIfc

getEvaluationModel

public EvaluationModelIfc getEvaluationModel()
Specified by:
getEvaluationModel in interface AssessmentBaseIfc

setEvaluationModel

public void setEvaluationModel(EvaluationModelIfc evaluationModel)
Specified by:
setEvaluationModel in interface AssessmentBaseIfc

getAssessmentFeedback

public AssessmentFeedbackIfc getAssessmentFeedback()
Specified by:
getAssessmentFeedback in interface AssessmentBaseIfc

setAssessmentFeedback

public void setAssessmentFeedback(AssessmentFeedbackIfc assessmentFeedback)
Specified by:
setAssessmentFeedback in interface AssessmentBaseIfc

getSecuredIPAddressSet

public Set getSecuredIPAddressSet()
Specified by:
getSecuredIPAddressSet in interface AssessmentBaseIfc

setSecuredIPAddressSet

public void setSecuredIPAddressSet(Set securedIPAddressSet)
Specified by:
setSecuredIPAddressSet in interface AssessmentBaseIfc

getAssessmentMetaDataSet

public Set getAssessmentMetaDataSet()
Specified by:
getAssessmentMetaDataSet in interface AssessmentBaseIfc

setAssessmentMetaDataSet

public void setAssessmentMetaDataSet(Set assessmentMetaDataSet)
Specified by:
setAssessmentMetaDataSet in interface AssessmentBaseIfc

getAssessmentMetaDataMap

public HashMap getAssessmentMetaDataMap(Set assessmentMetaDataSet)
Specified by:
getAssessmentMetaDataMap in interface AssessmentBaseIfc

getAssessmentMetaDataMap

public HashMap getAssessmentMetaDataMap()
Specified by:
getAssessmentMetaDataMap in interface AssessmentBaseIfc

getAssessmentMetaDataByLabel

public String getAssessmentMetaDataByLabel(String label)
Specified by:
getAssessmentMetaDataByLabel in interface AssessmentBaseIfc

addAssessmentMetaData

public void addAssessmentMetaData(String label,
                                  String entry)
Specified by:
addAssessmentMetaData in interface AssessmentBaseIfc

updateAssessmentMetaData

public void updateAssessmentMetaData(String label,
                                     String entry)
Specified by:
updateAssessmentMetaData in interface AssessmentBaseIfc

getType

public TypeIfc getType()
Specified by:
getType in interface AssessmentBaseIfc