| Interface | osid.course.requisite.CredentialRequirementForm | ||
|---|---|---|---|
| Implements | osid.OsidRuleForm | ||
osid.OsidAggregateableForm | |||
| Used By | osid.course.requisite.RequisiteAdminSession | ||
| Description |
This is the form for creating and updating
Like all | ||
| Method | getCredentialsMetadata | ||
| Description |
Gets the metadata for the credentials. | ||
| Return | osid.Metadata | metadata for the credentials | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setCredentials | ||
| Description |
Sets the credentials. | ||
| Parameters | osid.id.Id[] | credentialIds | the new credentials |
| Errors | INVALID_ARGUMENT | credentialIds is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| NULL_ARGUMENT | credentialIds is null | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearCredentials | ||
| Description |
Removes the credentials. | ||
| Errors | NO_ACCESS | Metadata.isRequired() is true or
Metadata.isReadOnly() is true | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getMinimumNumberMetadata | ||
| Description |
Gets the metadata for the minimum number of credentials. | ||
| Return | osid.Metadata | metadata for the minimum number | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setMinimumNumber | ||
| Description |
Sets the minimum number of credentials to complete from the set. | ||
| Parameters | cardinal | number | the new minimum number |
| Errors | INVALID_ARGUMENT | number is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearMinimumNumber | ||
| Description |
Clears the minimum number of credentials. | ||
| Errors | NO_ACCESS | Metadata.isRequired() or Metadata.isReadOnly()
is true | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getTargetSetNumberMetadata | ||
| Description |
Gets the metadata for the target number of credentials in the set. | ||
| Return | osid.Metadata | metadata for the target set number | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setTargetSetNumber | ||
| Description |
Sets the target number of credentials in the set. | ||
| Parameters | cardinal | number | the new target set number |
| Errors | INVALID_ARGUMENT | number is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearTargetSetNumber | ||
| Description |
Clears the target set number. | ||
| Errors | NO_ACCESS | Metadata.isRequired() or Metadata.isReadOnly()
is true | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getTimeframeMetadata | ||
| Description |
Gets the metadata for the timeframe. | ||
| Return | osid.Metadata | metadata for the timeframe | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setTimeframe | ||
| Description |
Sets the timeframe. | ||
| Parameters | osid.calendaring.Duration | duration | the new duration |
| Errors | INVALID_ARGUMENT | duration is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| NULL_ARGUMENT | duration is null | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearTimeframe | ||
| Description |
Clears the timeframe. | ||
| Errors | NO_ACCESS | Metadata.isRequired() or Metadata.isReadOnly()
is true | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCredentialRequirementFormRecord | ||
| Description |
Gets the | ||
| Parameters | osid.type.Type | credentialRequirementRecordType | a credential requirement record type |
| Return | osid.course.requisite.records.CredentialRequirementFormRecord | the credential requirement form 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. | |