OSID Logo
OSID Specifications
repository rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.repository.rules.CompositionEnabler
Implementsosid.OsidEnabler
Description

A CompositionEnabler describes the rules for making Compositions visible in the composition hierarchy.

MethodgetCompositionEnablerRecord
Description

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

Parametersosid.type.TypecompositionEnablerRecordTypethe type of composition enabler record to retrieve
Returnosid.repository.rules.records.CompositionEnablerRecordthe composition enabler record
ErrorsNULL_ARGUMENT compositionEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(compositionEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.