OSID Logo
OSID Specifications
assessment authoring package
Version 3.0.0
Interfaceosid.assessment.authoring.AssessmentPart
Implementsosid.OsidObject
osid.Containable
osid.Operable
Used Byosid.assessment.authoring.AssessmentPart
osid.assessment.authoring.AssessmentPartAdminSession
osid.assessment.authoring.AssessmentPartList
osid.assessment.authoring.AssessmentPartLookupSession
osid.assessment.authoring.SequenceRule
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.IdId 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.

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

Gets the parent assessment Id .

Returnosid.id.IdId of an assessment
ErrorsILLEGAL_STATEhasParentPart() is false
CompliancemandatoryThis method must be implemented.
MethodgetAssessmentPart
Description

Gets the parent assessment.

Returnosid.assessment.authoring.AssessmentPartthe parent assessment part
ErrorsILLEGAL_STATEhasParentPart() 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.

Returnbooleantrue 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.IdListIds 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_ARGUMENTassessmentPartRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(assessmentPartRecordType) is false
CompliancemandatoryThis method must be implemented.