OSID Logo
OSID Specifications
offering rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.offering.rules.CanonicalUnitProcessorEnabler
Implementsosid.OsidEnabler
Description

An CanonicalUnitProcessorEnabler describes the rules for making an CanonicalUnitProcessor effective.

MethodgetCanonicalUnitProcessorEnablerRecord
Description

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

Parametersosid.type.TypecanonicalUnitProcessorEnablerRecordTypethe type of canonical unit processor enabler record to retrieve
Returnosid.offering.rules.records.CanonicalUnitProcessorEnablerRecordthe canonical unit processor enabler record
ErrorsNULL_ARGUMENT canonicalUnitProcessorEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(canonicalUnitProcessorEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.