OSID Logo
OSID Specifications
process package
Version 3.0.0
Release Candidate Preview
Interfaceosid.process.Process
Implementsosid.OsidCatalog
Description

A process defines a collection of states.

MethodgetProcessRecord
Description

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

Parametersosid.type.TypeprocessRecordTypethe process record type
Returnosid.process.records.ProcessRecordthe process record
ErrorsNULL_ARGUMENT processRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(processRecordType) is false
CompliancemandatoryThis method must be implemented.