OSID Logo
OSID Specifications
offering rules package
Version 3.1.0
Interfaceosid.offering.rules.CanonicalUnitProcessor
Implementsosid.OsidProcessor
Used Byosid.offering.rules.CanonicalUnitProcessorAdminSession
osid.offering.rules.CanonicalUnitProcessorList
osid.offering.rules.CanonicalUnitProcessorLookupSession
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.TypecanonicalUnitProcessorRecordType the type of canonical unit processor record to retrieve
Returnosid.offering.rules.records.CanonicalUnitProcessorRecord the canonical unit processor record
ErrorsNULL_ARGUMENT canonicalUnitProcessorRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(canonicalUnitProcessorRecordType) is false
Compliancemandatory This method must be implemented.