OSID Logo
OSID Specifications
learning package
Version 3.1.0
Interfaceosid.learning.ProficiencyForm
Implementsosid.OsidRelationshipForm
Implemented Byosid.learning.batch.ProficiencyBatchForm
Used Byosid.learning.ProficiencyAdminSession
Description

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

MethodgetCompletionMetadata
Description

Gets the metadata for completion percentage.

Returnosid.Metadata metadata for the completion percentage
Compliancemandatory This method must be implemented.
MethodsetCompletion
Description

Sets the completion percentage.

Parametersdecimalcompletion the completion percentage
ErrorsINVALID_ARGUMENT completion is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearCompletion
Description

Clears the completion.

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

Gets the metadata for a level.

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

Sets the level expressed as a Grade.

Parametersosid.id.IdgradeId the grade Id
ErrorsINVALID_ARGUMENT gradeId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT gradeId is null
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.
MethodgetProficiencyFormRecord
Description

Gets the ProficiencyFormRecord corresponding to the given proficiency record Type.

Parametersosid.type.TypeproficiencyRecordType a proficiency record type
Returnosid.learning.records.ProficiencyFormRecord the proficiency form record
ErrorsNULL_ARGUMENT proficiencyRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(proficiencyRecordType) is false
Compliancemandatory This method must be implemented.