public interface Objective extends OsidObject, Federateable
An Objective
is a statable learning objective.
Modifier and Type | Method and Description |
---|---|
Assessment |
getAssessment()
Gets the assessment associated with this learning objective.
|
Id |
getAssessmentId()
Gets the assessment
Id associated with this learning
objective. |
Grade |
getCognitiveProcess()
Gets the grade associated with the cognitive process.
|
Id |
getCognitiveProcessId()
Gets the grade
Id associated with the cognitive
process. |
Grade |
getKnowledgeCategory()
Gets the grade associated with the knowledge dimension.
|
Id |
getKnowledgeCategoryId()
Gets the grade
Id associated with the knowledge
dimension. |
ObjectiveRecord |
getObjectiveRecord(Type objectiveRecordType)
Gets the objective bank record corresponding to the given
Objective record Type. |
boolean |
hasAssessment()
Tests if an assessment is associated with this objective.
|
boolean |
hasCognitiveProcess()
Tests if this objective has a cognitive process type.
|
boolean |
hasKnowledgeCategory()
Tests if this objective has a knowledge dimension.
|
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
boolean hasAssessment()
true
if an assessment exists, false
otherwisemandatory
- This method must be implemented. Id getAssessmentId()
Id
associated with this learning
objective. Id
IllegalStateException
- hasAssessment()
is false
mandatory
- This method must be implemented. Assessment getAssessment() throws OperationFailedException
IllegalStateException
- hasAssessment()
is false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. boolean hasKnowledgeCategory()
true
if a knowledge category exists,
false
otherwisemandatory
- This method must be implemented. Id getKnowledgeCategoryId()
Id
associated with the knowledge
dimension. Id
IllegalStateException
- hasKnowledgeCategory()
is false
mandatory
- This method must be implemented. Grade getKnowledgeCategory() throws OperationFailedException
IllegalStateException
- hasKnowledgeCategory()
is false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. boolean hasCognitiveProcess()
true
if a cognitive process exists,
false
otherwisemandatory
- This method must be implemented. Id getCognitiveProcessId()
Id
associated with the cognitive
process. Id
IllegalStateException
- hasCognitiveProcess()
is false
mandatory
- This method must be implemented. Grade getCognitiveProcess() throws OperationFailedException
IllegalStateException
- hasCognitiveProcess()
is false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. ObjectiveRecord getObjectiveRecord(Type objectiveRecordType) throws OperationFailedException
Objective
record Type.
This method is used to
retrieve an object implementing the requested record. The
objectiveRecordType
may be the Type
returned in
getRecordTypes()
or any of its parents in a Type
hierarchy where hasRecordType(objectiveRecordType)
is true
.objectiveRecordType
- an objective record typeNullArgumentException
- objectiveRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(objectiveRecordType)
is false
mandatory
- This method must be implemented.