OSID Logo
OSID Specifications
offering rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.offering.rules.CanonicalUnitProcessor
Implementsosid.OsidProcessor
Description

A CanonicalUnitProcessor describes the rules for offering a canonical unit.

MethodgetCanonicalUnitProcessorRecord
Description

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

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