Interface Objective

All Superinterfaces:
Browsable, Extensible, Federateable, Identifiable, OsidObject

public interface Objective extends OsidObject, Federateable

An Objective is a statable learning objective.

  • Method Details

    • hasAssessment

      boolean hasAssessment()
      Tests if an assessment is associated with this objective.
      Returns:
      true if an assessment exists, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getAssessmentId

      Id getAssessmentId()
      Gets the assessment Id associated with this learning objective.
      Returns:
      the assessment Id
      Throws:
      IllegalStateException - hasAssessment() is false
      Compliance:
      mandatory - This method must be implemented.
    • getAssessment

      Assessment getAssessment() throws OperationFailedException
      Gets the assessment associated with this learning objective.
      Returns:
      the assessment
      Throws:
      IllegalStateException - hasAssessment() is false
      OperationFailedException - unable to complete request
      Compliance:
      mandatory - This method must be implemented.
    • hasKnowledgeCategory

      boolean hasKnowledgeCategory()
      Tests if this objective has a knowledge dimension.
      Returns:
      true if a knowledge category exists, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getKnowledgeCategoryId

      Id getKnowledgeCategoryId()
      Gets the grade Id associated with the knowledge dimension.
      Returns:
      the grade Id
      Throws:
      IllegalStateException - hasKnowledgeCategory() is false
      Compliance:
      mandatory - This method must be implemented.
    • getKnowledgeCategory

      Grade getKnowledgeCategory() throws OperationFailedException
      Gets the grade associated with the knowledge dimension.
      Returns:
      the grade
      Throws:
      IllegalStateException - hasKnowledgeCategory() is false
      OperationFailedException - unable to complete request
      Compliance:
      mandatory - This method must be implemented.
    • hasCognitiveProcess

      boolean hasCognitiveProcess()
      Tests if this objective has a cognitive process type.
      Returns:
      true if a cognitive process exists, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getCognitiveProcessId

      Id getCognitiveProcessId()
      Gets the grade Id associated with the cognitive process.
      Returns:
      the grade Id
      Throws:
      IllegalStateException - hasCognitiveProcess() is false
      Compliance:
      mandatory - This method must be implemented.
    • getCognitiveProcess

      Grade getCognitiveProcess() throws OperationFailedException
      Gets the grade associated with the cognitive process.
      Returns:
      the grade
      Throws:
      IllegalStateException - hasCognitiveProcess() is false
      OperationFailedException - unable to complete request
      Compliance:
      mandatory - This method must be implemented.
    • getObjectiveRecord

      ObjectiveRecord getObjectiveRecord(Type objectiveRecordType) throws OperationFailedException
      Gets the objective bank record corresponding to the given 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.
      Parameters:
      objectiveRecordType - an objective record type
      Returns:
      the objective record
      Throws:
      NullArgumentException - objectiveRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(objectiveRecordType) is false
      Compliance:
      mandatory - This method must be implemented.