| Interface | osid.course.requisite.CredentialRequirement | ||
|---|---|---|---|
| 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 | getCredentialId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the credential Id | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCredential | ||
| Description |
Gets the | ||
| Return | osid.course.program.Credential | the credential | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | hasTimeframe | ||
| Description |
Tests if the credential has to be earned within the required duration. | ||
| Return | boolean | true if the credential 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 credential has to be earned. A negative duration indicates the credential had to be earned within the specified amount of time in the past. A posiitive duration indicates the credential must be earned within the specified amount of time in the future. A zero duration indicates the credential 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 | getCredentialRequirementRecord | ||
| Description |
Gets the credential requirement record corresponding to
the given | ||
| Parameters | osid.type.Type | credentialRequirementRecordType | the type of credential requirement record to retrieve |
| Return | osid.course.requisite.records.CredentialRequirementRecord | the credential requirement record | |
| Errors | NULL_ARGUMENT | credentialRequirementRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(credentialRequirementRecordType) is
false | ||
| Compliance | mandatory | This method must be implemented. | |