OSID Logo
OSID Specifications
grading calculation package
Version 3.0.0
Release Candidate Preview
Interfaceosid.grading.calculation.GradebookColumnCalculationForm
Implementsosid.OsidObjectForm
Description

This is the form for creating and updating GradebookColumnCalculations. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the GradebookColumnCalculationSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetInputGradebookColumnsMetadata
Description

Gets the metadata for the input gradebook columns.

Returnosid.Metadatametadata for the input gradebook columns
CompliancemandatoryThis method must be implemented.
MethodsetInputGradebookColumns
Description

Sets the input gradebook columns.

Parametersosid.grading.calculation.CalculationOperationgradebookColumnIdsthe new input gradebook columns
ErrorsINVALID_ARGUMENT gradebookColumnIds is invalid
NO_ACCESS gradebookColumnIds cannot be modified
NULL_ARGUMENT gradebookColumnIds is null
CompliancemandatoryThis method must be implemented.
MethodclearInputGradebookColumns
Description

Clears the Input gradebook columns.

CompliancemandatoryThis method must be implemented.
MethodgetOperationMetadata
Description

Gets the metadata for the calculation operation.

Returnosid.Metadatametadata for the calculation operation
CompliancemandatoryThis method must be implemented.
MethodsetOperation
Description

Sets the operation.

Parametersosid.grading.calculation.CalculationOperationoperationthe new calculation operation
ErrorsINVALID_ARGUMENT operation is invalid
NO_ACCESS operation cannot be modified
CompliancemandatoryThis method must be implemented.
MethodgetTweakedCenterMetadata
Description

Gets the metadata for the tweaked center.

Returnosid.Metadatametadata for the tweaked center
CompliancemandatoryThis method must be implemented.
MethodsetTweakedCenter
Description

Sets the tweaked center.

Parametersdecimalcenterthe new tweaked center
ErrorsINVALID_ARGUMENT center is invalid
NO_ACCESS center cannot be modified
CompliancemandatoryThis method must be implemented.
MethodclearTweakedCenter
Description

Clears the tweaked center.

CompliancemandatoryThis method must be implemented.
MethodgetTweakedStandardDeviation
Description

Gets the metadata for the tweaked standard deviation.

Returnosid.Metadatametadata for the standard deviation
CompliancemandatoryThis method must be implemented.
MethodsetTweakedStandardDeviation
Description

Sets the tweaked standard deviation.

ParametersdecimalstandardDeviationthe new tweaked standard deviation
ErrorsINVALID_ARGUMENT standardDeviation is invalid
NO_ACCESS standardDeviation cannot be modified
CompliancemandatoryThis method must be implemented.
MethodclearTweakedStandarDeviation
Description

Clears the tweaked standard deviation.

CompliancemandatoryThis method must be implemented.
MethodgetGradebookColumnCalculationFormRecord
Description

Gets the GradebookColumnCalculationFormRecord corresponding to the given gradebook column calculation record Type.

Parametersosid.type.TypegradebookColumnCalculationRecordTypethe gradeboo column calculation record type
Returnosid.grading.calculation.records.GradebookColumnCalculationFormRecordthe gradebook column calculation form record
ErrorsNULL_ARGUMENT gradebookColumnCalculationRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(gradebookColumnCalculationRecordType) is false
CompliancemandatoryThis method must be implemented.