OSID Logo
OSID Specifications
process package
Version 3.1.0
Interfaceosid.process.State
Implementsosid.OsidObject
Used Byosid.OsidRelationship
osid.OsidRequest
osid.control.Setting
osid.control.Trigger
osid.process.StateAdminSession
osid.process.StateList
osid.process.StateLookupSession
osid.process.StateSession
osid.workflow.Process
osid.workflow.Step
Description

A State represents a stage in a process.

MethodgetStateRecord
Description

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

Parametersosid.type.TypestateRecordType the state record type
Returnosid.process.records.StateRecord the state record
ErrorsNULL_ARGUMENT stateRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(stateRecordType) is false
Compliancemandatory This method must be implemented.