public interface AssessmentSection extends OsidObject
Represents an assessment section. An assessment section represents a cluster of questions used to organize the execution of an assessment. The section is the student aspect of an assessment part.
Modifier and Type | Method and Description |
---|---|
boolean |
areItemsSequential()
Tests if the items or parts in this section are taken sequentially.
|
boolean |
areItemsShuffled()
Tests if the items or parts appear in a random order.
|
Duration |
getAllocatedTime()
Gets the allocated time for this section.
|
AssessmentSectionRecord |
getAssessmentSectionRecord(Type assessmentSectionRecordType)
Gets the assessment section record corresponding to the given
AssessmentSection record Type. |
boolean |
hasAllocatedTime()
Tests if this section must be completed within an allocated time.
|
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
boolean hasAllocatedTime()
true
if this section has an allocated time,
false
otherwisemandatory
- This method must be implemented. Duration getAllocatedTime()
IllegalStateException
- hasAllocatedTime()
is false
mandatory
- This method must be implemented. boolean areItemsSequential()
true
if the items are taken sequentially,
false
if the items can be skipped and revisitedmandatory
- This method must be implemented. boolean areItemsShuffled()
true
if the items appear in a random order,
false
otherwisemandatory
- This method must be implemented. AssessmentSectionRecord getAssessmentSectionRecord(Type assessmentSectionRecordType) throws OperationFailedException
AssessmentSection
record Type.
This method is
used to retrieve an object implementing the requested record. The
assessmentSectionRecordType
may be the Type
returned in getRecordTypes()
or any of its
parents in a Type
hierarchy where
hasRecordType(assessmentSectionRecordType)
is true
.assessmentSectionRecordType
- an assessment section record typeNullArgumentException
-
assessmentSectionRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(assessmentSectionRecordType)
is
false
mandatory
- This method must be implemented.