OSID Logo
OSID Specifications
assessment authoring package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.authoring.AssessmentPart
Implementsosid.OsidObject
osid.Containable
osid.Operable
Description

An AssessmentPart represents a section of an assessment. AssessmentParts may be visible as sections of an assessment or just used to clump together a set of items on which to hang sequence rules.

MethodgetAssessmentId
Description

Gets the assessment Id to which this rule belongs.

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

Gets the assessment to which this rule belongs.

Returnosid.assessment.Assessmentan assessment
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodhasParentPart
Description

Tests if this assessment part belongs to a parent assessment part.

Returnboolean true if this part has a parent, false if a root
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentPartId
Description

Gets the parent assessment Id.

Returnosid.id.Id Id of an assessment
ErrorsILLEGAL_STATE hasParentPart() is false
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentPart
Description

Gets the parent assessment.

Returnosid.assessment.authoring.AssessmentPartthe parent assessment part
ErrorsILLEGAL_STATE hasParentPart() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodisSection
Description

Tests if this part should be visible as a section in an assessment. If visible, this part will appear to the user as a separate section of the assessment. Typically, a section may not be under a non-sectioned part.

Returnboolean true if this part is a section, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetWeight
Description

Gets an integral weight factor for this assessment part used for scoring. The percentage weight for this part is this weight divided by the sum total of all the weights in the assessment.

Returncardinalthe weight
CompliancemandatoryThis method must be implemented.
MethodgetAllocatedTime
Description

Gets the allocated time for this part. The allocated time may be used to assign fixed time limits to each item or can be used to estimate the total assessment time.

Returnosid.calendaring.Durationallocated time
CompliancemandatoryThis method must be implemented.
MethodgetChildAssessmentPartIds
Description

Gets any child assessment part Ids.

Returnosid.id.IdList Ids of the child assessment parts
CompliancemandatoryThis method must be implemented.
MethodgetChildAssessmentParts
Description

Gets any child assessment parts.

Returnosid.assessment.authoring.AssessmentPartListthe child assessment parts
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentPartRecord
Description

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

Parametersosid.type.TypeassessmentPartRecordTypethe type of the record to retrieve
Returnosid.assessment.authoring.records.AssessmentPartRecordthe assessment part record
ErrorsNULL_ARGUMENT assessmentPartRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(assessmentPartRecordType) is false
CompliancemandatoryThis method must be implemented.