OSID Logo
OSID Specifications
resourcing rules package
Version 3.1.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.

Like all OsidObjects, JobConstrainer is managed by its OsidSessions and may not be accessed by concurrent processing threads.

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.TypejobConstrainerRecordType the type of job constrainer record to retrieve
Returnosid.resourcing.rules.records.JobConstrainerRecord the job constrainer record
ErrorsNULL_ARGUMENT jobConstrainerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(jobConstrainerRecordType) is false
Compliancemandatory This method must be implemented.