Interface Objective
- All Superinterfaces:
Browsable, Extensible, Federateable, Identifiable, OsidObject
An Objective is a statable learning objective.
-
Method Summary
Modifier and TypeMethodDescriptionGets the assessment associated with this learning objective.Gets the assessmentIdassociated with this learning objective.Gets the grade associated with the cognitive process.Gets the gradeIdassociated with the cognitive process.Gets the grade associated with the knowledge dimension.Gets the gradeIdassociated with the knowledge dimension.getObjectiveRecord(Type objectiveRecordType) Gets the objective bank record corresponding to the givenObjectiverecordType.booleanTests if an assessment is associated with this objective.booleanTests if this objective has a cognitive process type.booleanTests if this objective has a knowledge dimension.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
-
hasAssessment
boolean hasAssessment()Tests if an assessment is associated with this objective.- Returns:
trueif an assessment exists,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAssessmentId
Id getAssessmentId()Gets the assessmentIdassociated with this learning objective.- Returns:
- the assessment
Id - Throws:
IllegalStateException-hasAssessment()isfalse- Compliance:
mandatory- This method must be implemented.
-
getAssessment
Gets the assessment associated with this learning objective.- Returns:
- the assessment
- Throws:
IllegalStateException-hasAssessment()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
hasKnowledgeCategory
boolean hasKnowledgeCategory()Tests if this objective has a knowledge dimension.- Returns:
trueif a knowledge category exists,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getKnowledgeCategoryId
Id getKnowledgeCategoryId()Gets the gradeIdassociated with the knowledge dimension.- Returns:
- the grade
Id - Throws:
IllegalStateException-hasKnowledgeCategory()isfalse- Compliance:
mandatory- This method must be implemented.
-
getKnowledgeCategory
Gets the grade associated with the knowledge dimension.- Returns:
- the grade
- Throws:
IllegalStateException-hasKnowledgeCategory()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
hasCognitiveProcess
boolean hasCognitiveProcess()Tests if this objective has a cognitive process type.- Returns:
trueif a cognitive process exists,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCognitiveProcessId
Id getCognitiveProcessId()Gets the gradeIdassociated with the cognitive process.- Returns:
- the grade
Id - Throws:
IllegalStateException-hasCognitiveProcess()isfalse- Compliance:
mandatory- This method must be implemented.
-
getCognitiveProcess
Gets the grade associated with the cognitive process.- Returns:
- the grade
- Throws:
IllegalStateException-hasCognitiveProcess()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getObjectiveRecord
Gets the objective bank record corresponding to the givenObjectiverecordType. This method is used to retrieve an object implementing the requested record. TheobjectiveRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(objectiveRecordType)istrue.- Parameters:
objectiveRecordType- an objective record type- Returns:
- the objective record
- Throws:
NullArgumentException-objectiveRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(objectiveRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-