OSID Logo
OSID Specifications
grading calculation package
Version 3.1.0
Interfaceosid.grading.calculation.GradebookColumnCalculation
Implementsosid.OsidRule
Used Byosid.grading.calculation.GradebookColumnCalculationAdminSession
osid.grading.calculation.GradebookColumnCalculationList
osid.grading.calculation.GradebookColumnCalculationLookupSession
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.Id the gradebook column Id
Compliancemandatory This method must be implemented.
MethodgetGradebookColumn
Description

Gets the GradebookColumn to which this calculation applies.

Returnosid.grading.GradebookColumn the gradebook column
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetInputGradebookColumnIds
Description

Gets the GradebookColumn Ids from which this column is derived.

Returnosid.id.IdList the derived column Ids
Compliancemandatory This method must be implemented.
MethodgetInputGradebookColumns
Description

Gets the GradebookColumns from which this column is derived.

Returnosid.grading.GradebookColumnList the derived columns
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This 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.CalculationOperation the calculation operation
Compliancemandatory This 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.

Returndecimal the tweaked center
ErrorsILLEGAL_STATE getCalculation() is not CalculationOperation.STD_DEVIATION_OFFSET
Compliancemandatory This 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.

Returndecimal the tweaked standard deviation
ErrorsILLEGAL_STATE getCalculation() is not CalculationOperation.STD_DEVIATION_OFFSET
Compliancemandatory This 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.TypegradebookColumnCalculationRecordType the type of the record to retrieve
Returnosid.grading.calculation.records.GradebookColumnCalculationRecord the gradebook column calculation record
ErrorsNULL_ARGUMENT gradebookColumnCalculationRecordType is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED hasRecordType(gradebookColumnCalculationRecordType) is false
Compliancemandatory This method must be implemented.