OSID Logo
OSID Specifications
course chronicle package
Version 3.0.0
Interfaceosid.course.chronicle.AssessmentEntryForm
Implementsosid.OsidRuleForm
osid.OsidAggregateableForm
Implemented Byosid.course.chronicle.batch.AssessmentEntryBatchForm
Used Byosid.course.chronicle.AssessmentEntryAdminSession
Description

This is the form for creating and updating AssessmentEntries . Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the ChronicleAdminSession . For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetDateCompletedMetadata
Description

Gets the metadata for the completed date.

Returnosid.Metadatametadata for the completion date
CompliancemandatoryThis method must be implemented.
MethodsetDateCompleted
Description

Sets the completed date.

Parametersosid.calendaring.DateTimedatethe new completion date
ErrorsINVALID_ARGUMENTdate is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTdate is null
CompliancemandatoryThis method must be implemented.
MethodclearDateCompleted
Description

Clears the date completed.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetProgramMetadata
Description

Gets the metadata for the program.

Returnosid.Metadatametadata for the program
CompliancemandatoryThis method must be implemented.
MethodsetProgram
Description

Sets the program.

Parametersosid.id.IdprogramIdthe new program
ErrorsINVALID_ARGUMENTprogramId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTprogramId is null
CompliancemandatoryThis method must be implemented.
MethodclearProgram
Description

Clears the program.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetCourseMetadata
Description

Gets the metadata for the course.

Returnosid.Metadatametadata for the course
CompliancemandatoryThis method must be implemented.
MethodsetCourse
Description

Sets the course.

Parametersosid.id.IdcourseIdthe new course
ErrorsINVALID_ARGUMENTcourseId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTcourseId is null
CompliancemandatoryThis method must be implemented.
MethodclearCourse
Description

Clears the course.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetGradeMetadata
Description

Gets the metadata for the grade.

Returnosid.Metadatametadata for the grade
CompliancemandatoryThis method must be implemented.
MethodsetGrade
Description

Sets the grade.

Parametersosid.id.IdgradeIdthe new grade
ErrorsINVALID_ARGUMENTgradeId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTgradeId is null
CompliancemandatoryThis method must be implemented.
MethodclearGrade
Description

Clears the grade.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetScoreScaleMetadata
Description

Gets the metadata for the score system.

Returnosid.Metadatametadata for the grade system
CompliancemandatoryThis method must be implemented.
MethodsetScoreScale
Description

Sets the score system.

Parametersosid.id.IdgradeSystemIdthe new grade system
ErrorsINVALID_ARGUMENTgradeSystemId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTgradeSystemId is null
CompliancemandatoryThis method must be implemented.
MethodclearScoreScale
Description

Clears the score system.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetScoreMetadata
Description

Gets the metadata for the score.

Returnosid.Metadatametadata for the score
CompliancemandatoryThis method must be implemented.
MethodsetScore
Description

Sets the score.

Parametersdecimalscorethe new score
ErrorsINVALID_ARGUMENTscore is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearScore
Description

Clears the score.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentEntryFormRecord
Description

Gets the AssessmentEntryFormRecord corresponding to the given assessment entry record Type .

Parametersosid.type.TypeassessmentEntryFormRecordTypean assessment entry record type
Returnosid.course.chronicle.records.AssessmentEntryFormRecordthe assessment entry form record
ErrorsNULL_ARGUMENTassessmentEntryFormRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(assessmentEntryFormRecordType) is false
CompliancemandatoryThis method must be implemented.