| Interface | osid.course.requisite.RequisiteRequirement | ||
|---|---|---|---|
| Implements | osid.OsidRule | ||
osid.Aggregateable | |||
| Used By | osid.course.requisite.Requisite | ||
osid.course.requisite.RequisiteAdminSession | |||
osid.course.requisite.RequisiteLookupSession | |||
osid.course.requisite.RequisiteRequirementList | |||
| Description |
A | ||
| Method | getAltRequisites | ||
| Description |
Gets any | ||
| Return | osid.course.requisite.Requisite[] | the alternate requisites | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequisiteIds | ||
| Description |
Gets the | ||
| Return | osid.id.IdList | the requisite Ids | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequisites | ||
| Description |
Gets the | ||
| Return | osid.course.requisite.RequisiteList | the requisites | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | requiresMinimumNumber | ||
| Description |
Tests if a minimum number of | ||
| Return | boolean | true if a minimum number of requisites is required,
false otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getMinimumNumber | ||
| Description |
The minimum number of | ||
| Return | cardinal | the minimum number of requisites | |
| Errors | ILLEGAL_STATE | requiresMinimumNumber() is false | |
| Compliance | mandatory | This method must be implemented. | |
| Method | hasTargetNumberForSet | ||
| Description |
Tests if the set should contain a minimum number of
| ||
| Return | boolean | true if the set has a minimum requisite count,
false otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getTargetSetNumber | ||
| Description |
The minimum number of requisites in the set to be a valid requirement. | ||
| Return | cardinal | the minimum number of requisites in the set | |
| Errors | ILLEGAL_STATE | hasTargetNumberForSet() is false | |
| Compliance | mandatory | This method must be implemented. | |
| Method | hasTimeframe | ||
| Description |
Tests if the requisite has to be earned within the required duration. | ||
| Return | boolean | true if the requisite must be earned within a required time,
false if it could have been earned at any time in the past | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getTimeframe | ||
| Description |
Gets the timeframe in which the requisite has to be earned. A negative duration indicates the requisite had to be earned within the specified amount of time in the past. A posiitive duration indicates the requisite must be earned within the specified amount of time in the future. A zero duration indicates the requisite must be earned 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 | getRequisiteRequirementRecord | ||
| Description |
Gets the requisite requirement record corresponding to
the given | ||
| Parameters | osid.type.Type | requisiteRequirementRecordType | the type of requisite requirement record to retrieve |
| Return | osid.course.requisite.records.RequisiteRequirementRecord | the requisite requirement record | |
| Errors | NULL_ARGUMENT | requisiteRequirementRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(requisiteRequirementRecordType) is
false | ||
| Compliance | mandatory | This method must be implemented. | |