Interface Condition

All Superinterfaces:
Extensible, OsidCondition, Suppliable

public interface Condition extends OsidCondition

The Condition is used to input conditions into a rule execution.

  • Method Details

    • getConditionRecord

      ConditionRecord getConditionRecord(Type conditionRecordType) throws OperationFailedException
      Gets the condition record corresponding to the given Condition record Type . This method is used to retrieve an object implementing the requested record. The conditionRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(conditionRecordType) is true .
      Parameters:
      conditionRecordType - the type of condition record to retrieve
      Returns:
      the condition record
      Throws:
      NullArgumentException - conditionRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasConditionRecordType(conditionRecordType) is false
      Compliance:
      mandatory - This method must be implemented.