OSID Logo
OSID Specifications
learning package
Version 3.0.0
Release Candidate Preview
Interfaceosid.learning.ObjectiveForm
Implementsosid.OsidObjectForm
osid.OsidFederateableForm
Description

This is the form for creating and updating Objectives. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the ObjectiveAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetAssessmentMetadata
Description

Gets the metadata for an assessment.

Returnosid.Metadatametadata for the assessment
CompliancemandatoryThis method must be implemented.
MethodsetAssessment
Description

Sets the assessment.

Parametersosid.id.IdassessmentIdthe new assessment
ErrorsINVALID_ARGUMENT assessmentId is invalid
NO_ACCESS assessmentId cannot be modified
NULL_ARGUMENT assessmentId is null
CompliancemandatoryThis method must be implemented.
MethodclearAssessment
Description

Clears the assessment.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetKnowledgeCategoryMetadata
Description

Gets the metadata for a knowledge category.

Returnosid.Metadatametadata for the knowledge category
CompliancemandatoryThis method must be implemented.
MethodsetKnowledgeCategory
Description

Sets the knowledge category.

Parametersosid.id.IdgradeIdthe new knowledge category
ErrorsINVALID_ARGUMENT gradeId is invalid
NO_ACCESS gradeId cannot be modified
NULL_ARGUMENT gradeId is null
CompliancemandatoryThis method must be implemented.
MethodclearKnowledgeCategory
Description

Clears the knowledge category.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetCognitiveProcessMetadata
Description

Gets the metadata for a cognitive process.

Returnosid.Metadatametadata for the cognitive process
CompliancemandatoryThis method must be implemented.
MethodsetCognitiveProcess
Description

Sets the cognitive process.

Parametersosid.id.IdgradeIdthe new cognitive process
ErrorsINVALID_ARGUMENT gradeId is invalid
NO_ACCESS gradeId cannot be modified
NULL_ARGUMENT gradeId is null
CompliancemandatoryThis method must be implemented.
MethodclearCognitiveProcess
Description

Clears the cognitive process.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetObjectiveFormRecord
Description

Gets the ObjectiveFormRecord corresponding to the given objective record Type.

Parametersosid.type.TypeobjectiveRecordTypethe objective record type
Returnosid.learning.records.ObjectiveFormRecordthe objective form record
ErrorsNULL_ARGUMENT objectiveRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(objectiveRecordType) is false
CompliancemandatoryThis method must be implemented.