OSID Logo
OSID Specifications
assessment authoring package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.authoring.SequenceRule
Implementsosid.OsidRule
Description

A SequenceRule defines the ordering of AssessmentParts.

MethodgetAssessmentPartId
Description

Gets the assessment part Id to which this rule belongs.

Returnosid.id.Id Id of an assessment part
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentPart
Description

Gets the assessment part to which this rule belongs.

Returnosid.assessment.authoring.AssessmentPartan assessment part
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetNextAssessmentPartId
Description

Gets the next assessment part Id for success of this rule.

Returnosid.id.Id Id of an assessment part
CompliancemandatoryThis method must be implemented.
MethodgetNextAssessmentPart
Description

Gets the next assessment part for success of this rule.

Returnosid.assessment.authoring.AssessmentPartan assessment part
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetMinimumScore
Description

Gets the minimum score expressed as an integer (0-100) for this rule.

Returncardinalminimum score
CompliancemandatoryThis method must be implemented.
MethodgetMaximumScore
Description

Gets the maximum score expressed as an integer (0-100) for this rule.

Returncardinalmaximum score
CompliancemandatoryThis method must be implemented.
MethodisCumulative
Description

Tests if the score is applied to all previous assessment parts.

Returnboolean true if the score is applied to all previous assessment parts, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAppliedAssessmentPartIds
Description

Qualifies isCumulative() to apply to a specific list of assessment parts. If isCumulative() is true, this method may return an empty list to mean all previous assessment parts.

Returnosid.id.IdListlist of assessment parts
ErrorsILLEGAL_STATE isCumulative() is false
CompliancemandatoryThis method must be implemented.
MethodgetAppliedAssessmentParts
Description

Qualifies isCumulative() to apply to a specific list of assessment parts. If isCumulative() is true, this method may return an empty list to mean all previous assessment parts.

Returnosid.assessment.authoring.AssessmentPartListlist of assessment parts
ErrorsILLEGAL_STATE isCumulative() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetSequenceRuleRecord
Description

Gets the assessment sequence rule record corresponding to the given SequenceRule record Type. This method is used to retrieve an object implementing the requested record. The sequenceRuleRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(sequenceRuleRecordType) is true .

Parametersosid.type.TypesequenceRuleRecordTypethe type of the record to retrieve
Returnosid.assessment.authoring.records.SequenceRuleRecordthe assessment sequence rule record
ErrorsNULL_ARGUMENT sequenceRuleRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(sequenceRuleRecordType) is false
CompliancemandatoryThis method must be implemented.