Interface GradebookColumnCalculation
- All Superinterfaces:
Browsable, Extensible, Identifiable, Operable, OsidObject, OsidRule
A GradebookColumnCalculation represents a rule to derive a
column baed on one or more other columns.
-
Method Summary
Modifier and TypeMethodDescriptionGets theGradebookColumnto which this calculation applies.getGradebookColumnCalculationRecord(Type gradebookColumnCalculationRecordType) Gets the gradebook column calculation record corresponding to the givenGradeBookColumnCalculationrecordType.Gets theGradebookColumn Idsto which this column applies.Gets theGradebookColumn Idsfrom which this column is derived.Gets theGradebookColumnsfrom which this column is derived.Gets the operation to perform for deriving this column.Gets the tweaked midpoint input value of the grading system for determining how to center calculated enries in this column.Gets the tweaked standard deviation.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeModifier and TypeMethodDescriptionGets a list of properties.getPropertiesByRecordType(Type recordType) Gets a list of properties corresponding to the specified record type.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface Operable
isActive, isDisabled, isEnabled, isOperationalModifier and TypeMethodDescriptionbooleanisActive()Tests if this operable is active.booleanTests if this operable is administravely disabled.booleanTests if this operable is administravely enabled.booleanTests if thisOperableis operational.Methods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeModifier and TypeMethodDescriptionGets the description associated with this instance of this OSID object.Gets the preferred display name associated with this instance of this OSID object appropriate for display to the user.Gets the genus type of this object.booleanisOfGenusType(Type genusType) Tests if this object is of the given genusType.Methods inherited from interface OsidRule
getConditionRecordTypes, getRule, getRuleId, hasRule
-
Method Details
-
getGradebookColumnId
Id getGradebookColumnId()Gets theGradebookColumn Idsto which this column applies.- Returns:
- the gradebook column
Id - Compliance:
mandatory- This method must be implemented.
-
getGradebookColumn
Gets theGradebookColumnto which this calculation applies.- Returns:
- the gradebook column
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getInputGradebookColumnIds
IdList getInputGradebookColumnIds()Gets theGradebookColumn Idsfrom which this column is derived.- Returns:
- the derived column
Ids - Compliance:
mandatory- This method must be implemented.
-
getInputGradebookColumns
Gets theGradebookColumnsfrom which this column is derived.- Returns:
- the derived columns
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getOperation
CalculationOperation getOperation()Gets the operation to perform for deriving this column. The output of the operation determines the score or grade for the column entries.- Returns:
- the calculation operation
- Compliance:
mandatory- This method must be implemented.
-
getTweakedCenter
BigDecimal getTweakedCenter()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.- Returns:
- the tweaked center
- Throws:
IllegalStateException-getCalculation()is notCalculationOperation.STD_DEVIATION_OFFSET- Compliance:
mandatory- This method must be implemented.
-
getTweakedStandardDeviation
BigDecimal getTweakedStandardDeviation()Gets the tweaked standard deviation. This tweak is applied before calculating standard deviation offsets for entries in this derived column.- Returns:
- the tweaked standard deviation
- Throws:
IllegalStateException-getCalculation()is notCalculationOperation.STD_DEVIATION_OFFSET- Compliance:
mandatory- This method must be implemented.
-
getGradebookColumnCalculationRecord
GradebookColumnCalculationRecord getGradebookColumnCalculationRecord(Type gradebookColumnCalculationRecordType) throws OperationFailedException, PermissionDeniedException Gets the gradebook column calculation record corresponding to the givenGradeBookColumnCalculationrecordType. This method is used to retrieve an object implementing the requested record. ThegradebookColumnCalculationRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(gradebookColumnCalculationRecordType)istrue.- Parameters:
gradebookColumnCalculationRecordType- the type of the record to retrieve- Returns:
- the gradebook column calculation record
- Throws:
NullArgumentException-gradebookColumnCalculationRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure occurredUnsupportedException-hasRecordType(gradebookColumnCalculationRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-