OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.AssessmentOfferedForm
Implementsosid.OsidObjectForm
osid.OsidSubjugateableForm
Description

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

MethodgetLevelMetadata
Description

Gets the metadata for a grade level.

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

Sets the level of difficulty expressed as a Grade.

Parametersosid.id.IdgradeIdthe grade level
ErrorsINVALID_ARGUMENT gradeId is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearLevel
Description

Clears the level.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetItemsSequentialMetadata
Description

Gets the metadata for sequential operation.

Returnosid.Metadatametadata for the sequential flag
CompliancemandatoryThis method must be implemented.
MethodsetItemsSequential
Description

Sets the items sequential flag.

Parametersbooleansequential true if the items are taken sequentially, false if the items can be skipped and revisited
ErrorsINVALID_ARGUMENT sequential is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearItemsSequential
Description

Clears the items sequential flag.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetItemsShuffledMetadata
Description

Gets the metadata for shuffling items.

Returnosid.Metadatametadata for the shuffled flag
CompliancemandatoryThis method must be implemented.
MethodsetItemsShuffled
Description

Sets the shuffle flag. The shuffle flag may be overidden by other assessment sequencing rules.

Parametersbooleanshuffle true if the items are shuffled, false if the items appear in the designated order
ErrorsINVALID_ARGUMENT shuffle is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearItemsShuffled
Description

Clears the shuffle flag.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetStartTimeMetadata
Description

Gets the metadata for the assessment start time.

Returnosid.Metadatametadata for the start time
CompliancemandatoryThis method must be implemented.
MethodsetStartTime
Description

Sets the assessment start time.

Parametersosid.calendaring.DateTimestartassessment start time
ErrorsINVALID_ARGUMENT start is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearStartTime
Description

Clears the start time.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetDeadlineMetadata
Description

Gets the metadata for the assessment deadline.

Returnosid.Metadatametadata for the end time
CompliancemandatoryThis method must be implemented.
MethodsetDeadline
Description

Sets the assessment end time.

Parameterstimestampendassessment end time
ErrorsINVALID_ARGUMENT end is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearDeadline
Description

Clears the deadline.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetDurationMetadata
Description

Gets the metadata for the assessment duration

Returnosid.Metadatametadata for the duration
CompliancemandatoryThis method must be implemented.
MethodsetDuration
Description

Sets the assessment duration.

Parametersosid.calendaring.Durationdurationassessment duration
ErrorsINVALID_ARGUMENT duration is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearDuration
Description

Clears the duration.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetScoreSystemMetadata
Description

Gets the metadata for a score system.

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

Sets the scoring system.

Parametersosid.id.IdgradeSystemIdthe grade system
ErrorsINVALID_ARGUMENT gradeSystemId is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearScoreSystem
Description

Clears the score system.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetGradeSystemMetadata
Description

Gets the metadata for a grading system.

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

Sets the grading system.

Parametersosid.id.IdgradeSystemIdthe grade system
ErrorsINVALID_ARGUMENT gradeSystemId is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearGradeSystem
Description

Clears the grading system.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentOfferedFormRecord
Description

Gets the AssessmentOfferedFormRecord corresponding to the given assessment record Type.

Parametersosid.type.TypeassessmentOfferedRecordTypethe assessment offered record type
Returnosid.assessment.records.AssessmentOfferedFormRecordthe assessment offered record
ErrorsNULL_ARGUMENT assessmentOfferedRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(assessmentOfferedRecordType) is false
CompliancemandatoryThis method must be implemented.