Interface Competency

All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject

public interface Competency extends OsidObject

A Competency is a skill required for a work.

  • Method Details

    • hasLearningObjectives

      boolean hasLearningObjectives()
      Tests if learning objectives are available for this competency.
      Returns:
      true if learning objectives are available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getLearningObjectiveIds

      IdList getLearningObjectiveIds()
      Gets the Ids of the learning objectives.
      Returns:
      the learning objective Ids
      Throws:
      IllegalStateException - hasLearningObjectives() is false
      Compliance:
      mandatory - This method must be implemented.
    • getLearningObjectives

      ObjectiveList getLearningObjectives() throws OperationFailedException
      Gets the learning objectives.
      Returns:
      the learning objectives
      Throws:
      IllegalStateException - hasLearningObjectives() is false
      OperationFailedException - unable to complete request
      Compliance:
      mandatory - This method must be implemented.
    • getCompetencyRecord

      CompetencyRecord getCompetencyRecord(Type competencyRecordType) throws OperationFailedException
      Gets the competency record corresponding to the given Competency record Type. This method is used to retrieve an object implementing the requested record. The competencyRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(competencyRecordType) is true.
      Parameters:
      competencyRecordType - the type of competency record to retrieve
      Returns:
      the competency record
      Throws:
      NullArgumentException - competencyRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(competencyRecordType) is false
      Compliance:
      mandatory - This method must be implemented.