Interface CanonicalUnitProcessor

All Superinterfaces:
Browsable, Extensible, Identifiable, Operable, OsidObject, OsidProcessor, OsidRule

public interface CanonicalUnitProcessor extends OsidProcessor

A CanonicalUnitProcessor describes the rules for offering a canonical unit.

  • Method Details

    • getCanonicalUnitProcessorRecord

      CanonicalUnitProcessorRecord getCanonicalUnitProcessorRecord(Type canonicalUnitProcessorRecordType) throws OperationFailedException
      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 .
      Parameters:
      canonicalUnitProcessorRecordType - the type of canonical unit processor record to retrieve
      Returns:
      the canonical unit processor record
      Throws:
      NullArgumentException - canonicalUnitProcessorRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(canonicalUnitProcessorRecordType) is false
      Compliance:
      mandatory - This method must be implemented.