| Interface | osid.course.requisite.AwardRequirement | ||
|---|---|---|---|
| Implements | osid.OsidRule | ||
osid.Aggregateable | |||
| Description |
A | ||
| Method | getAltRequisites | ||
| Description |
Gets any | ||
| Return | osid.course.requisite.Requisite[] | the alternate requisites | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAwardId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the award Id | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAward | ||
| Description |
Gets the | ||
| Return | osid.recognition.Award | the award | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | hasTimeframe | ||
| Description |
Tests if the award must have been earned within the required duration. | ||
| Return | boolean | true if the award has to be earned within a required time,
false if it could have been completed at any time in the past | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getTimeframe | ||
| Description |
Gets the timeframe in which the award has to be earned. A negative duration indicates the award had to be completed within the specified amount of time in the past. A posiitive duration indicates the award must be completed within the specified amount of time in the future. A zero duration indicates the award must be completed in the current term. | ||
| Return | osid.calendaring.Duration | the time frame | |
| Errors | ILLEGAL_STATE | hasTimeframe() is false | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAwardRequirementRecord | ||
| Description |
Gets the award requirement record corresponding to the
given | ||
| Parameters | osid.type.Type | awardRequirementRecordType | the type of award requirement record to retrieve |
| Return | osid.course.requisite.records.AwardRequirementRecord | the award requirement record | |
| Errors | NULL_ARGUMENT | awardRequirementRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(awardRequirementRecordType) is false
| ||
| Compliance | mandatory | This method must be implemented. | |