OSID Logo
OSID Specifications
course chronicle package
Version 3.0.0
Interfaceosid.course.chronicle.CourseEntryForm
Implementsosid.OsidRelationshipForm
Implemented Byosid.course.chronicle.batch.CourseEntryBatchForm
Used Byosid.course.chronicle.CourseEntryAdminSession
Description

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

MethodgetTermMetadata
Description

Gets the metadata for the term.

Returnosid.Metadatametadata for the term
CompliancemandatoryThis method must be implemented.
MethodsetTerm
Description

Sets the term.

Parametersosid.id.IdtermIdthe new term
ErrorsINVALID_ARGUMENTtermId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTtermId is null
CompliancemandatoryThis method must be implemented.
MethodclearTerm
Description

Clears the term.

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

Gets the metadata for the is registration known flag.

Returnosid.Metadatametadata for the is registration known flag
CompliancemandatoryThis method must be implemented.
MethodsetIsRegistrationKnown
Description

Sets the is registration known flag.

ParametersbooleanisRegistrationKnownthe new is registration known flag
ErrorsINVALID_ARGUMENTisRegistrationKnown is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearIsRegistrationKnown
Description

Clears the is registration known flag.

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

Gets the metadata for the course begin date.

Returnosid.Metadatametadata for the course begin date
CompliancemandatoryThis method must be implemented.
MethodsetCourseBeginDate
Description

Sets the course begin date.

Parametersosid.calendaring.DateTimecourseBeginDatethe new course begin date
ErrorsINVALID_ARGUMENTcourseBeginDate is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTcourseBeginDate is null
CompliancemandatoryThis method must be implemented.
MethodclearCourseBeginDate
Description

Clears the course begin date.

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

Gets the metadata for the course end date.

Returnosid.Metadatametadata for the course end date
CompliancemandatoryThis method must be implemented.
MethodsetCourseEndDate
Description

Sets the course end date.

Parametersosid.calendaring.DateTimecourseEndDatethe new course end date
ErrorsINVALID_ARGUMENTcourseEndDate is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTcourseEndDate is null
CompliancemandatoryThis method must be implemented.
MethodclearCourseEndDate
Description

Clears the course end date.

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

Gets the metadata for the completion flag.

Returnosid.Metadatametadata for the complete flag
CompliancemandatoryThis method must be implemented.
MethodsetComplete
Description

Sets the program is complete flag.

Parametersbooleancompletethe new complete flag
ErrorsINVALID_ARGUMENTcomplete is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearComplete
Description

Clears the complete flag.

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

Gets the metadata for the credit scale.

Returnosid.Metadatametadata for the credit scale
CompliancemandatoryThis method must be implemented.
MethodsetCreditScale
Description

Sets the credit scale.

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

Clears the credit scale.

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

Gets the metadata for the credits earned.

Returnosid.Metadatametadata for the credits earned
CompliancemandatoryThis method must be implemented.
MethodsetCreditsEarned
Description

Sets the credits earned.

Parametersdecimalcreditsthe new credits
ErrorsINVALID_ARGUMENTcredits is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearCreditsEarned
Description

Clears the credits earned.

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 scale.

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

Sets the score scale.

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 scale.

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.
MethodgetCourseEntryFormRecord
Description

Gets the CourseEntryFormRecord corresponding to the given course entry record Type .

Parametersosid.type.TypecourseEntryRecordTypea course entry record type
Returnosid.course.chronicle.records.CourseEntryFormRecordthe course entry form record
ErrorsNULL_ARGUMENTcourseEntryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(courseEntryRecordType) is false
CompliancemandatoryThis method must be implemented.