| Interface | osid.course.program.Credential | ||
|---|---|---|---|
| Implements | osid.OsidObject | ||
| Description | A  | ||
| Method | hasLifeTime | ||
| Description | Tests if this credential has a limited lifetime. | ||
| Return | boolean |  true if this credential expires, false if 
permanent | |
| Compliance | mandatory | This method is must be implemented. | |
| Method | getLifetime | ||
| Description | Gets the lifetime of this credential once awarded. | ||
| Return | osid.calendaring.Duration | the lifetime | |
| Errors | ILLEGAL_STATE |  hasLifetime() is false  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCredentialRecord | ||
| Description | Gets the credential record corresponding to the given 
                     | ||
| Parameters | osid.type.Type | credentialRecordType | the type of credential record to retrieve | 
| Return | osid.course.program.records.CredentialRecord | the credential record | |
| Errors | NULL_ARGUMENT |  credentialRecordType is null  | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(credentialRecordType) is false  | ||
| Compliance | mandatory | This method must be implemented. | |