| Interface | osid.assessment.authoring.SequenceRuleForm | ||
|---|---|---|---|
| Implements | osid.OsidRuleForm | ||
| Description |
This is the form for creating and updating sequence rules.
| ||
| Method | getMinimumScoreMetadata | ||
| Description |
Gets the metadata for the minimum score. | ||
| Return | osid.Metadata | metadata for the minimum score | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setMinimumScore | ||
| Description |
Sets the minimum score for this rule. | ||
| Parameters | cardinal | score | minimum score |
| Errors | INVALID_ARGUMENT | score is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getMaximumScoreMetadata | ||
| Description |
Gets the metadata for the maximum score. | ||
| Return | osid.Metadata | metadata for the maximum score | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setMaximumScore | ||
| Description |
Sets the maximum score for this rule. | ||
| Parameters | cardinal | score | maximum score |
| Errors | INVALID_ARGUMENT | score is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCumulativeMetadata | ||
| Description |
Gets the metadata for the cumulative flag. | ||
| Return | osid.Metadata | metadata for the cumulative flag | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setCumulative | ||
| Description |
Applies this rule to all previous assessment parts. | ||
| Parameters | boolean | cumulative | true to apply to all previous assessment parts. false
to apply to the immediate previous assessment part |
| Errors | INVALID_ARGUMENT | cumulative is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAppliedAssessmentPartsMetadata | ||
| Description |
Gets the metadata for the applied assessment parts. | ||
| Return | osid.Metadata | metadata for the applied assessment parts | |
| Compliance | mandatory | This method must be implemented. | |
| Method | applyAssessmentParts | ||
| Description |
Designates assessment parts to which the rule applies. | ||
| Parameters | osid.id.Id[] | assessmentPartIds | the parts to which this rule should apply |
| Errors | INVALID_ARGUMENT | assessmentPartIds is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| NULL_ARGUMENT | assessmentPartIds is null | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getSequenceRuleFormRecord | ||
| Description |
Gets the | ||
| Parameters | osid.type.Type | sequenceRuleRecord | a sequence rule record type |
| Return | osid.assessment.authoring.records.SequenceRuleFormRecord | the sequence rule record | |
| Errors | NULL_ARGUMENT | sequenceRuleRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(asequenceRuleRecordType) is false
| ||
| Compliance | mandatory | This method must be implemented. | |