Objects¶
Grade¶
-
class
dlkit.grading.objects.Grade¶ Bases:
dlkit.osid.objects.OsidObject,dlkit.osid.markers.SubjugateableA
Grade.Grades represent qualified performance levels defined within some grading system.
-
grade_system_id¶ Gets the
GradeSystem Idin which this grade belongs.Returns: the grade system IdReturn type: osid.id.Idcompliance: mandatory – This method must be implemented.
-
grade_system¶ Gets the
GradeSystemin which this grade belongs.Returns: the grade system Return type: osid.grading.GradeSystemcompliance: mandatory – This method must be implemented.
-
input_score_start_range¶ Gets the low end of the input score range equivalent to this grade.
Returns: the start range Return type: decimalcompliance: mandatory – This method must be implemented.
-
input_score_end_range¶ Gets the high end of the input score range equivalent to this grade.
Returns: the end range Return type: decimalcompliance: mandatory – This method must be implemented.
-
output_score¶ Gets the output score for this grade used for calculating cumultives or performing articulation.
Returns: the output score Return type: decimalcompliance: mandatory – This method must be implemented.
-
get_grade_record(grade_record_type)¶ Gets the grade record corresponding to the given
GraderecordType.This method is used to retrieve an object implementing the requested record. The
grade_record_typemay be theTypereturned inget_record_types()or any of its parents in aTypehierarchy wherehas_record_type(grade_record_type)istrue.Parameters: grade_record_type ( osid.type.Type) – the type of the record to retrieveReturns: the grade record Return type: osid.grading.records.GradeRecordRaise: NullArgument–grade_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(grade_record_type)isfalsecompliance: mandatory – This method must be implemented.
-
Grade Form¶
-
class
dlkit.grading.objects.GradeForm¶ Bases:
dlkit.osid.objects.OsidObjectForm,dlkit.osid.objects.OsidSubjugateableFormThis is the form for creating and updating
Grades.Like all
OsidFormobjects, various data elements may be set here for use in the create and update methods in theGradeAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.-
input_score_start_range_metadata¶ Gets the metadata for the input score start range.
Returns: metadata for the input score start range Return type: osid.Metadatacompliance: mandatory – This method must be implemented.
-
input_score_start_range¶
-
input_score_end_range_metadata¶ Gets the metadata for the input score start range.
Returns: metadata for the input score start range Return type: osid.Metadatacompliance: mandatory – This method must be implemented.
-
input_score_end_range¶
-
output_score_metadata¶ Gets the metadata for the output score start range.
Returns: metadata for the output score start range Return type: osid.Metadatacompliance: mandatory – This method must be implemented.
-
output_score¶
-
get_grade_form_record(grade_record_type)¶ Gets the
GradeFormRecordcorresponding to the given grade recordType.Parameters: grade_record_type ( osid.type.Type) – the grade record typeReturns: the grade form record Return type: osid.grading.records.GradeFormRecordRaise: NullArgument–grade_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(grade_record_type)isfalsecompliance: mandatory – This method must be implemented.
-
Grade List¶
-
class
dlkit.grading.objects.GradeList¶ Bases:
dlkit.osid.objects.OsidListLike all
OsidLists,GradeListprovides a means for accessingGradeelements sequentially either one at a time or many at a time.Examples: while (gl.hasNext()) { Grade grade = gl.getNextGrade(); }
- or
- while (gl.hasNext()) {
- Grade[] grades = gl.getNextGrades(gl.available());
}
-
next_grade¶ Gets the next
Gradein this list.Returns: the next Gradein this list. Thehas_next()method should be used to test that a nextGradeis available before calling this method.Return type: osid.grading.GradeRaise: IllegalState– no more elements available in this listRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
-
get_next_grades(n)¶ Gets the next set of
Gradeelements in this list which must be less than or equal to the return fromavailable().Parameters: n ( cardinal) – the number ofGradeelements requested which must be less than or equal toavailable()Returns: an array of Gradeelements.The length of the array is less than or equal to the number specified.Return type: osid.grading.GradeRaise: IllegalState– no more elements available in this listRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
Grade System¶
-
class
dlkit.grading.objects.GradeSystem¶ Bases:
dlkit.osid.objects.OsidObject,dlkit.osid.markers.AggregateableA
GradeSystemrepresents a grading system.The system can be based on assigned Grades or based on a numeric scale.
-
is_based_on_grades()¶ Tests if the grading system is based on grades.
Returns: true if the grading system is based on grades, falseif the system is a numeric scoreReturn type: booleancompliance: mandatory – This method must be implemented.
-
grade_ids¶ Gets the grade
Idsin this system ranked from highest to lowest.Returns: the list of grades IdsReturn type: osid.id.IdListRaise: IllegalState–is_based_on_grades()isfalsecompliance: mandatory – This method must be implemented.
-
grades¶ Gets the grades in this system ranked from highest to lowest.
Returns: the list of grades Return type: osid.grading.GradeListRaise: IllegalState–is_based_on_grades()isfalseRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
-
lowest_numeric_score¶ Gets the lowest number in a numeric grading system.
Returns: the lowest number Return type: decimalRaise: IllegalState–is_based_on_grades()istruecompliance: mandatory – This method must be implemented.
-
numeric_score_increment¶ Gets the incremental step.
Returns: the increment Return type: decimalRaise: IllegalState–is_based_on_grades()istruecompliance: mandatory – This method must be implemented.
-
highest_numeric_score¶ Gets the highest number in a numeric grading system.
Returns: the highest number Return type: decimalRaise: IllegalState–is_based_on_grades()istruecompliance: mandatory – This method must be implemented.
-
get_grade_system_record(grade_system_record_type)¶ Gets the grade system record corresponding to the given
GradeSystemrecordType.This method is used to retrieve an object implementing the requested record. The
grade_system_record_typemay be theTypereturned inget_record_types()or any of its parents in aTypehierarchy wherehas_record_type(grade_system_record_type)istrue.Parameters: grade_system_record_type ( osid.type.Type) – the type of the record to retrieveReturns: the grade system record Return type: osid.grading.records.GradeSystemRecordRaise: NullArgument–grade_system_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(grade_system_record_type)isfalsecompliance: mandatory – This method must be implemented.
-
Grade System Form¶
-
class
dlkit.grading.objects.GradeSystemForm¶ Bases:
dlkit.osid.objects.OsidObjectForm,dlkit.osid.objects.OsidAggregateableFormThis is the form for creating and updating
GradeSystems.Like all
OsidFormobjects, various data elements may be set here for use in the create and update methods in theGradeSystemAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.-
based_on_grades_metadata¶ Gets the metadata for a grade-based designation.
Returns: metadata for the grade-based designation Return type: osid.Metadatacompliance: mandatory – This method must be implemented.
-
based_on_grades¶
-
lowest_numeric_score_metadata¶ Gets the metadata for the lowest numeric score.
Returns: metadata for the lowest numeric score Return type: osid.Metadatacompliance: mandatory – This method must be implemented.
-
lowest_numeric_score¶
-
numeric_score_increment_metadata¶ Gets the metadata for the lowest numeric score.
Returns: metadata for the lowest numeric score Return type: osid.Metadatacompliance: mandatory – This method must be implemented.
-
numeric_score_increment¶
-
highest_numeric_score_metadata¶ Gets the metadata for the highest numeric score.
Returns: metadata for the highest numeric score Return type: osid.Metadatacompliance: mandatory – This method must be implemented.
-
highest_numeric_score¶
-
get_grade_system_form_record(grade_system_record_type)¶ Gets the
GradeSystemFormRecordcorresponding to the given grade system recordType.Parameters: grade_system_record_type ( osid.type.Type) – the grade system record typeReturns: the grade system form record Return type: osid.grading.records.GradeSystemFormRecordRaise: NullArgument–grade_system_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(grade_system_record_type)isfalsecompliance: mandatory – This method must be implemented.
-
Grade System List¶
-
class
dlkit.grading.objects.GradeSystemList¶ Bases:
dlkit.osid.objects.OsidListLike all
OsidLists,GradeSystemListprovides a means for accessingGradeSystemelements sequentially either one at a time or many at a time.Examples: while (gsl.hasNext()) { GradeSystem system = gsl.getNextGradeSystem(); }
- or
- while (gsl.hasNext()) {
- GradeSystem[] systems = gsl.getNextGradeSystems(gsl.available());
}
-
next_grade_system¶ Gets the next
GradeSystemin this list.Returns: the next GradeSystemin this list. Thehas_next()method should be used to test that a nextGradeSystemis available before calling this method.Return type: osid.grading.GradeSystemRaise: IllegalState– no more elements available in this listRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
-
get_next_grade_systems(n)¶ Gets the next set of
GradeSystemelements in this list which must be less than or equal to the return fromavailable().Parameters: n ( cardinal) – the number ofGradeSystemelements requested which must be less than or equal toavailable()Returns: an array of GradeSystemelements.The length of the array is less than or equal to the number specified.Return type: osid.grading.GradeSystemRaise: IllegalState– no more elements available in this listRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
Grade Entry¶
-
class
dlkit.grading.objects.GradeEntry¶ Bases:
dlkit.osid.objects.OsidRelationshipA
GradeEntryrepresents an entry in aGradebook.-
gradebook_column_id¶ Gets the
Idof theGradebookColumn.Returns: the Idof theGradebookColumnReturn type: osid.id.Idcompliance: mandatory – This method must be implemented.
-
gradebook_column¶ Gets the
GradebookColumn.Returns: the GradebookColumnReturn type: osid.grading.GradebookColumnRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
-
key_resource_id¶ Gets the
Idof the key resource of this entry.The key resource may be a student or other applicable key to identify a row of grading entries.
Returns: Idof the key resourceReturn type: osid.id.Idcompliance: mandatory – This method must be implemented.
-
key_resource¶ Gets the key resource of this entry.
The key resource may be a student or other applicable key to identify a row of grading entries.
Returns: the key resource Return type: osid.resource.ResourceRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
-
is_derived()¶ Tests if this is a calculated entry.
Returns: trueif this entry is a calculated entry,falseotherwise. Iftrue,thenoverrides_calculated_entry()must befalse.Return type: booleancompliance: mandatory – This method must be implemented.
-
overrides_calculated_entry()¶ Tests if this is a manual entry that overrides a calculated entry.
Returns: trueif this entry overrides a calculated entry,falseotherwise. Iftrue,thenis_derived()must befalse.Return type: booleancompliance: mandatory – This method must be implemented.
-
overridden_calculated_entry_id¶ Gets the calculated entry
Idthis entry overrides.Returns: the calculated entry IdReturn type: osid.id.IdRaise: IllegalState–overrides_derived_entry()isfalsecompliance: mandatory – This method must be implemented.
-
overridden_calculated_entry¶ Gets the calculated entry this entry overrides.
Returns: the calculated entry Return type: osid.grading.GradeEntryRaise: IllegalState–overrides_calculated_entry()isfalseRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
-
is_ignored_for_calculations()¶ Tests if this is entry should be ignored in any averaging, scaling or curve calculation.
Returns: trueif this entry is ignored,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
is_graded()¶ Tests if a grade or score has been assigned to this entry.
Generally, an entry is created with a grade or score.
Returns: trueif a grade has been assigned,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
grade_id¶ Gets the grade
Idin this entry if the grading system is based on grades.Returns: the grade IdReturn type: osid.id.IdRaise: IllegalState–is_graded()isfalseorGradeSystem.isBasedOnGrades()isfalsecompliance: mandatory – This method must be implemented.
-
grade¶ Gets the grade in this entry if the grading system is based on grades.
Returns: the grade Return type: osid.grading.GradeRaise: IllegalState–is_graded()isfalseorGradeSystem.isBasedOnGrades()isfalseRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
-
score¶ Gets the score in this entry if the grading system is not based on grades.
Returns: the score Return type: decimalRaise: IllegalState–is_graded()isfalseorGradeSystem.isBasedOnGrades()istruecompliance: mandatory – This method must be implemented.
-
time_graded¶ Gets the time the gradeable object was graded.
Returns: the timestamp of the grading entry Return type: osid.calendaring.DateTimeRaise: IllegalState–is_graded()isfalseoris_derived()istruecompliance: mandatory – This method must be implemented.
-
grader_id¶ Gets the
Idof theResourcethat created this entry.Returns: the Idof theResourceReturn type: osid.id.IdRaise: IllegalState–is_graded()isfalseoris_derived()istruecompliance: mandatory – This method must be implemented.
-
grader¶ Gets the
Resourcethat created this entry.Returns: the ResourceReturn type: osid.resource.ResourceRaise: IllegalState–is_graded() is false or is_derived() is trueRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
-
grading_agent_id¶ Gets the
Idof theAgentthat created this entry.Returns: the Idof theAgentReturn type: osid.id.IdRaise: IllegalState–is_graded()isfalseoris_derived()istruecompliance: mandatory – This method must be implemented.
-
grading_agent¶ Gets the
Agentthat created this entry.Returns: the AgentReturn type: osid.authentication.AgentRaise: IllegalState–is_graded() is false or is_derived() is trueRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
-
get_grade_entry_record(grade_entry_record_type)¶ Gets the grade entry record corresponding to the given
GradeEntryrecordType.This method is used to retrieve an object implementing the requested record. The
grade_entry_record_typemay be theTypereturned inget_record_types()or any of its parents in aTypehierarchy wherehas_record_type(grade_entry_record_type)istrue.Parameters: grade_entry_record_type ( osid.type.Type) – the type of the record to retrieveReturns: the grade entry record Return type: osid.grading.records.GradeEntryRecordRaise: NullArgument–grade_entry_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(grade_entry_record_type)isfalsecompliance: mandatory – This method must be implemented.
-
Grade Entry Form¶
-
class
dlkit.grading.objects.GradeEntryForm¶ Bases:
dlkit.osid.objects.OsidRelationshipFormThis is the form for creating and updating
GradeEntries.Like all
OsidFormobjects, various data elements may be set here for use in the create and update methods in theGradeEntryAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.-
ignored_for_calculations_metadata¶ Gets the metadata for the ignore flag.
Returns: metadata for the ignore flag Return type: osid.Metadatacompliance: mandatory – This method must be implemented.
-
ignored_for_calculations¶
-
grade_metadata¶ Gets the metadata for a grade.
Returns: metadata for the grade Return type: osid.Metadatacompliance: mandatory – This method must be implemented.
-
grade¶
-
score_metadata¶ Gets the metadata for a score.
Returns: metadata for the score Return type: osid.Metadatacompliance: mandatory – This method must be implemented.
-
score¶
-
get_grade_entry_form_record(grade_entry_record_type)¶ Gets the
GradeEntryFormRecordcorresponding to the given grade entry recordType.Parameters: grade_entry_record_type ( osid.type.Type) – the grade entry record typeReturns: the grade entry form record Return type: osid.grading.records.GradeEntryFormRecordRaise: NullArgument–grade_entry_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(grade_entry_record_type)isfalsecompliance: mandatory – This method must be implemented.
-
Grade Entry List¶
-
class
dlkit.grading.objects.GradeEntryList¶ Bases:
dlkit.osid.objects.OsidListLike all
OsidLists,GradeEntryListprovides a means for accessingGradeEntryelements sequentially either one at a time or many at a time.Examples: while (gel.hasNext()) { GradeEntry entry = gel.getNextGradeEntry(); }
- or
- while (gel.hasNext()) {
- GradeEntry[] entries = gel.getNextGradeEntries(gel.available());
}
-
next_grade_entry¶ Gets the next
GradeEntryin this list.Returns: the next GradeEntryin this list. Thehas_next()method should be used to test that a nextGradeEntryis available before calling this method.Return type: osid.grading.GradeEntryRaise: IllegalState– no more elements available in this listRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
-
get_next_grade_entries(n)¶ Gets the next set of
GradeEntryelements in this list which must be less than or equal to the number returned fromavailable().Parameters: n ( cardinal) – the number ofGradeEntryelements requested which should be less than or equal toavailable()Returns: an array of GradeEntryelements.The length of the array is less than or equal to the number specified.Return type: osid.grading.GradeEntryRaise: IllegalState– no more elements available in this listRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
Gradebook Column¶
-
class
dlkit.grading.objects.GradebookColumn¶ Bases:
dlkit.osid.objects.OsidObjectA
GradebookColumnrepresents a series of grade entries in a gradebook.Each GradeEntry in a column share the same
GradeSystem.-
grade_system_id¶ Gets the
GradeSystem Idin which this grade belongs.Returns: the grade system IdReturn type: osid.id.Idcompliance: mandatory – This method must be implemented.
-
grade_system¶ Gets the
GradeSystemin which this grade belongs.Returns: the package grade system Return type: osid.grading.GradeSystemRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
-
get_gradebook_column_record(gradebook_column_record_type)¶ Gets the gradebook column record corresponding to the given
GradeBookColumnrecordType.This method ie used to retrieve an object implementing the requested record. The
gradebook_column_record_typemay be theTypereturned inget_record_types()or any of its parents in aTypehierarchy wherehas_record_type(gradebook_column_record_type)istrue.Parameters: gradebook_column_record_type ( osid.type.Type) – the type of the record to retrieveReturns: the gradebook column record Return type: osid.grading.records.GradebookColumnRecordRaise: NullArgument–gradebook_column_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(gradebook_column_record_type)isfalsecompliance: mandatory – This method must be implemented.
-
Gradebook Column Form¶
-
class
dlkit.grading.objects.GradebookColumnForm¶ Bases:
dlkit.osid.objects.OsidObjectFormThis is the form for creating and updating
GradebookColumns.Like all
OsidFormobjects, various data elements may be set here for use in the create and update methods in theGradebookAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.-
grade_system_metadata¶ Gets the metadata for a grade system.
Returns: metadata for the grade system Return type: osid.Metadatacompliance: mandatory – This method must be implemented.
-
grade_system¶
-
get_gradebook_column_form_record(gradebook_column_record_type)¶ Gets the
GradebookColumnFormRecordcorresponding to the given gradebook column recordType.Parameters: gradebook_column_record_type ( osid.type.Type) – a gradebook column record typeReturns: the gradebook column form record Return type: osid.grading.records.GradebookColumnFormRecordRaise: NullArgument–gradebook_column_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(gradebook_column_record_type)isfalsecompliance: mandatory – This method must be implemented.
-
Gradebook Column List¶
-
class
dlkit.grading.objects.GradebookColumnList¶ Bases:
dlkit.osid.objects.OsidListLike all
OsidLists,GradebookColumnListprovides a means for accessingGradebookColumnelements sequentially either one at a time or many at a time.Examples: while (gcl.hasNext()) { GradebookColumn column = gcl.getNextGradebookColumn(); }
- or
- while (gcl.hasNext()) {
- GradebookColumn[] columns = gcl.getNextGradebookColumns(gcl.available());
}
-
next_gradebook_column¶ Gets the next
GradebookColumnin this list.Returns: the next GradebookColumnin this list. Thehas_next()method should be used to test that a nextGradebookColumnis available before calling this method.Return type: osid.grading.GradebookColumnRaise: IllegalState– no more elements available in this listRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
-
get_next_gradebook_columns(n)¶ Gets the next set of
GradebookColumnelements in this list which must be less than or equal to the return fromavailable().Parameters: n ( cardinal) – the number ofGradebookColumnelements requested which must be less than or equal toavailable()Returns: an array of GradebookColumnelements.The length of the array is less than or equal to the number specified.Return type: osid.grading.GradebookColumnRaise: IllegalState– no more elements available in this listRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
Gradebook Column Summary¶
-
class
dlkit.grading.objects.GradebookColumnSummary¶ Bases:
dlkit.osid.objects.OsidObjectA
GradebookColumnSummaryis a summary of all entries within a gradebook column.-
gradebook_column_id¶ Gets the
Idof theGradebookColumn.Returns: the Idof theGradebookColumnReturn type: osid.id.Idcompliance: mandatory – This method must be implemented.
-
gradebook_column¶ Gets the
GradebookColumn.Returns: the GradebookColumnReturn type: osid.grading.GradebookColumnRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
-
mean¶ Gets the mean score.
If this system is based on grades, the mean output score is returned.
Returns: the mean score Return type: decimalcompliance: mandatory – This method must be implemented.
-
median¶ Gets the median score.
If this system is based on grades, the mean output score is returned.
Returns: the median score Return type: decimalcompliance: mandatory – This method must be implemented.
-
mode¶ Gets the mode of the score.
If this system is based on grades, the mode of the output score is returned.
Returns: the median score Return type: decimalcompliance: mandatory – This method must be implemented.
-
rms¶ Gets the root mean square of the score.
If this system is based on grades, the RMS of the output score is returned.
Returns: the median score Return type: decimalcompliance: mandatory – This method must be implemented.
-
standard_deviation¶ Gets the standard deviation.
If this system is based on grades, the spread of the output scores is returned.
Returns: the standard deviation Return type: decimalcompliance: mandatory – This method must be implemented.
-
sum¶ Gets the sum of the scores.
If this system is based on grades, the sum of the output scores is returned.
Returns: the median score Return type: decimalcompliance: mandatory – This method must be implemented.
-
get_gradebook_column_summary_record(gradebook_column_summary_record_type)¶ Gets the gradebook column summary record corresponding to the given
GradebookColumnSummaryrecordType.This method is used to retrieve an object implementing the requested record. The
gradebook_column_summary_record_typemay be theTypereturned inget_record_types()or any of its parents in aTypehierarchy wherehas_record_type(gradebook_column_summary_record_type)istrue.Parameters: gradebook_column_summary_record_type ( osid.type.Type) – the type of the record to retrieveReturns: the gradebook column summary record Return type: osid.grading.records.GradebookColumnSummaryRecordRaise: NullArgument–gradebook_column_summary_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(gradebook_column_summary_record_type)isfalsecompliance: mandatory – This method must be implemented.
-
Gradebook¶
-
class
dlkit.grading.objects.Gradebook(abc_grading_objects.Gradebook, osid_objects.OsidCatalog)¶ -
:noindex: -
get_gradebook_record(gradebook_record_type)¶ Gets the gradebook record corresponding to the given
GradebookrecordType.This method is used to retrieve an object implementing the requested record. The
gradebook_record_typemay be theTypereturned inget_record_types()or any of its parents in aTypehierarchy wherehas_record_type(gradebook_record_type)istrue.Parameters: gradebook_record_type ( osid.type.Type) – a gradebook record typeReturns: the gradebook record Return type: osid.grading.records.GradebookRecordRaise: NullArgument–gradebook_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(gradebook_record_type)isfalsecompliance: mandatory – This method must be implemented.
-
Gradebook Form¶
-
class
dlkit.grading.objects.GradebookForm¶ Bases:
dlkit.osid.objects.OsidCatalogFormThis is the form for creating and updating
Gradebooks.Like all
OsidFormobjects, various data elements may be set here for use in the create and update methods in theGradebookAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.-
get_gradebook_form_record(gradebook_record_type)¶ Gets the
GradebookFormRecordcorresponding to the given gradebook recordType.Parameters: gradebook_record_type ( osid.type.Type) – a gradebook record typeReturns: the gradebook form record Return type: osid.grading.records.GradebookFormRecordRaise: NullArgument–gradebook_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(gradebook_record_type)isfalsecompliance: mandatory – This method must be implemented.
-
Gradebook List¶
-
class
dlkit.grading.objects.GradebookList¶ Bases:
dlkit.osid.objects.OsidListLike all
OsidLists,GradebookListprovides a means for accessingGradebookelements sequentially either one at a time or many at a time.Examples: while (gl.hasNext()) { Gradebook gradebook = gl.getNextGradebook(); }
- or
- while (gl.hasNext()) {
- Gradebook[] gradebooks = gl.getNextGradebooks(gl.available());
}
-
next_gradebook¶ Gets the next
Gradebookin this list.Returns: the next Gradebookin this list. Thehas_next()method should be used to test that a nextGradebookis available before calling this method.Return type: osid.grading.GradebookRaise: IllegalState– no more elements available in this listRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
-
get_next_gradebooks(n)¶ Gets the next set of
Gradebookelements in this list which must be less than or equal to the return fromavailable().Parameters: n ( cardinal) – the number ofGradebookelements requested which must be less than or equal toavailable()Returns: an array of Gradebookelements.The length of the array is less than or equal to the number specified.Return type: osid.grading.GradebookRaise: IllegalState– no more elements available in this listRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
Gradebook Node¶
-
class
dlkit.grading.objects.GradebookNode¶ Bases:
dlkit.osid.objects.OsidNodeThis interface is a container for a partial hierarchy retrieval.
The number of hierarchy levels traversable through this interface depend on the number of levels requested in the
GradebookHierarchySession.-
gradebook¶ Gets the
Gradebookat this node.Returns: the gradebook represented by this node Return type: osid.grading.Gradebookcompliance: mandatory – This method must be implemented.
-
parent_gradebook_nodes¶ Gets the parents of this gradebook.
Returns: the parents of the idReturn type: osid.grading.GradebookNodeListcompliance: mandatory – This method must be implemented.
-
child_gradebook_nodes¶ Gets the children of this gradebook.
Returns: the children of this gradebook Return type: osid.grading.GradebookNodeListcompliance: mandatory – This method must be implemented.
-
Gradebook Node List¶
-
class
dlkit.grading.objects.GradebookNodeList¶ Bases:
dlkit.osid.objects.OsidListLike all
OsidLists,GradebookNodeListprovides a means for accessingGradebookNodeelements sequentially either one at a time or many at a time.Examples: while (gnl.hasNext()) { GradebookNode node = gnl.getNextGradebookNode(); }
- or
- while (gnl.hasNext()) {
- GradebookNode[] nodes = gnl.getNextGradebookNodes(gnl.available());
}
-
next_gradebook_node¶ Gets the next
GradebookNodein this list.Returns: the next GradebookNodein this list. Thehas_next()method should be used to test that a nextGradebookNodeis available before calling this method.Return type: osid.grading.GradebookNodeRaise: IllegalState– no more elements available in this listRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.
-
get_next_gradebook_nodes(n)¶ Gets the next set of
GradebookNodeelements in this list which must be less than or equal to the return fromavailable().Parameters: n ( cardinal) – the number ofGradebookNodeelements requested which must be less than or equal toavailable()Returns: an array of GradebookNodeelements.The length of the array is less than or equal to the number specified.Return type: osid.grading.GradebookNodeRaise: IllegalState– no more elements available in this listRaise: OperationFailed– unable to complete requestcompliance: mandatory – This method must be implemented.