Interface AssessmentSection
- All Superinterfaces:
Browsable, Extensible, Identifiable, 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.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTests if the items or parts in this section are taken sequentially.booleanTests if the items or parts appear in a random order.Gets the allocated time for this section.getAssessmentSectionRecord(Type assessmentSectionRecordType) Gets the assessment section record corresponding to the givenAssessmentSectionrecordType.Gets theAssessmentTakeb.Gets theIdof theAssessmentTaken.booleanTests if this section must be completed within an allocated time.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 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.
-
Method Details
-
getAssessmentTakenId
Id getAssessmentTakenId()Gets theIdof theAssessmentTaken.- Returns:
- the assessment taken
Id - Compliance:
mandatory- This method must be implemented.
-
getAssessmentTaken
Gets theAssessmentTakeb.- Returns:
- the assessment taken
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
hasAllocatedTime
boolean hasAllocatedTime()Tests if this section must be completed within an allocated time.- Returns:
trueif this section has an allocated time,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAllocatedTime
Duration getAllocatedTime()Gets the allocated time for this section.- Returns:
- allocated time
- Throws:
IllegalStateException-hasAllocatedTime()isfalse- Compliance:
mandatory- This method must be implemented.
-
areItemsSequential
boolean areItemsSequential()Tests if the items or parts in this section are taken sequentially.- Returns:
trueif the items are taken sequentially,falseif the items can be skipped and revisited- Compliance:
mandatory- This method must be implemented.
-
areItemsShuffled
boolean areItemsShuffled()Tests if the items or parts appear in a random order.- Returns:
trueif the items appear in a random order,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAssessmentSectionRecord
AssessmentSectionRecord getAssessmentSectionRecord(Type assessmentSectionRecordType) throws OperationFailedException Gets the assessment section record corresponding to the givenAssessmentSectionrecordType. This method is used to retrieve an object implementing the requested record. TheassessmentSectionRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(assessmentSectionRecordType)istrue.- Parameters:
assessmentSectionRecordType- an assessment section record type- Returns:
- the assessment section record
- Throws:
NullArgumentException-assessmentSectionRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(assessmentSectionRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-