Interface Competency
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject
A Competency is a skill required for a work.
-
Method Summary
Modifier and TypeMethodDescriptiongetCompetencyRecord(Type competencyRecordType) Gets the competency record corresponding to the givenCompetencyrecordType.Gets the Ids of the learning objectives.Gets the learning objectives.booleanTests if learning objectives are available for this competency.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeModifier and TypeMethodDescriptionGets a list of properties.getPropertiesByRecordType(Type recordType) Gets a list of properties corresponding to the specified record type.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeModifier and TypeMethodDescriptionGets the description associated with this instance of this OSID object.Gets the preferred display name associated with this instance of this OSID object appropriate for display to the user.Gets the genus type of this object.booleanisOfGenusType(Type genusType) Tests if this object is of the given genusType.
-
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()isfalse- Compliance:
mandatory- This method must be implemented.
-
getLearningObjectives
Gets the learning objectives.- Returns:
- the learning objectives
- Throws:
IllegalStateException-hasLearningObjectives()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getCompetencyRecord
Gets the competency record corresponding to the givenCompetencyrecordType. This method is used to retrieve an object implementing the requested record. ThecompetencyRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(competencyRecordType)istrue.- Parameters:
competencyRecordType- the type of competency record to retrieve- Returns:
- the competency record
- Throws:
NullArgumentException-competencyRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(competencyRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-