OSID Logo
OSID Specifications
assessment authoring package
Version 3.1.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.Id Id of an assessment
Compliancemandatory This method must be implemented.
MethodgetAssessment
Description

Gets the assessment to which this rule belongs.

Returnosid.assessment.Assessment an assessment
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodgetAssessmentPartId
Description

Gets the parent assessment Id.

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

Gets the parent assessment.

Returnosid.assessment.authoring.AssessmentPart the parent assessment part
ErrorsILLEGAL_STATE hasParentPart() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This 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
Compliancemandatory This 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.

Returncardinal the weight
Compliancemandatory This 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.Duration allocated time
Compliancemandatory This method must be implemented.
MethodgetChildAssessmentPartIds
Description

Gets any child assessment part Ids.

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

Gets any child assessment parts.

Returnosid.assessment.authoring.AssessmentPartList the child assessment parts
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This 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.TypeassessmentPartRecordType the type of the record to retrieve
Returnosid.assessment.authoring.records.AssessmentPartRecord the assessment part record
ErrorsNULL_ARGUMENT assessmentPartRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(assessmentPartRecordType) is false
Compliancemandatory This method must be implemented.