OSID Logo
OSID Specifications
course requisite package
Version 3.1.0
Interfaceosid.course.requisite.AssessmentRequirement
Implementsosid.OsidRule
osid.Aggregateable
Used Byosid.course.requisite.AssessmentRequirementList
osid.course.requisite.Requisite
osid.course.requisite.RequisiteAdminSession
osid.course.requisite.RequisiteLookupSession
Description

A AssessmentRequirement is an OsidRule and represents a requirement based on a set of Assessments.

Like all OsidObjects, AssessmentRequirement is managed by its OsidSessions and may not be accessed by concurrent processing threads.

MethodgetAltRequisites
Description

Gets any Requisites that may be substituted in place of this AssessmentRequirement. One or more Requisites must be satisifed to be a substitute for this assessment requirement. Inactive Requisites are not evaluated but if no active requisite exists, then thhis term is ignored.

Returnosid.course.requisite.Requisite[] the alternate requisites
Compliancemandatory This method must be implemented.
MethodgetAssessmentIds
Description

Gets the Ids of the Assessments.

Returnosid.id.IdList the assessment Ids
Compliancemandatory This method must be implemented.
MethodgetAssessments
Description

Gets the Assessments. If requiresMinimumNumber() is false , then all Assessments in this set must be completed for this requirement.

Returnosid.assessment.AssessmentList the assessments
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodincludeEquivalentUnits
Description

Tests if equivalent Assessments to the ones specified satisfy this requirement.

Returnboolean true if equivalent assessments are acceptable, false otherwise
Compliancemandatory This method must be implemented.
MethodrequiresMinimumNumber
Description

Tests if a minimum number of Assessments from the set must be completed to satisfy this AssessmentRequirement.

Returnboolean true if a minimum number of assessments is required, false otherwise
Compliancemandatory This method must be implemented.
MethodgetMinimumNumber
Description

The minimum number of Assessments in this AssessmentRequirement to complete from the set.

Returncardinal the minimum number of assessments
ErrorsILLEGAL_STATE requiresMinimumNumber() is false
Compliancemandatory This method must be implemented.
MethodhasTargetNumberForSet
Description

Tests if the set should contain a minimum number of Assessments to be a valid requirement.

Returnboolean true if the set has a minimum assessment count, false otherwise
Compliancemandatory This method must be implemented.
MethodgetTargetSetNumber
Description

The minimum number of assessments in the set to be a valid requirement.

Returncardinal the minimum number of assessments in the set
ErrorsILLEGAL_STATE hasTargetNumberForSet() is false
Compliancemandatory This method must be implemented.
MethodhasTimeframe
Description

Tests if the assessment must be completed within the required duration.

Returnboolean true if the assessment has to be completed within a required time, false if it could have been completed at any time in the past
Compliancemandatory This method must be implemented.
MethodgetTimeframe
Description

Gets the timeframe in which the assessment has to be completed. A negative duration indicates the assessment had to be completed within the specified amount of time in the past. A posiitive duration indicates the assessment must be completed within the specified amount of time in the future. A zero duration indicates the assessment must be completed in the current term.

Returnosid.calendaring.Duration the time frame
ErrorsILLEGAL_STATE hasTimeframe() is false
Compliancemandatory This method must be implemented.
MethodhasMinimumGrade
Description

Tests if a minimum grade above passing is required in the completion of the assessment.

Returnboolean true if a minimum grade is required, false if the course just has to be passed
Compliancemandatory This method must be implemented.
MethodgetMinimumGradeId
Description

Gets the minimum grade Id.

Returnosid.id.Id the minimum grade Id
ErrorsILLEGAL_STATE hasMinimumGrade() is false
Compliancemandatory This method must be implemented.
MethodgetMinimumGrade
Description

Gets the minimum grade.

Returnosid.grading.Grade the minimum grade
ErrorsILLEGAL_STATE hasMinimumGrade() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodhasMinimumScore
Description

Tests if a minimum score above passing is required in the completion of the assessment.

Returnboolean true if a minimum score is required, false if the course just has to be passed
Compliancemandatory This method must be implemented.
MethodgetMinimumScoreSystemId
Description

Gets the scoring system Id for the minimum score.

Returnosid.id.Id the scoring system Id
ErrorsILLEGAL_STATE hasMinimumScore() is false
Compliancemandatory This method must be implemented.
MethodgetMinimumScoreSystem
Description

Gets the scoring system for the minimum score.

Returnosid.grading.GradeSystem the scoring system
ErrorsILLEGAL_STATE hasMinimumScore() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetMinimumScore
Description

Gets the minimum score.

Returndecimal the minimum score
ErrorsILLEGAL_STATE hasMinimumScore() is false
Compliancemandatory This method must be implemented.
MethodgetAssessmentRequirementRecord
Description

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

Parametersosid.type.TypeassessmentRequirementRecordType the type of assessment requirement record to retrieve
Returnosid.course.requisite.records.AssessmentRequirementRecord the assessment requirement record
ErrorsNULL_ARGUMENT assessmentRequirementRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(assessmentRequirementRecordType) is false
Compliancemandatory This method must be implemented.