OSID Logo
OSID Specifications
repository package
Version 3.0.0
Release Candidate Preview
Interfaceosid.repository.Repository
Implementsosid.OsidCatalog
Description

A repository defines a collection of assets.

MethodgetRepositoryRecord
Description

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

Parametersosid.type.TyperepositoryRecordTypea repository record type
Returnosid.repository.records.RepositoryRecordthe repository record
ErrorsNULL_ARGUMENT repositoryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(repositoryRecordType) is false
CompliancemandatoryThis method must be implemented.