OSID Logo
OSID Specifications
assessment authoring package
Version 3.0.0
Interfaceosid.assessment.authoring.SequenceRuleForm
Implementsosid.OsidRuleForm
Used Byosid.assessment.authoring.SequenceRuleAdminSession
Description

This is the form for creating and updating sequence rules. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the SequenceSession For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetMinimumScoreMetadata
Description

Gets the metadata for the minimum score.

Returnosid.Metadatametadata for the minimum score
CompliancemandatoryThis method must be implemented.
MethodsetMinimumScore
Description

Sets the minimum score for this rule.

Parameterscardinalscoreminimum score
ErrorsINVALID_ARGUMENTscore is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetMaximumScoreMetadata
Description

Gets the metadata for the maximum score.

Returnosid.Metadatametadata for the maximum score
CompliancemandatoryThis method must be implemented.
MethodsetMaximumScore
Description

Sets the maximum score for this rule.

Parameterscardinalscoremaximum score
ErrorsINVALID_ARGUMENTscore is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetCumulativeMetadata
Description

Gets the metadata for the cumulative flag.

Returnosid.Metadatametadata for the cumulative flag
CompliancemandatoryThis method must be implemented.
MethodsetCumulative
Description

Applies this rule to all previous assessment parts.

Parametersbooleancumulativetrue to apply to all previous assessment parts. false to apply to the immediate previous assessment part
ErrorsINVALID_ARGUMENTcumulative is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetAppliedAssessmentPartsMetadata
Description

Gets the metadata for the applied assessment parts.

Returnosid.Metadatametadata for the applied assessment parts
CompliancemandatoryThis method must be implemented.
MethodapplyAssessmentParts
Description

Designates assessment parts to which the rule applies.

Parametersosid.id.Id[]assessmentPartIdsthe parts to which this rule should apply
ErrorsINVALID_ARGUMENTassessmentPartIds is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTassessmentPartIds is null
CompliancemandatoryThis method must be implemented.
MethodgetSequenceRuleFormRecord
Description

Gets the SequenceRuleFormRecord corresponding to the given sequence rule record Type .

Parametersosid.type.TypesequenceRuleRecorda sequence rule record type
Returnosid.assessment.authoring.records.SequenceRuleFormRecordthe sequence rule record
ErrorsNULL_ARGUMENTsequenceRuleRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(asequenceRuleRecordType) is false
CompliancemandatoryThis method must be implemented.