OSID Logo
OSID Specifications
resourcing rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.resourcing.rules.JobConstrainer
Implementsosid.OsidConstrainer
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_ARGUMENT jobConstrainerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(jobConstrainerRecordType) is false
CompliancemandatoryThis method must be implemented.