| Interface | osid.course.program.CredentialForm | ||
|---|---|---|---|
| Implements | osid.OsidObjectForm | ||
| Description |
This is the form for creating and updating | ||
| Method | getLifetimeMetadata | ||
| Description |
Gets the metadata for a credential lifetime. | ||
| Return | osid.Metadata | metadata for the lifetime | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setLifetime | ||
| Description |
Sets the lifetime. | ||
| Parameters | osid.calendaring.Duration | lifetime | the new lifetime |
| Errors | INVALID_ARGUMENT | lifetime is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| NULL_ARGUMENT | lifetime is null | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearLifetime | ||
| Description |
Removes the lifetime. | ||
| Errors | NO_ACCESS | Metadata.isRequired() is true or
Metadata.isReadOnly() is true | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCredentialFormRecord | ||
| Description |
Gets the | ||
| Parameters | osid.type.Type | credentialRecordType | a course record type |
| Return | osid.course.program.records.CredentialFormRecord | the course form 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. | |