| Interface | osid.resourcing.Work | ||
|---|---|---|---|
| Implements | osid.OsidObject | ||
osid.Subjugateable | |||
| Description | 
                 
  | ||
| Method | getJobId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the job  Id   | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getJob | ||
| Description | 
                     Gets the job of which this work is a part.  | ||
| Return | osid.resourcing.Job | the job | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | needsCompetence | ||
| Description | 
                     Tests if specific competencies are needed for this work.  | ||
| Return | boolean |  true  if competency if specified,  false  if 
incompetence will do  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCompetencyIds | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.IdList | the competency  Ids   | |
| Errors | ILLEGAL_STATE |  needsCompetence()  is  false   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCompetencies | ||
| Description | 
                     Gets the competency.  | ||
| Return | osid.resourcing.CompetencyList | the competency | |
| Errors | ILLEGAL_STATE |  needsCompetence()  is  false   |                 |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCreatedDate | ||
| Description | 
                     Gets the date this work was created.  | ||
| Return | osid.calendaring.DateTime | the created date | |
| Compliance | mandatory | This method must be implemented. | |
| Method | isComplete | ||
| Description | 
                     Tests if this work has been completed.  | ||
| Return | boolean |  true  if this work is complete,  false  
otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCompletionDate | ||
| Description | 
                     Gets the completion date.  | ||
| Return | osid.calendaring.DateTime | the completion date | |
| Errors | ILLEGAL_STATE |  isComplete()  is  false   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | getWorkRecord | ||
| Description | 
                     Gets the work record corresponding to the given   | ||
| Parameters | osid.type.Type | workRecordType | the type of work record to retrieve | 
| Return | osid.resourcing.records.WorkRecord | the work record | |
| Errors | NULL_ARGUMENT |  workRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(workRecordType)  is  false   |                 ||
| Compliance | mandatory | This method must be implemented. | |