OSID Logo
OSID Specifications
ontology rules package
Version 3.0.0
Interfaceosid.ontology.rules.RelevancyEnabler
Implementsosid.OsidEnabler
Used Byosid.ontology.rules.RelevancyEnablerAdminSession
osid.ontology.rules.RelevancyEnablerList
osid.ontology.rules.RelevancyEnablerLookupSession
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_ARGUMENTrelevancyEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(relevancyEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.