OSID Logo
OSID Specifications
ontology rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.ontology.rules.RelevancyEnabler
Implementsosid.OsidEnabler
Description

A RelevancyEnabler describes the rules for making a Relevancy effective.

MethodgetRelevancyEnablerRecord
Description

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

Parametersosid.type.TyperelevancyEnablerRecordTypethe type of relevancy enabler record to retrieve
Returnosid.ontology.rules.records.RelevancyEnablerRecordthe relevancy enabler record
ErrorsNULL_ARGUMENT relevancyEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(relevancyEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.