OSID Logo
OSID Specifications
resourcing rules package
Version 3.0.0
Interfaceosid.resourcing.rules.JobConstrainer
Implementsosid.OsidConstrainer
Used Byosid.resourcing.rules.JobConstrainerAdminSession
osid.resourcing.rules.JobConstrainerList
osid.resourcing.rules.JobConstrainerLookupSession
Description

A JobConstrainer describes the rules for constraining the commissions and availabilities allowed in a job.

MethodgetJobConstrainerRecord
Description

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

Parametersosid.type.TypejobConstrainerRecordTypethe type of job constrainer record to retrieve
Returnosid.resourcing.rules.records.JobConstrainerRecordthe job constrainer record
ErrorsNULL_ARGUMENTjobConstrainerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(jobConstrainerRecordType) is false
CompliancemandatoryThis method must be implemented.