OSID Logo
OSID Specifications
course chronicle package
Version 3.1.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.Metadata metadata for the term
Compliancemandatory This method must be implemented.
MethodsetTerm
Description

Sets the term.

Parametersosid.id.IdtermId the new term
ErrorsINVALID_ARGUMENT termId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT termId is null
Compliancemandatory This method must be implemented.
MethodclearTerm
Description

Clears the term.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetIsRegistrationKnownMetadata
Description

Gets the metadata for the is registration known flag.

Returnosid.Metadata metadata for the is registration known flag
Compliancemandatory This method must be implemented.
MethodsetIsRegistrationKnown
Description

Sets the is registration known flag.

ParametersbooleanisRegistrationKnown the new is registration known flag
ErrorsINVALID_ARGUMENT isRegistrationKnown is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearIsRegistrationKnown
Description

Clears the is registration known flag.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetCourseBeginDateMetadata
Description

Gets the metadata for the course begin date.

Returnosid.Metadata metadata for the course begin date
Compliancemandatory This method must be implemented.
MethodsetCourseBeginDate
Description

Sets the course begin date.

Parametersosid.calendaring.DateTimecourseBeginDate the new course begin date
ErrorsINVALID_ARGUMENT courseBeginDate is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT courseBeginDate is null
Compliancemandatory This method must be implemented.
MethodclearCourseBeginDate
Description

Clears the course begin date.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetCourseEndDateMetadata
Description

Gets the metadata for the course end date.

Returnosid.Metadata metadata for the course end date
Compliancemandatory This method must be implemented.
MethodsetCourseEndDate
Description

Sets the course end date.

Parametersosid.calendaring.DateTimecourseEndDate the new course end date
ErrorsINVALID_ARGUMENT courseEndDate is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT courseEndDate is null
Compliancemandatory This method must be implemented.
MethodclearCourseEndDate
Description

Clears the course end date.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetCompleteMetadata
Description

Gets the metadata for the completion flag.

Returnosid.Metadata metadata for the complete flag
Compliancemandatory This method must be implemented.
MethodsetComplete
Description

Sets the program is complete flag.

Parametersbooleancomplete the new complete flag
ErrorsINVALID_ARGUMENT complete is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearComplete
Description

Clears the complete flag.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetCreditScaleMetadata
Description

Gets the metadata for the credit scale.

Returnosid.Metadata metadata for the credit scale
Compliancemandatory This method must be implemented.
MethodsetCreditScale
Description

Sets the credit scale.

Parametersosid.id.IdgradeSystemId the new grade system
ErrorsINVALID_ARGUMENT gradeSystemId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT gradeSystemId is null
Compliancemandatory This method must be implemented.
MethodclearCreditScale
Description

Clears the credit scale.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetCreditsEarnedMetadata
Description

Gets the metadata for the credits earned.

Returnosid.Metadata metadata for the credits earned
Compliancemandatory This method must be implemented.
MethodsetCreditsEarned
Description

Sets the credits earned.

Parametersdecimalcredits the new credits
ErrorsINVALID_ARGUMENT credits is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearCreditsEarned
Description

Clears the credits earned.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetGradeMetadata
Description

Gets the metadata for the grade.

Returnosid.Metadata metadata for the grade
Compliancemandatory This method must be implemented.
MethodsetGrade
Description

Sets the grade.

Parametersosid.id.IdgradeId the new grade
ErrorsINVALID_ARGUMENT gradeId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT gradeId is null
Compliancemandatory This method must be implemented.
MethodclearGrade
Description

Clears the grade.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetScoreScaleMetadata
Description

Gets the metadata for the score scale.

Returnosid.Metadata metadata for the score scale
Compliancemandatory This method must be implemented.
MethodsetScoreScale
Description

Sets the score scale.

Parametersosid.id.IdgradeSystemId the new grade system
ErrorsINVALID_ARGUMENT gradeSystemId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT gradeSystemId is null
Compliancemandatory This method must be implemented.
MethodclearScoreScale
Description

Clears the score scale.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetScoreMetadata
Description

Gets the metadata for the score.

Returnosid.Metadata metadata for the score
Compliancemandatory This method must be implemented.
MethodsetScore
Description

Sets the score.

Parametersdecimalscore the new score
ErrorsINVALID_ARGUMENT score is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearScore
Description

Clears the score.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetCourseEntryFormRecord
Description

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

Parametersosid.type.TypecourseEntryRecordType a course entry record type
Returnosid.course.chronicle.records.CourseEntryFormRecord the course entry form record
ErrorsNULL_ARGUMENT courseEntryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(courseEntryRecordType) is false
Compliancemandatory This method must be implemented.