public interface Subject extends OsidObject, Federateable
A Subject represents a span of time and an optional
location. Subjects may be managed individually, or in repeatable sets
using RecuringSubject.
| Modifier and Type | Method and Description |
|---|---|
SubjectRecord |
getSubjectRecord(Type subjectRecordType)
Gets the subject record corresponding to the given
Subject
record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusTypegetId, isCurrentgetRecordTypes, hasRecordTypegetProperties, getPropertiesByRecordTypeSubjectRecord getSubjectRecord(Type subjectRecordType) throws OperationFailedException
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 .subjectRecordType - the type of the record to retrieveNullArgumentException - subjectRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(subjectRecordType) is false
mandatory - This method must be implemented.