Interface Ontology

All Superinterfaces:
Browsable, Extensible, Federateable, Identifiable, OsidCatalog, OsidObject, Sourceable

public interface Ontology extends OsidCatalog

An ontology defines a collection of subjects.

  • Method Details

    • getOntologyRecord

      OntologyRecord getOntologyRecord(Type ontologyRecordType) throws OperationFailedException
      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 .
      Parameters:
      ontologyRecordType - an ontology record type
      Returns:
      the ontology record
      Throws:
      NullArgumentException - ontologyRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(ontologyRecordType) is false
      Compliance:
      mandatory - This method must be implemented.