OSID Logo
OSID Specifications
grading package
Version 3.1.0
Interfaceosid.grading.GradeSystemQuery
Implementsosid.OsidObjectQuery
osid.OsidAggregateableQuery
Used Byosid.assessment.AssessmentOfferedQuery
osid.assessment.AssessmentTakenQuery
osid.course.CourseOfferingQuery
osid.course.CourseQuery
osid.course.chronicle.AssessmentEntryQuery
osid.course.chronicle.CourseEntryQuery
osid.course.chronicle.ProgramEntryQuery
osid.course.registration.RegistrationQuery
osid.course.registration.RegistrationTargetQuery
osid.course.registration.request.RegistrationRequestItemQuery
show 9 more…
osid.grading.GradeQuery
osid.grading.GradeSystemQuerySession
osid.grading.GradeSystemSearchSession
osid.grading.GradeSystemSmartGradebookSession
osid.grading.GradebookColumnQuery
osid.grading.GradebookQuery
osid.offering.CanonicalUnitQuery
osid.offering.OfferingQuery
osid.offering.ParticipantQuery
Description

This is the query for searching grade systems. Each method match request produces an AND term while multiple invocations of a method produces a nested OR.

MethodmatchBasedOnGrades
Description

Matches grade systems based on grades.

Parametersbooleanmatch true for a positive match, false for negative match
Compliancemandatory This method must be implemented.
MethodclearBasedOnGradesTerms
Description

Clears the grade based terms.

Compliancemandatory This method must be implemented.
MethodmatchGradeId
Description

Sets the grade Id for this query.

Parametersosid.id.IdgradeId a grade Id
booleanmatch true for a positive match, false for negative match
ErrorsNULL_ARGUMENT gradeId is null
Compliancemandatory This method must be implemented.
MethodclearGradeIdTerms
Description

Clears the grade Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsGradeQuery
Description

Tests if a GradeQuery is available for querying grades.

Returnboolean true if a grade query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetGradeQuery
Description

Gets the query for a grade. Multiple retrievals produce a nested OR term.

Returnosid.grading.GradeQuery the grade query
ErrorsUNIMPLEMENTED supportsGradeQuery() is false
Complianceoptional This method must be implemented if supportsGradeQuery() is true.
MethodmatchAnyGrade
Description

Matches grade systems with any grade.

Parametersbooleanmatch true to match grade systems with any grade, false to match systems with no grade
Compliancemandatory This method must be implemented.
MethodclearGradeTerms
Description

Clears the grade terms.

Compliancemandatory This method must be implemented.
MethodmatchLowestNumericScore
Description

Matches grade systems whose low end score falls in the specified range inclusive.

Parametersdecimalstart low end of range
decimalend high end of range
booleanmatch true for a positive match, false for negative match
ErrorsINVALID_ARGUMENT end is less than start
NULL_ARGUMENT gradeId is null
Compliancemandatory This method must be implemented.
MethodclearLowestNumericScoreTerms
Description

Clears the lowest numeric score terms.

Compliancemandatory This method must be implemented.
MethodmatchNumericScoreIncrement
Description

Matches grade systems numeric score increment is between the specified range inclusive.

Parametersdecimalstart low end of range
decimalend high end of range
booleanmatch true for a positive match, false for negative match
ErrorsINVALID_ARGUMENT end is less than start
NULL_ARGUMENT gradeId is null
Compliancemandatory This method must be implemented.
MethodclearNumericScoreIncrementTerms
Description

Clears the numeric score increment terms.

Compliancemandatory This method must be implemented.
MethodmatchHighestNumericScore
Description

Matches grade systems whose high end score falls in the specified range inclusive.

Parametersdecimalstart low end of range
decimalend high end of range
booleanmatch true for a positive match, false for negative match
ErrorsINVALID_ARGUMENT end is less than start
NULL_ARGUMENT gradeId is null
Compliancemandatory This method must be implemented.
MethodclearHighestNumericScoreTerms
Description

Clears the highest numeric score terms.

Compliancemandatory This method must be implemented.
MethodmatchGradebookColumnId
Description

Sets the gradebook column Id for this query.

Parametersosid.id.IdgradebookColumnId a gradebook column Id
booleanmatch true for a positive match, false for negative match
ErrorsNULL_ARGUMENT gradebookColumnId is null
Compliancemandatory This method must be implemented.
MethodclearGradebookColumnIdTerms
Description

Clears the gradebook column Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsGradebookColumnQuery
Description

Tests if a GradebookColumnQuery is available.

Returnboolean true if a gradebook column query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetGradebookColumnQuery
Description

Gets the query for a gradebook column. Multiple retrievals produce a nested OR term.

Returnosid.grading.GradebookColumnQuery the gradebook column query
ErrorsUNIMPLEMENTED supportsGradebookColumnQuery() is false
Complianceoptional This method must be implemented if supportsGradebookColumnQuery() is true.
MethodmatchAnyGradebookColumn
Description

Matches grade systems assigned to any gradebook column.

Parametersbooleanmatch true to match grade systems mapped to any column, false to match systems mapped to no columns
Compliancemandatory This method must be implemented.
MethodclearGradebookColumnTerms
Description

Clears the gradebook column terms.

Compliancemandatory This method must be implemented.
MethodmatchGradebookId
Description

Sets the gradebook Id for this query.

Parametersosid.id.IdgradebookId a gradebook Id
booleanmatch true for a positive match, false for negative match
ErrorsNULL_ARGUMENT gradebookId is null
Compliancemandatory This method must be implemented.
MethodclearGradebookIdTerms
Description

Clears the gradebook Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsGradebookQuery
Description

Tests if a GradebookQuery is available.

Returnboolean true if a gradebook query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetGradebookQuery
Description

Gets the query for a gradebook. Multiple retrievals produce a nested OR term.

Returnosid.grading.GradebookQuery the gradebook query
ErrorsUNIMPLEMENTED supportsGradebookQuery() is false
Complianceoptional This method must be implemented if supportsGradebookQuery() is true.
MethodclearGradebookTerms
Description

Clears the gradebook terms.

Compliancemandatory This method must be implemented.
MethodgetGradeSystemQueryRecord
Description

Gets the grade system query record corresponding to the given GradeSystem record Type. Multiple retrievals produce a nested OR term.

Parametersosid.type.TypegradeSystemRecordType a grade system record type
Returnosid.grading.records.GradeSystemQueryRecord the grade system query record
ErrorsNULL_ARGUMENT gradeSystemRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(gradeSystemRecordType) is false
Compliancemandatory This method must be implemented.