OSID Logo
OSID Specifications
course chronicle package
Version 3.1.0
Interfaceosid.course.chronicle.AwardEntryForm
Implementsosid.OsidRelationshipForm
Implemented Byosid.course.chronicle.batch.AwardEntryBatchForm
Used Byosid.course.chronicle.AwardEntryAdminSession
Description

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

MethodgetDateAwardedMetadata
Description

Gets the metadata for the award date.

Returnosid.Metadata metadata for the award date
Compliancemandatory This method must be implemented.
MethodsetDateAwarded
Description

Sets the award date.

Parametersosid.calendaring.DateTimedate the new date
ErrorsINVALID_ARGUMENT date is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT date is null
Compliancemandatory This method must be implemented.
MethodclearDateAwarded
Description

Clears the award date.

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

Gets the metadata for the program.

Returnosid.Metadata metadata for the program
Compliancemandatory This method must be implemented.
MethodsetProgram
Description

Sets the program.

Parametersosid.id.IdprogramId the new program
ErrorsINVALID_ARGUMENT programId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT programId is null
Compliancemandatory This method must be implemented.
MethodclearProgram
Description

Clears the program.

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

Gets the metadata for the course.

Returnosid.Metadata metadata for the course
Compliancemandatory This method must be implemented.
MethodsetCourse
Description

Sets the course.

Parametersosid.id.IdcourseId the new course
ErrorsINVALID_ARGUMENT courseId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT courseId is null
Compliancemandatory This method must be implemented.
MethodclearCourse
Description

Clears the course.

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

Gets the metadata for the assessment.

Returnosid.Metadata metadata for the assessment
Compliancemandatory This method must be implemented.
MethodsetAssessment
Description

Sets the assessment.

Parametersosid.id.IdassessmentId the new assessment
ErrorsINVALID_ARGUMENT assessmentId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT assessmentId is null
Compliancemandatory This method must be implemented.
MethodclearAssessment
Description

Clears the assessment.

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

Gets the AwardEntryFormRecord corresponding to the given award entry record Type.

Parametersosid.type.TypeawardEntryRecordType an award entry record type
Returnosid.course.chronicle.records.AwardEntryFormRecord the award entry form record
ErrorsNULL_ARGUMENT awardEntryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(awardEntryRecordType) is false
Compliancemandatory This method must be implemented.