OSID Logo
OSID Specifications
ontology package
Version 3.0.0
Release Candidate Preview
Interfaceosid.ontology.Subject
Implementsosid.OsidObject
osid.Federateable
Description

A Subject represents a span of time and an optional location. Subjects may be managed individually, or in repeatable sets using RecuringSubject.

MethodgetSubjectRecord
Description

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

Parametersosid.type.TypesubjectRecordTypethe type of the record to retrieve
Returnosid.ontology.records.SubjectRecordthe subject record
ErrorsNULL_ARGUMENT subjectRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(subjectRecordType) is false
CompliancemandatoryThis method must be implemented.