OSID Logo
OSID Specifications
ontology package
Version 3.0.0
Release Candidate Preview
Interfaceosid.ontology.Ontology
Implementsosid.OsidCatalog
Description

An ontology defines a collection of subjects.

MethodgetOntologyRecord
Description

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

Parametersosid.type.TypeontologyRecordTypean ontology record type
Returnosid.ontology.records.OntologyRecordthe ontology record
ErrorsNULL_ARGUMENT ontologyRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(ontologyRecordType) is false
CompliancemandatoryThis method must be implemented.