OSID Logo
OSID Specifications
room package
Version 3.0.0
Release Candidate Preview
Interfaceosid.room.Campus
Implementsosid.OsidCatalog
Description

A Campus represents a collection of rooms. Like all OSID objects, a Campus is identified by its Id and any persisted references should use the Id.

MethodgetCampusRecord
Description

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

Parametersosid.type.TypecampusRecordTypethe type of campus record to retrieve
Returnosid.room.records.CampusRecordthe campus record
ErrorsNULL_ARGUMENT campusRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(campusRecordType) is false
CompliancemandatoryThis method must be implemented.