Interface | osid.assessment.authoring.AssessmentPartForm | ||
---|---|---|---|
Implements | osid.OsidObjectForm | ||
osid.OsidContainableForm | |||
osid.OsidOperableForm | |||
Description |
This is the form for creating and updating | ||
Method | getWeightMetadata | ||
Description |
Gets the metadata for the weight. | ||
Return | osid.Metadata | metadata for the weight | |
Compliance | mandatory | This method must be implemented. | |
Method | setWeight | ||
Description |
Sets the weight on a scale from 0-100. | ||
Parameters | cardinal | weight | the new weight |
Errors | INVALID_ARGUMENT | weight is invalid | |
NO_ACCESS | Metadata.isReadOnly() is true | ||
Compliance | mandatory | This method must be implemented. | |
Method | clearWeight | ||
Description |
Clears the weight. | ||
Errors | NO_ACCESS | Metadata.isRequired() or Metadata.isReadOnly()
is true | |
Compliance | mandatory | This method must be implemented. | |
Method | getAllocatedTimeMetadata | ||
Description |
Gets the metadata for the allocated time. | ||
Return | osid.Metadata | metadata for the allocated time | |
Compliance | mandatory | This method must be implemented. | |
Method | setAllocatedTime | ||
Description |
Sets the allocated time. | ||
Parameters | osid.calendaring.Duration | time | the allocated time |
Errors | INVALID_ARGUMENT | time is invalid | |
NO_ACCESS | Metadata.isReadOnly() is true | ||
Compliance | mandatory | This method must be implemented. | |
Method | clearAllocatedTime | ||
Description |
Clears the allocated time. | ||
Errors | NO_ACCESS | Metadata.isRequired() or Metadata.isReadOnly()
is true | |
Compliance | mandatory | This method must be implemented. | |
Method | getAssessmentPartFormRecord | ||
Description |
Gets the | ||
Parameters | osid.type.Type | assessmentPartRecordType | the assessment part record type |
Return | osid.assessment.authoring.records.AssessmentPartFormRecord | the assessment part record | |
Errors | NULL_ARGUMENT | assessmentPartRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(assessmentPartRecordType) is false
| ||
Compliance | mandatory | This method must be implemented. |