Interface InstructionCondition

All Superinterfaces:
Extensible, OsidCondition, Suppliable

public interface InstructionCondition extends OsidCondition

The InstructionCondition is used to input conditions into an instruction evaluation.

  • Method Details

    • getInstructionConditionRecord

      InstructionConditionRecord getInstructionConditionRecord(Type instructionConditionRecordType) throws OperationFailedException, PermissionDeniedException
      Gets the instruction condition record corresponding to the given InstructionkCondition record Type . This method is used to retrieve an object implementing the requested record. The instructionConditionRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(instructionConditionRecordType) is true .
      Parameters:
      instructionConditionRecordType - the type of instruction condition record to retrieve
      Returns:
      the instruction condition record
      Throws:
      NullArgumentException - instructionConditionRecordType is null
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure occurred
      UnsupportedException - hasRecordType(instructionConditionRecordType) is false
      Compliance:
      mandatory - This method must be implemented.