OSID Logo
OSID Specifications
assessment package
Version 3.1.0
Interfaceosid.assessment.AssessmentOfferedForm
Implementsosid.OsidObjectForm
osid.OsidSubjugateableForm
Implemented Byosid.assessment.batch.AssessmentOfferedBatchForm
Used Byosid.assessment.AssessmentOfferedAdminSession
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.Metadata metadata for the grade level
Compliancemandatory This method must be implemented.
MethodsetLevel
Description

Sets the level of difficulty expressed as a Grade.

Parametersosid.id.IdgradeId the grade level
ErrorsINVALID_ARGUMENT gradeId is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearLevel
Description

Clears the level.

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

Gets the metadata for sequential operation.

Returnosid.Metadata metadata for the sequential flag
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodclearItemsSequential
Description

Clears the items sequential flag.

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

Gets the metadata for shuffling items.

Returnosid.Metadata metadata for the shuffled flag
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodclearItemsShuffled
Description

Clears the shuffle flag.

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

Gets the metadata for the assessment start time.

Returnosid.Metadata metadata for the start time
Compliancemandatory This method must be implemented.
MethodsetStartTime
Description

Sets the assessment start time.

Parametersosid.calendaring.DateTimestart assessment start time
ErrorsINVALID_ARGUMENT start is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearStartTime
Description

Clears the start time.

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

Gets the metadata for the assessment deadline.

Returnosid.Metadata metadata for the end time
Compliancemandatory This method must be implemented.
MethodsetDeadline
Description

Sets the assessment end time.

Parametersosid.calendaring.DateTimeend assessment end time
ErrorsINVALID_ARGUMENT end is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearDeadline
Description

Clears the deadline.

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

Gets the metadata for the assessment duration

Returnosid.Metadata metadata for the duration
Compliancemandatory This method must be implemented.
MethodsetDuration
Description

Sets the assessment duration.

Parametersosid.calendaring.Durationduration assessment duration
ErrorsINVALID_ARGUMENT duration is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearDuration
Description

Clears the duration.

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

Gets the metadata for a score system.

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

Sets the scoring system.

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

Clears the score system.

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

Gets the metadata for a grading system.

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

Sets the grading system.

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

Clears the grading system.

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

Gets the AssessmentOfferedFormRecord corresponding to the given assessment record Type.

Parametersosid.type.TypeassessmentOfferedRecordType the assessment offered record type
Returnosid.assessment.records.AssessmentOfferedFormRecord the assessment offered record
ErrorsNULL_ARGUMENT assessmentOfferedRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(assessmentOfferedRecordType) is false
Compliancemandatory This method must be implemented.