Rules¶
Response¶
-
class
dlkit.assessment.rules.Response¶ Bases:
dlkit.osid.rules.OsidConditionA response to an assessment item.
This interface contains methods to set values in response to an assessmet item and mirrors the item record structure with the corresponding setters.
-
item_id¶ Gets the
Idof theItem.Returns: the assessment item IdReturn type: osid.id.Id
-
item¶ Gets the
Item.Returns: the assessment item Return type: osid.assessment.Item
-
get_response_record(item_record_type)¶ Gets the response record corresponding to the given
ItemrecordType.This method is used to retrieve an object implementing the requested record. The
item_record_typemay be theTypereturned inget_record_types()or any of its parents in aTypehierarchy wherehas_record_type(item_record_type)istrue.Parameters: item_record_type ( osid.type.Type) – an item record typeReturns: the response record Return type: osid.assessment.records.ResponseRecordRaise: NullArgument–item_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(item_record_type)isfalse
-