OSID Logo
OSID Specifications
grading calculation package
Version 3.0.0
Release Candidate Preview
Interfaceosid.grading.calculation.GradebookColumnCalculation
Implementsosid.OsidRule
Description

A GradebookColumnCalculation represents a rule to derive a column baed on one or more other columns.

MethodgetGradebookColumnId
Description

Gets the GradebookColumn Ids to which this column applies.

Returnosid.id.Idthe gradebook column Id
CompliancemandatoryThis method must be implemented.
MethodgetGradebookColumn
Description

Gets the GradebookColumn to which this calculation applies.

Returnosid.grading.GradebookColumnthe gradebook column
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetInputGradebookColumnIds
Description

Gets the GradebookColumn Ids from which this column is derived.

Returnosid.id.IdListthe derived column Ids
CompliancemandatoryThis method must be implemented.
MethodgetInputGradebookColumns
Description

Gets the GradebookColumns from which this column is derived.

Returnosid.grading.GradebookColumnListthe derived columns
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetOperation
Description

Gets the operation to perform for deriving this column. The output of the operation determines the score or grade for the column entries.

Returnosid.grading.calculation.CalculationOperationthe calculation operation
CompliancemandatoryThis method must be implemented.
MethodgetTweakedCenter
Description

Gets the tweaked midpoint input value of the grading system for determining how to center calculated enries in this column. This tweak is applied before calculating standard deviation offsets for entries in this derived column.

Returndecimalthe tweaked center
ErrorsILLEGAL_STATE getCalculation() is not CalculationOperation.STD_DEVIATION_OFFSET
CompliancemandatoryThis method must be implemented.
MethodgetTweakedStandardDeviation
Description

Gets the tweaked standard deviation. This tweak is applied before calculating standard deviation offsets for entries in this derived column.

Returndecimalthe tweaked standard deviation
ErrorsILLEGAL_STATE getCalculation() is not CalculationOperation.STD_DEVIATION_OFFSET
CompliancemandatoryThis method must be implemented.
MethodgetGradebookColumnCalculationRecord
Description

Gets the gradebook column calculation record corresponding to the given GradeBookColumnCalculation record Type. This method is used to retrieve an object implementing the requested record. The gradebookColumnCalculationRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(gradebookColumnCalculationRecordType) is true .

Parametersosid.type.TypegradebookColumnCalculationRecordTypethe type of the record to retrieve
Returnosid.grading.calculation.records.GradebookColumnCalculationRecordthe gradebook column calculation record
ErrorsNULL_ARGUMENT gradebookColumnCalculationRecordType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED hasRecordType(gradebookColumnCalculationRecordType) is false
CompliancemandatoryThis method must be implemented.