OSID Logo
OSID Specifications
learning package
Version 3.0.0
Release Candidate Preview
Interfaceosid.learning.Proficiency
Implementsosid.OsidRelationship
Description

A Proficiency represents a competency of a leraning objective.

MethodgetResourceId
Description

Gets the resource Id to whom this proficiency applies.

Returnosid.id.Idthe resource Id
CompliancemandatoryThis method must be implemented.
MethodgetResource
Description

Gets the resource to whom this proficiency applies.

Returnosid.resource.Resourcethe resource
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetObjectiveId
Description

Gets the objective Id to whom this proficiency applies.

Returnosid.id.Idthe objective Id
CompliancemandatoryThis method must be implemented.
MethodgetObjective
Description

Gets the objective to whom this proficiency applies.

Returnosid.learning.Objectivethe objective
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetCompletion
Description

Gets the completion of this objective as a percentage 0-100.

Returndecimalthe completion
CompliancemandatoryThis method must be implemented.
MethodhasLevel
Description

Tests if a proficiency level is available.

Returnboolean true if a level is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetLevelId
Description

Gets the proficiency level expressed as a grade.

Returnosid.id.Idthe grade Id
ErrorsILLEGAL_STATE hasLevel() is false
CompliancemandatoryThis method must be implemented.
MethodgetLevel
Description

Gets the proficiency level expressed as a grade.

Returnosid.grading.Gradethe grade
ErrorsILLEGAL_STATE hasLevel() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetProficiencyRecord
Description

Gets the proficiency record corresponding to the given Proficiency record Type. This method is used to retrieve an object implementing the requested record. The proficiencyRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(proficiencyRecordType) is true .

Parametersosid.type.TypeproficiencyRecordTypethe type of proficiency record to retrieve
Returnosid.learning.records.ProficiencyRecordthe proficiency record
ErrorsNULL_ARGUMENT proficiencyRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(proficiencyRecordType) is false
CompliancemandatoryThis method must be implemented.